/etc/init.d/cgconfig: depend() { need local } /etc/init.d/cgred: depend() { need cgconfig local use logger } libvirtd on my setup requires cgroups to be correctly set up prior to starting. This should be done by cgconfig, but fails due to the service ordering as described above. Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/libcgroup-0.37-r2 Actual Results: 1) cgconfig and cgred need local 2) cgconfig starts after local Expected Results: cgconfig starts before libvirtd (and by transitivity, before local) In /etc/conf.d/libvirtd I specified rc_need="cgconfig" to have the desired ordering, which gets ignored due to "need local"
The issue here is that both the cgconfig and cgred init scripts have "need local" in their dependencies. This should be dropped, because all services should run before local.
+ 03 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> -libcgroup-0.38.ebuild, + +libcgroup-0.38-r1.ebuild, -libcgroup-0.39_rc1.ebuild, + +libcgroup-0.39_rc1-r1.ebuild, files/cgconfig.initd, files/cgred.initd: + Remove dependency on 'local' initscript, wrt bug #424405, revbump