--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initscripts: ncpfs should be ncp on mountnfs-sh and mountall.sh
- From: Ernesto Domato <ernesto@domato.com.ar>
- Date: Tue, 27 Apr 2004 23:10:06 -0300
- Message-id: <20040428021007.6817.qmail@ernestodomato.com.ar>
Package: initscripts
Version: 2.85-15
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have some NetWare servers at work and when I try to configure fstab so
the volumes from those servers are mounted when the system boots I find
that they didn't success. So, looking around I found that the manpage
for ncpmount from ncpfs packages states:
/etc/fstab
You must specify filesystem type ncp and not ncpfs
although it is reported as
ncpfs in /etc/mtab and /proc/mounts.
so you should change the test for this type of filesystem if you want it
to work on mountall.sh and mountnfs.sh scripts.
The patch provided here fix this problem.
Greettings.
Ernesto
- -- System Information:
Debian Release: 3.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-1-686
Locale: LANG=spanish, LC_CTYPE=spanish (ignored: LC_ALL set to es_ES)
Versions of packages initscripts depends on:
ii coreutils 5.0.91-2 The GNU core utilities
ii dpkg 1.10.20 Package maintenance system for Deb
ii e2fsprogs 1.27-2 The EXT2 file system utilities and
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii mount 2.11n-4 Tools for mounting and manipulatin
ii util-linux 2.11n-4 Miscellaneous system utilities.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAjxJ+64JbGbW+SRYRAqFEAJ9QnStO0mlybZp/Lh0QKJebnKiixACdE2lh
5aI/r+LB5Xmu14O2mtp6xMI=
=djOS
-----END PGP SIGNATURE-----
--- mountnfs.sh.old 2004-03-30 17:55:18.000000000 -0300
+++ mountnfs.sh 2004-04-27 22:40:15.000000000 -0300
@@ -71,7 +71,7 @@
then
mount_coda=yes
fi
- if [ "$fstype" = ncpfs ]
+ if [ "$fstype" = ncp ]
then
mount_ncp=yes
fi
@@ -97,7 +97,7 @@
[ "$mount_nfs4" = yes ] && mount -a -t nfs
[ "$mount_smb" = yes ] && mount -a -t smbfs
[ "$mount_coda" = yes ] && mount -a -t coda
- [ "$mount_ncp" = yes ] && mount -a -t ncpfs
+ [ "$mount_ncp" = yes ] && mount -a -t ncp
fi
) < /etc/fstab
--- mountall.sh.old 2004-03-31 07:30:41.000000000 -0300
+++ mountall.sh 2004-04-27 22:39:50.000000000 -0300
@@ -13,7 +13,7 @@
# Mount local file systems in /etc/fstab.
#
[ "$VERBOSE" != no ] && echo "Mounting local filesystems..."
-mount -av -t nonfs,nonfs4,nosmbfs,noncpfs,nocoda 2>&1 |
+mount -av -t nonfs,nonfs4,nosmbfs,noncp,nocoda 2>&1 |
egrep -v '(already|nothing was) mounted'
case `uname -s` in
--- End Message ---