Canek Peláez Valdés <can...@gmail.com> wrote: > On Thu, Aug 1, 2013 at 4:43 AM, Walter Dnes <waltd...@waltdnes.org> wrote: > > On Wed, Jul 31, 2013 at 02:00:23AM -0500, Canek Peláez Valdés wrote > >> On Wed, Jul 31, 2013 at 1:24 AM, Daniel Campbell <li...@sporkbox.us> wrote: > > > >> You need an OpenRC use flag to install OpenRC init scripts? That's > >> simply a lie. > > > > An apology to Daniel might be in order. I start my USE flag with "-*". > > During a recent install, I found out "the hard way" that eudev (and udev) > > do not install their init scripts without the "openrc" flag. As you can > > see from the ebuild fragments below, they require the "openrc" flag to > > pull in sys-fs/udev-init-scripts > > > > From sys-fs/udev/udev-197-r8.ebuild > > =================================== > > PDEPEND=">=virtual/udev-197-r1 > > hwdb? ( >=sys-apps/hwids-20130114[udev] ) > > openrc? ( >=sys-fs/udev-init-scripts-19-r1 )" > > > > From sys-fs/eudev/eudev-1_beta4-r1.ebuild > > ========================================= > > PDEPEND=">=virtual/udev-180 > > openrc? ( >=sys-fs/udev-init-scripts-18 )" > > udev/eudev are special cases: the first is systemd with systemd > removed at make install time; the second is a fork of systemd with > systemd exorcised. The systemd package also uses the "openrc" USE flag > to install OpenRC init scripts; I hope you agree that it is also an > special case (systemd, which is a whole init system, provides init > scripts for another init system). The package sys-apps/kmod also uses > the "openrc" USE flag to install an init script, which "Create[s] [a] > list of required static device nodes for the current kernel". I have > no idea why this is necessary, but kmod is a dependency of systemd, > and the developers of both projects collaborate a lot between them. > > No other package in the tree uses an "openrc" USE flag (or at least > they don't appear in /usr/portage/profiles/use.local.desc), except for > plymouth, and that it's to install a plugin for OpenRC, not to install > its OpenRC scripts. > > So no package in the tree uses an "openrc" USE flag to install init > scripts, except for one somewhat related to systemd, two forks and/or > special handling of systemd, and systemd itself. In *ALL* the other > packages in the tree, the OpenRC init scripts are installed > unconditionally, as the systemd unit files are. > > And that's how it should be. > > Lastly, the ebuilds for udev/eudev should work out of the box in a > sane configuration. You have been told several times, both by users > and developers, that USE="-*" is not really supported; you broke your > system by using it, you get to keep the pieces. > > Gentoo is about choice (or so I keep hearing); that doesn't mean it > shouldn't strive to have sane defaults that keep the majority happy: > > http://blogs.gentoo.org/mgorny/2013/07/23/keeping-the-majority-happy/
So, I hope the package maintainers will create or install systemd units and init.d files so we can have the choice and not spend tons of time maintaining the system -- it gets to the point of being rediculous after a while. Systemd sounds nice, but its frustrating because of this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com