Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135118 - baselayout's cleanup of /var/run, resolvconf and parallel startup problem
Summary: baselayout's cleanup of /var/run, resolvconf and parallel startup problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 02:08 UTC by Oldrich Jedlicka
Modified: 2006-06-05 07:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oldrich Jedlicka 2006-06-01 02:08:17 UTC
When the base system is starting up, the directory /var/run is cleaned up (in bootmisc). The problem is when for example net.lo is started in parallel and resolvconf is being used. There is no dependency specified between net.lo and bootmisc, so resolvconf's /var/run/resolvconf/* files get updated in net.lo and can be deleted afterwords by bootmisc (and it got deleted several times on my machine).

1) I tried to fix this with putting 'before net' in bootmisc, but this doesn't work, because the dependency checking for 'net' needs to call `valid_iafter net' in svc_start() in runscript.sh.

Note: Nice example of `valid_iafter net' has been used already in rc-services.sh in function trace_dependencies().

2) I modified directly net.lo to have `after bootmisc' in dependencies. This works perfectly.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-06-02 08:11:12 UTC
Yeah, that's an error. Will fix for 1.12.1
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-06-05 07:35:07 UTC
Fixed in baselayout-1.12.1