Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 324609

Summary: sys-power/nut-2.4.3-r2 Can't find service 'mount-ro' needed by 'nut.powerfail'
Product: Gentoo Linux Reporter: David Flogeras <dflogeras2>
Component: [OLD] Core systemAssignee: Robin Johnson <robbat2>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: gentoo.bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info on the system in question

Description David Flogeras 2010-06-18 16:55:35 UTC
The following happens whenever caching services deps (I think):

ernie ~ # /etc/init.d/upsd status
 * Caching service dependencies ...
 *  Can't find service 'mount-ro' needed by 'nut.powerfail';  continuing  [ ok ]
 * status:  stopped


Reproducible: Always
Comment 1 David Flogeras 2010-06-18 16:56:25 UTC
Created attachment 235871 [details]
emerge --info on the system in question
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-23 02:00:40 UTC

*** This bug has been marked as a duplicate of bug 322083 ***
Comment 3 David Flogeras 2010-06-24 20:26:44 UTC
I am still seeing this happen, even though bug 322083 seems to be fixed and incorporated into the version for amd64.  please advise if you need more info.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-24 21:47:25 UTC
Did you do etc-update after reinstalling?
The mount-ro should not even be seen.
Comment 5 Richard Scott 2010-06-25 09:08:09 UTC
Perhaps its because mount-ro is outside the "if" statement:

depend() {
        # This is only for baselayout2
        if [ -f /etc/init.d/sysfs ]; then
                keyword -jail -lxc -openvz -prefix -uml -vserver -xenu -timeout
        fi
        need mount-ro
}

I've just installed it on an amd64 system and this is what I was presented with.

Rich
Comment 6 David Flogeras 2010-06-25 14:12:30 UTC
Yup, all up to date

(In reply to comment #4)
> Did you do etc-update after reinstalling?
> The mount-ro should not even be seen.
> 

Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-25 17:18:44 UTC
reopening
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-25 17:19:39 UTC
Ah, i read what i did for the previous bug more closely, and that was complaining about the keyword stuff, so I had just moved that.

the mount-ro is moved as well now, please sync, re-merge, etc-update and verify, then i'll consider a revbump.
Comment 9 David Flogeras 2010-06-25 20:53:21 UTC
Works as expected here now on both affected machines.  synced, re-emerged, etc-updated, then ran depscan.sh -u, no errors.  Thank you!