Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBGCXfJI005278 for ; Fri, 16 Dec 2016 07:33:41 -0500 From: Russell Coker To: selinux@tycho.nsa.gov Reply-To: russell@coker.com.au Subject: Another getcon() vs getcon_raw() issue in systemd Date: Fri, 16 Dec 2016 23:33:27 +1100 Message-ID: <4028608.pKKk40ccRB@russell.coker.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: http://selinux.tycho.nsa.narkive.com/cZUV3wmW/selinux-set-callback-problem The above URL has the archive of the last time I raised an issue like this. Thanks to Nicolas Iooss for pointing out the solution. type=USER_AVC msg=audit(1481891298.695:687055): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: denied { status } for auid=n/a uid=0 gid=0 cmdline="/lib/systemd/systemd-machined" scontext=system_u:system_r:systemd_machined_t:SystemLow tcontext=system_u:system_r:init_t:s0 tclass=system exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' Now in Debian/Unstable we have a similar issue with systemd 232-7 giving audit.log entries like the above. # sed -e s/SystemLow/s0/