[Pkg-sysvinit-devel] Bug#764973: initscripts: "mount all filesystems" is an inaccurate message
Arthur Marsh
arthur.marsh at internode.on.net
Sun Oct 12 17:12:52 UTC 2014
Package: initscripts
Version: 2.88dsf-53.4
Severity: minor
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I just noticed the message "Will mount all filesystems".
It should probably have some qualification such as "in /etc/fstab"
as I have a hard disk installed in this machine with file systems on it
that I have not listed in /etc/fstab as I do not wish to mount those file
systems and they are (correctly) not mounted by mounted by checkfs.sh.
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.17.0 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initscripts depends on:
ii coreutils 8.23-2
ii debianutils 4.4
ii libc6 2.19-11
ii lsb-base 4.1+Debian13
ii mount 2.25.1-4
ii sysv-rc 2.88dsf-53.4
ii sysvinit-utils 2.88dsf-53.4
Versions of packages initscripts recommends:
ii e2fsprogs 1.42.12-1
ii psmisc 22.21-2
initscripts suggests no packages.
-- Configuration Files:
/etc/default/rcS changed:
VERBOSE=yes
/etc/init.d/mountall.sh changed:
PATH=/sbin:/bin
. /lib/init/vars.sh
. /lib/init/tmpfs.sh
. /lib/lsb/init-functions
. /lib/init/mount-functions.sh
. /lib/init/swap-functions.sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG
fi
do_start() {
#
# Mount local file systems in /etc/fstab.
#
mount_all_local() {
mount -v -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2,ceph \
-O no_netdev
}
pre_mountall
if [ "$VERBOSE" = no ]
then
log_action_begin_msg "Mounting local filesystems"
mount_all_local
log_action_end_msg $?
else
log_daemon_msg "Will now mount local filesystems"
mount_all_local
log_end_msg $?
fi
post_mountall
# We might have mounted something over /run; see if
# /run/initctl is present. Look for
# /usr/share/sysvinit/update-rc.d to verify that sysvinit (and
# not upstart) is installed).
INITCTL="/run/initctl"
if [ ! -p "$INITCTL" ] && [ -f "/usr/share/sysvinit/update-rc.d" ]; then
# Create new control channel
rm -f "$INITCTL"
mknod -m 600 "$INITCTL" p
# Reopen control channel.
PID="$(pidof -s /sbin/init || echo 1)"
[ -n "$PID" ] && kill -s USR1 "$PID"
fi
# Execute swapon command again, in case we want to swap to
# a file on a now mounted filesystem.
swaponagain 'swapfile'
# Remount tmpfs filesystems; with increased VM after swapon,
# the size limits may be adjusted.
mount_run mount_noupdate
mount_lock mount_noupdate
mount_shm mount_noupdate
# Now we have mounted everything, check whether we need to
# mount a tmpfs on /tmp. We can now also determine swap size
# to factor this into our size limit.
mount_tmp mount_noupdate
}
case "$1" in
start|"")
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
*)
echo "Usage: mountall.sh [start|stop]" >&2
exit 3
;;
esac
:
/etc/init.d/reboot changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
. /lib/lsb/init-functions
do_stop () {
# Message should end with a newline since kFreeBSD may
# print more stuff (see #323749)
log_action_msg "Will now restart"
echo "after 10 seconds"
sleep 10
reboot -d -f -i
}
case "$1" in
start)
# No-op
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
do_stop
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
-- debconf-show failed
More information about the Pkg-sysvinit-devel
mailing list