On Wed, Dec 4, 2013 at 8:03 AM, Shawn Landden <sh...@churchofgit.com> wrote: > On Sun, Dec 1, 2013 at 3:31 AM, Tetsuo Handa > <from-tomoyo-dev...@i-love.sakura.ne.jp> wrote: >> Hello Shawn. >> >> I applied below patches with some modification, for I thought we should not >> remove (e.g.) /usr/sbin/sshd from initialize_domain entries (even if the >> system uses systemd) in case (e.g.) /usr/sbin/sshd is directly executed from >> the shell. >> >> [PATCH 1/2] init_policy: drop unneededexceptions when systemd installed > When systemd is installed, it actually hijacks /etc/init.d/* scripts > to run systemd, so they > get run by systemd even if called from the shell. So this patch, with > the exception of direct binary execution > like the /usr/sbin/sshd example you gave, should still, IMHO, be applied.
It can do this becuase most of those scripts do this: . /lib/lsb/init-functions which is then hooked by systemd >> [PATCH 2/2] init_policy: add Debian multi-archlib directories to >> make_ldconfig_readable_files() > thanks >> [PATCH] init_policy: do not let 'systemctldaemon-reexec' confuse tomoyo > your modification is fine. >> >> If you have problems with my modification, please let me know. >> >> Thank you. >> >> _______________________________________________ >> tomoyo-dev-en mailing list >> tomoyo-dev-en@lists.sourceforge.jp >> http://lists.sourceforge.jp/mailman/listinfo/tomoyo-dev-en _______________________________________________ tomoyo-dev-en mailing list tomoyo-dev-en@lists.sourceforge.jp http://lists.sourceforge.jp/mailman/listinfo/tomoyo-dev-en