/var/run can be mounted tmpfs and cleared during a reboot. Hence, programs (or their init scripts) should not rely on dirs under /var/run and should create them if necessary instead. prelude-manager fails to start when /var/run/prelude-manager is missing: Aug 25 15:17:51 east prelude-manager: ERROR: could not open /var/run/prelude-manager for reading/writing. (manager-auth.c:677 manager_auth_init) The attached init script creates the missing dir if necessary. For you ref: --- files/gentoo.init.old 2009-04-13 00:06:42.000000000 +0300 +++ files/gentoo.init 2010-08-25 16:19:20.000000000 +0300 @@ -9,7 +9,14 @@ need net } +checkconfig() { + if [ ! -e "/var/run/${PROGNAME}" ]; then + checkpath -q -d -o root:root -m 0755 "/var/run/${PROGNAME}" || return 1 + fi +} + start() { + checkconfig || return 1 Reproducible: Always
Created attachment 244539 [details] gentoo.init
Prelude was removed from tree