SELinux Archive on
 help / color / Atom feed
From: "Christian Göttsche" <>
Subject: Re: Odd systemd source context for non pid 1 process
Date: Thu, 7 Nov 2019 17:26:53 +0100
Message-ID: <> (raw)
In-Reply-To: <20191106164811.GB1528184@brutus.lan>

All-clear, nothing was wrong:

* systemd runs in pid 1
* to start a service systemd fork()'s
* child has same SELinux label but different pid
* systemd internally replaces the program name of the child, so the
proctitle is no longer 'systemd' but '(#name of service to start#)',
with these brackets
* after creating the environment, the child exec's into the service
daemon, thereby keeping the pid but changing the SELinux label and the
proctitle (brackets disappear)

      reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 19:02 Christian Göttsche
2019-11-05 19:19 ` Stephen Smalley
2019-11-06 16:42   ` Christian Göttsche
2019-11-06 16:48     ` Dominick Grift
2019-11-07 16:26       ` Christian Göttsche [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

SELinux Archive on

Archives are clonable:
	git clone --mirror selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ \
	public-inbox-index selinux

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone