Your message dated Wed, 06 Sep 2006 06:47:12 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#383123: fixed in sysvinit 2.86.ds1-16
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: initscripts
Version: 2.86.ds1-15
Severity: normal
Related to #383073, merge if you wish.
Please find attached a patch that extends /etc/init.d/mountnfs.sh to
also mount filesystems on network-accessed block devices, that cannot be
mounted when /etc/init.d/mountall.sh is run.
This was crafted for a system using ATA over Ethernet, but should apply
equally as well to one using NBD, or any other implementation for that
matter.
regards
Andrew
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages initscripts depends on:
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii e2fsprogs 1.38+1.39-WIP-2005.12.31-1 ext2 file system utilities and lib
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii lsb-base 3.0-15 Linux Standard Base 3.0 init scrip
ii mount 2.12r-6 Tools for mounting and manipulatin
initscripts recommends no packages.
-- no debconf information
--- /etc/init.d/mountnfs.sh.orig 2006-08-14 19:35:28.000000000 -0700
+++ /etc/init.d/mountnfs.sh 2006-08-14 19:50:53.000000000 -0700
@@ -36,6 +36,7 @@
portmap=no
gss_or_idmap=no
+ mount_netdev=no
while read DEV MTPT FSTYPE OPTS REST
do
case "$DEV" in
@@ -47,6 +48,9 @@
noauto|*,noauto|noauto,*|*,noauto,*)
continue
;;
+ _netdev|*,_netdev|_netdev,*|*,_netdev,*)
+ mount_netdev=yes
+ ;;
esac
case "$FSTYPE" in
nfs|nfs4)
@@ -151,6 +155,30 @@
fi
fi
fi
+ if [ "$mount_netdev" = yes ]; then
+ mount_all_netdev() { mount -a -O _netdev ; }
+ if [ "$VERBOSE" = no ]
+ then
+ MOUNT_OUT="$(LC_ALL=C mount_all_netdev)"
+ ES=$?
+ echo "$MOUNT_OUT" | sed -e '/already mounted/d' -e
'/nothing was mounted/d'
+ if [ 0 = "$ES" ] || [ 96 = "$ES" ] || [ 64 = "$ES" ]
+ then
+ log_action_end_msg 0
+ else
+ log_action_end_msg 1 "code $ES"
+ fi
+ else
+ mount_all_netdev
+ ES=$?
+ if [ 0 = "$ES" ] || [ 96 = "$ES" ] || [ 64 = "$ES" ]
+ then
+ log_success_msg "Done mounting remote
filesystems."
+ else
+ log_failure_msg "Mounting remote filesystems
failed with error code ${ES}."
+ fi
+ fi
+ fi
}
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.86.ds1-16
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.86.ds1-16_i386.deb
to pool/main/s/sysvinit/initscripts_2.86.ds1-16_i386.deb
sysv-rc_2.86.ds1-16_all.deb
to pool/main/s/sysvinit/sysv-rc_2.86.ds1-16_all.deb
sysvinit_2.86.ds1-16.diff.gz
to pool/main/s/sysvinit/sysvinit_2.86.ds1-16.diff.gz
sysvinit_2.86.ds1-16.dsc
to pool/main/s/sysvinit/sysvinit_2.86.ds1-16.dsc
sysvinit_2.86.ds1-16_i386.deb
to pool/main/s/sysvinit/sysvinit_2.86.ds1-16_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated sysvinit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 6 Sep 2006 15:29:01 +0200
Source: sysvinit
Binary: sysv-rc sysvinit initscripts
Architecture: source i386 all
Version: 2.86.ds1-16
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers
<[email protected]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description:
initscripts - Scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
Closes: 309813 348172 360123 374543 378182 378280 380602 383073 383123 383124
386063
Changes:
sysvinit (2.86.ds1-16) unstable; urgency=low
.
* Fix emergency mode's tty, making sure ^C and ^Z work when booting
with 'emergency' kernel option. Patch from Samuel
Thibault. (Closes: #374543)
* Rewrite usplash reactivation code in init.d/sendsigs to match the
code in Ubuntu. It need to behave the same way as the usplash
startup code, and should not match the code deciding if
usplash_write should be used.
* Change handling of CONCURRENCY in init.d/rc, to make sure an
unrecognized value is treated as 'none'. (Closes: #380602)
* Make sure SATA disks are powered down as well as IDE disks. Patch
from Sebastian Reichelt. (Closes: #348172)
* Mount /dev/shm, /sys, /proc and /proc/bus/usb using
noexec,nodev,nosuid to make it harder to misuse.
(Closes: #378182, #378280)
* Move NFS mounting to an if-up.d script, to make sure we try to
mount NFS file systems after the network is available. Based on
patch from Ubuntu. Modified to rewrite mountnfs.sh instead of
renaming it to waitnfs.sh. (Closes: #360123)
* Add rc.local support to be more compatible with non-Debian
distributions. Patch from Fabio M. Di Nitto via Ubuntu. Modified to
not print messages when VERBOSE=no.
* Drop and remove /etc/init.d/mountvirtfs. It is obsolete.
* Do not try to mount netdev file systems in mountall.sh.
(Closes: #383073, #386063)
* Mount netdev file systems when the network is up. (Closes: #383123)
* Umount netdev file systems in umountnfs.sh. (Closes: #383124)
* Remove obsolete code in init.d/rc to execute /sbin/unconfigured.sh
and /sbin/setup.sh. It was only to be used during installation,
and the installer no longer need it. Add a init.d script if you
need the functionallity.
* Change LSB dependency info for mtab.sh. It need a writable root
file system to update /etc/mtab, and should thus depend on
checkroot, not mountall.
* Move mtab to rcS.d/S12mtab.sh, to make sure it is the first script
to run after checkroot.sh.
* Change init.d/mtab.sh to be more self-contained, and update
/etc/mtab with info on all file systems mounted before /etc/mtab
was writable by processing /proc/mounts. Based on patch from
Scott James Remnant and Ubuntu.
* Add empty functions pre_mountall and post_mountall to reduce the
difference between the Ubuntu version
* Modify update-rc.d to run properly with perl error checking enabled.
* Add support for parsing LSB headers in update-rc.d, and use the
runlevel information in the default-start and default-stop headers
if they are present. Document this in update-rc.d(8). This can
be used instead of the 'multiuser' extention in Ubuntu, by setting
the 'default-stop' value to '1' in the init.d script.
Only enable this feature when /etc/update-rc.d-lsbparse exist
while we verify that LSB headers are correct.
* Change the default VERBOSE value from yes to no.
* Move init.d/hostname.sh to the very top of the boot sequence,
as it only require a readable /etc/hostname and a working kernel.
* Use the stop scripts from the runlevel we are leaving, not the one
we are entering, when switching between runlevels. (Closes: #309813)
Files:
03619222949020d4cc475bdf3d6a0437 894 admin required sysvinit_2.86.ds1-16.dsc
9dbcc90f0fb18a388f469ef1f6b5e770 125849 admin required
sysvinit_2.86.ds1-16.diff.gz
56feb266cc7e2a166308339b73fe5efe 125236 admin required
sysvinit_2.86.ds1-16_i386.deb
00b779dc89c2fff5cf0240088fabd7fc 51914 admin required
initscripts_2.86.ds1-16_i386.deb
364b70d919f63dcb8d505f3f185494cc 50738 admin required
sysv-rc_2.86.ds1-16_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE/s7320zMSyow1ykRAqTEAJ9KuHJBlx0dNh7LEb5royhUXeaNlQCgwHc7
IAMVtfWUDETfcj/DL+PCgtU=
=A/h9
-----END PGP SIGNATURE-----
--- End Message ---