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

Bug 498206

Summary: =sys-apps/openrc-9999 - init.d/devfs.in: `fstabinfo -q $action /dev' fails
Product: Gentoo Hosted Projects Reporter: Amadeusz Sławiński <amade>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=492694
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 481182    

Description Amadeusz Sławiński 2014-01-15 21:34:08 UTC
So recent changes from 492694 work, but I recently needed to mount /dev according to fstab and had some problems, as it didn't seem to get mounted.

Mount line looks like this:
fstabinfo -q $action /dev
which I presume is wrong, after removing "-q" it works.

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2014-01-18 08:26:42 UTC
The -q option only affects whether or not messages are displayed; it
should have no affect on whether /dev is mounted or not.

Please undo what you did by removing -q then be more specific about the
"problems" that you had.

Thanks,

William
Comment 2 William Hubbs gentoo-dev 2014-01-18 08:33:34 UTC
Sorry about that, I am  looking further at fstabinfo...
Comment 3 William Hubbs gentoo-dev 2014-01-18 09:32:17 UTC
There is a bug in fstabinfo, but removing the -q isn't the fix.
That works, because the issue is that -q makes fstabinfo not try to
mount or remount filesystems when it should just not output information.

I'll write the fix in a few hours.
Comment 4 William Hubbs gentoo-dev 2014-01-18 20:08:05 UTC
This is fixed in commit de18640 and will be included in OpenRC-0.13.
In a nutshell, using the -q option on the command line would make
fstabinfo not process the mount/remount options. The fix here was to
process the mount/remount options, regardless of whether -q was given on
the command line.