Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185640 - baselayout-2.0.0_alpha4 not honoring RC_STRICT_DEPEND for net
Summary: baselayout-2.0.0_alpha4 not honoring RC_STRICT_DEPEND for net
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 07:00 UTC by Robert Führicht
Modified: 2007-07-21 12:51 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 Robert Führicht 2007-07-17 07:00:13 UTC
eth0 is handled by ifplugd, RC_STRICT_DEPEND is set to 'no', and no cable is plugged in.
I'd expect services depending on 'net' to be satisfied with net.lo - this worked in _alpha3...

Now it just tells me this: (not the exact message, I'm writing this from a windows computer)

$ /etc/init.d/samba start
WARNING: samba will be started as soon as net.eth0 is up
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-07-18 15:50:21 UTC
So net.eth0 is not in any runlevel ..... is it coldplugged?
Comment 2 Robert Führicht 2007-07-19 11:20:42 UTC
yes, it is. I'll try if it makes a difference if I put it in default...
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-07-19 11:35:55 UTC
No no, it won't work :)

I suppose the question should be, should we let coldplugged services satisfy dependencies and should this be configurable? Should RC_STRICT_DEPEND cater for this?
Comment 4 Matt 2007-07-19 19:08:03 UTC
I have a similar error it's not directly the same but closely related to it honoring of order of dependencies:

could you please fix the order / handling of encrypted partitions ?

my /home is not mounted (more detail: it doesn't ask for cryptsetup LuksOpen password & tries to mount it that way) 

http://forums.gentoo.org/viewtopic-p-4150945.html#4150945

many thanks in advance
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-07-19 19:27:34 UTC
(In reply to comment #4)
> could you please fix the order / handling of encrypted partitions ?

Open a new bug for that and assign to strerror@gentoo.org please. And include full details, don't reference forum threads.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-07-21 12:51:27 UTC
I've added a patch to our svn that should fix this. Here's the changelog entry.

    RC_DEPEND_STRICT now controls dependency strictness.
    If yes then we only use services in the boot and default runlevels,
    regradless of service state.
    If no then we take into account coldplugged services and the state
    of currently running services.
    Fixes #185640.

So in your situation you would set RC_DEPEND_STRICT=yes and allow net.eth0 to be coldplugged. Then you can restart net.eth0 and it won't affect any other services.