Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104704 - prelude-manager try to access /var/lib/run instead of /var/run
Summary: prelude-manager try to access /var/lib/run instead of /var/run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 05:36 UTC by Laurento Frittella (mrfree)
Modified: 2005-12-02 08:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against prelude-manager-0.9.0.ebuild to fix incorrect rundir (prelude-manager-0.9.0.ebuild.patch,662 bytes, patch)
2005-11-07 05:24 UTC, Peter Fern
Details | Diff
ebuild to fix /var/run and /var/spool problems (prelude-manager-0.9.1.ebuild,1.38 KB, text/plain)
2005-12-02 06:06 UTC, Luca Merolla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2005-09-03 05:36:06 UTC
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.
Comment 1 rob holland (RETIRED) gentoo-dev 2005-09-21 04:35:12 UTC
Me and Yoann are investigating the best fix for this.
Comment 2 rob holland (RETIRED) gentoo-dev 2005-10-25 06:45:00 UTC
best to change:

econf ${myconf}
to:
econf ${myconf} --localstatedir=/var
Comment 3 Peter Fern 2005-11-07 05:24:19 UTC
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?
Comment 4 Marco Morales 2005-11-12 20:08:34 UTC
thanks guys, fixed
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2005-11-25 18:19:47 UTC
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.
Comment 6 Luca Merolla 2005-12-02 06:06:49 UTC
Created attachment 73942 [details]
ebuild to fix /var/run and /var/spool problems
Comment 7 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-12-02 08:22:15 UTC
in cvs. Thanks reporting