Bug 65404 - Automounting of ncp connections are taking place at the wrong time in system init.
Summary: Automounting of ncp connections are taking place at the wrong time in system ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.3
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-23 08:34 UTC by Anders Norrbring
Modified: 2007-04-18 16:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-19 22:28:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Anders Norrbring 2002-05-23 08:34:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
I'm running several ncp connections when starting up the computer, and have 
noticed lots of error messages on the console, in dmesg and boot.log...  So I 
started to go through init procedures in netfs, which to me looks perfectly 
OK, but in rc.sysinit you've made a little miss. When looking in it, I found:

# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,
# filesystems are NOT unmounted in single user mode.
action $"Mounting local filesystems: " mount -a -t nonfs,smbfs,ncpfs -O 
no_netdev

Which isn't really true.. If I include the ncp mounts in fstab, then they will 
be initialised there too, although the network interface isn't brought up yet.

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


How reproducible:
Always

Steps to Reproduce:

Just add a ncp mount in fstab for auto mounting.

Expected Results:  The ncp mounts should take place in /etc/rc.d/init.d/netfs 
which they do (also...) AFTER the network is up and running.

Additional info:

I easily fixed the problem by simply adding noncp in rc.sysinit, so now it 
reads:

# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,
# filesystems are NOT unmounted in single user mode.
action $"Mounting local filesystems: " mount -a -t nonfs,noncp,smbfs,ncpfs -O 
no_netdev

Comment 1 Florian La Roche 2003-02-08 22:35:25 UTC
re-assigning to initscripts

Florian La Roche


Comment 2 Bill Nottingham 2003-02-09 04:39:21 UTC
-a -t noXXX,YYY,ZZZ

The 'no' applies to all three of XXX, YYY, and ZZZ. If it's trying to mount
YYY or ZZZ, either mount is broken, or it's docs are.

Comment 3 Elliot Lee 2003-02-19 22:28:08 UTC
With the util-linux in rawhide, if I make an fstab line:
asdf  blah  ncp  defaults  0 0
...then a 'mount -a -t nonfs,ncp' does not try to mount the ncp thing.

So I will assume this was fixed by upstream util-linux, unless someone can
reproduce it on a Phoebe beta.


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