Skip to contentSkip to conversation

With systemd taking care of starting services, is there any reason to continue to ship run_init?

DISCUSSION Daniel J Walsh 3 participants 3 messages Nov 5, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

systemctl start SERVICE

Will start the service cleanly as the correct context, I want to remove this command from systemd enabled systems. Any one know of a reason to not do this? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCX7pwACgkQrlYvE4MpobMLvACg5DapQVKzSyAJap3BhoZP5VCu Ta0AoIezKMPvDphMb/GLgaEabk/wjQSq
=+LJG
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · Daniel J Walsh

systemctl start SERVICE

Will start the service cleanly as the correct context, I want to remove this command from systemd enabled systems. Any one know of a reason to not do this?

No, sounds right to me.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
In reply to Daniel J Walsh
Quoted 8 lines · Daniel J Walsh

systemctl start SERVICE

Will start the service cleanly as the correct context, I want to remove this command from systemd enabled systems. Any one know of a reason to not do this? --
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

Keep in mind that run_init is also used in other scenarios

for example:

newaliases
rpm/yum

If you have ubac enabled and you run yum install app without run_init as sysadm_t then some of the installed files might end up with a identity that ubac constrained domains might not be allowed to access and that might break functionality.

Also keep in mind that upstart is still available in the repository and people might decide to use that instead of systemd

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.