Bug 309001 - Service netfs provides $local_fs
Summary: Service netfs provides $local_fs
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
Reported: 2007-09-27 13:47 UTC by Thomas Woerner
Modified: 2014-03-17 03:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-09-28 13:48:23 UTC

Attachments (Terms of Use)

Description Thomas Woerner 2007-09-27 13:47:56 UTC
Description of problem:
Why is $local_fs provided by /etc/init.d/netfs. netfs mounts network filesystems

Version-Release number of selected component (if applicable):

How reproducible:

Actual results:
All services, which depend on $local_fs get delayed after netfs.

Comment 1 Bill Nottingham 2007-09-27 14:06:53 UTC
1) it mounts any local file systems that are layered on top of network filesystems
2) as anything that needs things from /usr needs to require $remote_fs anyway,
it all is lost in the wash. (See

Comment 2 Thomas Woerner 2007-09-28 09:47:17 UTC
Shouldn't rc.sysinit provide $local_fs as it mounts local filesystems? As
rc.sysinit is no init script, $local_fs should probably be provided by a placebo
init script (S00) or by init itself.

As netfs requires networking and network filesystems to embed local filesystems
with the _netdev option, I'd suggest that netfs provides $remote_fs only.

I think that the line '[ "${NETWORKING}" = "no" ] && exit 0' should be replaced
by 'Requires: $network' in the LSB header (or at least added to be LSB conform).

Comment 3 Bill Nottingham 2007-09-28 13:48:23 UTC
No, you could have /usr network and /usr/local local - netfs is the script that
ends up mounting /usr/local. Moreover, any script that is requiring $localfs for
/usr needs to end up requiring $remote_fs anyways. So there really isn't
anything that can be done in the current framework.

Comment 4 Thomas Woerner 2007-09-28 14:20:14 UTC
iptables and ip6tables needs the environment, which is prepared and needed by
rc.sysinit (which mounts local filesystems).
There are also other services, which need to access files in /etc, /bin, /sbin
and /var, which do not depend on networking: e.g. cpuspeed, kudzu and

Comment 5 Bill Nottingham 2007-09-28 14:22:28 UTC
Then... don't have a dep. /etc, /bin, and /sbin are implied, and you can get
away without a specific requirement for /var.

Note You need to log in before you can comment on or make changes to this bug.