I'm using app-admin/prelude-manager-0.9.0_rc8 when I try to start it with # prelude-manager - Subscribing db[default] to active reporting plugins. - Subscribing TextMod[default] to active reporting plugins. manager-auth.c:manager_auth_init:546: could not open /var/lib/run/prelude-manager for reading/writing. I need to run: # mkdir /var/run/prelude-manager # ln -s /var/run/ /var/lib/run I can't find any option in config file or commandline parameters to set /var/run instead of /var/lib/run. If it's so probably we need a little gentoo-prelude.patch to adjust this path ;) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Me and Yoann are investigating the best fix for this.
best to change: econf ${myconf} to: econf ${myconf} --localstatedir=/var
Created attachment 72363 [details, diff] patch against prelude-manager-0.9.0.ebuild to fix incorrect rundir Apply the attached patch to fix the problem... ebuild should be updated?
thanks guys, fixed
The patch is wrong. Now its going to try and use /var/run/run. Rob's suggestion is the one you should go with. The dodir is still needed, so just change the myconf to: myconf="${myconf} --localstatedir=/var/" Also, you need to add a keepdir at the end so /var/run/prelude-manager doesn't get removed.
Created attachment 73942 [details] ebuild to fix /var/run and /var/spool problems
in cvs. Thanks reporting