Package: mount
Version: 2.12r-19
Severity: normal
File: /sbin/swapon
I recently upgraded to lenny. Now, during boot, I see red "Failed" text
nestled in the middle of a (seemingly unrelated) line. A line or two
below that (which I'm assuming is the source of the red "Failed" text),
I see
swapon: /dev/hda2: Device or resource busy
However, after booting:
$ dmesg |grep swap
Adding 979956k swap on /dev/hda2. Priority:-1 extents:1 across:979956k
$ dmesg |grep -i fail
$
Looking at /etc/init.d/mountall.sh, I see:
#
# Execute swapon command again, in case we want to swap to
# a file on a now mounted filesystem.
#
# Ignore 255 status due to swap already being enabled
#
if [ "$VERBOSE" = no ]
then
log_action_begin_msg "Activating swapfile swap"
swapon -a -e 2>/dev/null || : # Stifle "Device or resource busy"
log_action_end_msg 0
else
log_daemon_msg "Will now activate swapfile swap"
swapon -a -e -v
log_action_end_msg $?
fi
I don't recall whether I saw "Activating swapfile swap" or "Will now
activate swapfile swap" although the former seems more familiar.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (600, 'testing'), (80, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to
en_US)
Shell: /bin/sh linked to /bin/bash
Versions of packages mount depends on:
ii libblkid1 1.40.2-1 block device id library
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libuuid1 1.40.2-1 universally unique id library
mount recommends no packages.
-- no debconf information
--
Bill Wohler <[EMAIL PROTECTED]> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]