Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498206 - =sys-apps/openrc-9999 - init.d/devfs.in: `fstabinfo -q $action /dev' fails
Summary: =sys-apps/openrc-9999 - init.d/devfs.in: `fstabinfo -q $action /dev' fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 481182
  Show dependency tree
 
Reported: 2014-01-15 21:34 UTC by Amadeusz Sławiński
Modified: 2014-01-18 20:08 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 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.