On Wed, 31 Jul 2013 19:54:54 +0100, Stroller wrote: > > If you use systemd, all the files installed in /etc/init.d (except > > functions.sh) don't actually do nothing. > > Right, which is a bit freakin' odd, because on most every previous > distro and other *nix system, that's where the system administrator > goes to start and stop services.
And that is why it is possible to have systemd and openrc installed at the same time, because they keep their service files in completely different locations. > If they're not used, in this case, I don't think they should be > installed. Which is where this thread started, should every daemon package have a couple of extra USE flags just to decide which, or both, of the service manager files to install. Then you'd probably need some eclass code to determine that you have at least one of those USE flags enabled, and maybe some code to forbid both on packages that don't work with both service managers installed. Or you could allow each server's ebuild to install one redundant small file, bearing in mind that a different file may be redundant for the next user. So let the ebuild install both files and those of use with excessive OCD tendencies, or very limited storage, can use INSTALL_MASK t exclude not only the redundant service files but a lot more besides. -- Neil Bothwick Octal: (n.) a base-8 counting system designed so that one hand may count upon the fingers of the other. Thumbs are not used, and the index finger is reserved for the 'carry.'
signature.asc
Description: PGP signature

