Bug 309001

Summary: Service netfs provides $local_fs
Product: [Fedora] Fedora Reporter: Thomas Woerner <twoerner>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: rvokal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-28 13:48:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235704    

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.