[apparmor] How should one run aa-enforce with systemd?
Aaron Lewis
the.warl0ck.1989 at gmail.com
Tue Aug 12 00:32:48 UTC 2014
%> systemctl status nscd
● nscd.service - Name Service Cache Daemon
Loaded: loaded (/etc/systemd/system/nscd.service; enabled)
Active: active (running) since Tue 2014-08-12 08:25:49 CST; 24s ago
Process: 2338 ExecStart=/usr/sbin/nscd (code=exited, status=0/SUCCESS)
Process: 2315 ExecStartPre=/usr/sbin/aa-enforce
/etc/apparmor.d/usr.sbin.nscd (code=exited, status=0/SUCCESS)
Main PID: 2341 (nscd)
CGroup: /system.slice/nscd.service
└─2341 /usr/sbin/nscd
Aug 12 08:25:49 WIN-O2KTWC7XBU aa-enforce[2315]: Use of uninitialized
value $ENV{"TERM"} in hash element at /usr/lib... 371.
Aug 12 08:25:49 WIN-O2KTWC7XBU aa-enforce[2315]: Setting
/etc/apparmor.d/usr.sbin.nscd to enforce mode.
Hint: Some lines were ellipsized, use -l to show in full.
So aa-enforce uses the GNU readline library, and that $TERM
environment variable is harmless here.
But it still looked annoying
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
More information about the AppArmor
mailing list