Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225207 - sys-apps/openrc does not handle two levels of inactive services
Summary: sys-apps/openrc does not handle two levels of inactive services
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 10:39 UTC by Georgi Georgiev
Modified: 2008-10-07 15:00 UTC (History)
2 users (show)

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


Attachments
Fix the issue (openrc-inactivefallthrough.diff,4.57 KB, patch)
2008-06-10 15:03 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2008-06-07 10:39:48 UTC
I have:

chutz@wolf ~ $ cat /etc/conf.d/rpc.idmapd 
rc_need="net"
chutz@wolf ~ $ eselect rc list | egrep net\\.\|nfsmount
  net.ath0                  default
  net.eth0                  
  net.lo                    boot
  nfsmount                  default

When I boot I get the following (copying manually the output):

net.ath0: Backgrounding...
net.ath0: WARNING: net.ath0 has started but is inactive
rpc.idmapd: WARNING: rpc.idmapd is scheduled to start when net.ath0 has started
nfsmount: ERROR: cannot start nfsmount as rpc.idmapd would not start

Shouldn't nfsmount get scheduled to start when rpc.idmapd has started?

This is with openrc-git-e640fdc5 and rc_parallel="YES".
Comment 1 Roy Marples 2008-06-07 10:44:06 UTC
I'm curious - does it work as expected if rc_parallel=NO?
Comment 2 Georgi Georgiev 2008-06-07 11:12:09 UTC
(In reply to comment #1)
> I'm curious - does it work as expected if rc_parallel=NO?
> 

No. I get the exact same output.
Comment 3 Roy Marples 2008-06-10 15:03:45 UTC
Created attachment 156251 [details, diff]
Fix the issue

This should fix it.
Comment 4 Georgi Georgiev 2008-06-11 14:08:07 UTC
(In reply to comment #3)
> Created an attachment (id=156251) [edit]
> Fix the issue
> 
> This should fix it.
> 

Indeed, it seems that it does.

I did not really try the patches but rebuilt the git build that I was already running and it was fine (git-a89b98bc).

I can only assume that the next release will be fine.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-10-07 15:00:38 UTC
Fixed in 0.3.0.