[Pkg-sysvinit-devel] Bug#490893: initscripts: reboot fails to unmount '/'

Subhashis Roy subhashis3 at fastmail.fm
Mon Sep 15 09:42:43 UTC 2008


Package: initscripts
Version: 2.86.ds1-61
Followup-For: Bug #490893

Hi,

I find that also for me, 'umount' complains at the end of reboot '/ busy' 
and for each reboot, journal recovery for '/' is needed (ext3
filesystem).

Following one of the suggestions in one bug report, I added 
'fuser -vm / >> /root/umount.root.err; sync' and found that
'portmap' is still running causing the message that root partition is
busy.
I checked that '/etc/init.d/portmap stop' does stop portmap (in
'/etc/rc6.d/', portmap is linked as 'S32portmap'). Also doing
"telinit 1" and then "mount -v -o remount,ro /"
does work fine.

Therefore, I believe the 'reboot' script is not being able to work
properly and I am filling a bug report.
I also believe if a process is still running near the end of 'reboot' it
should get killed by 'force (e.g., killall5)' (unmounting filesystems to
prevent data loss is more important than keeping a process running).

Since this bug could cause data loss, I am putting its severity as
Grave.

Note that I am noticing this only after an upgrade from Etch.
The desktop machine I am using is an HP dc7800 minitower with E8400
intel cpu core 2 duo. (It has 2 500 GB hard disks, from which
'/dev/sdb1' is used as Root partition and '/dev/sda1...' are used for
Home and Data). 
I have attached the message 'fuser -vm /' creates at the time 'umount' fails
to unmount '/'. I have also attached the content of '/proc/mounts'.

Subhashis


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                  2.30        Miscellaneous utilities specific t
ii  e2fsprogs                    1.41.0-3    ext2/ext3/ext4 file system utiliti
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  mount                        2.13.1.1-1  Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-61 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

initscripts suggests no packages.

-- no debconf information


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                  2.30        Miscellaneous utilities specific t
ii  e2fsprogs                    1.41.0-3    ext2/ext3/ext4 file system utiliti
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  mount                        2.13.1.1-1  Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-61 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

initscripts suggests no packages.

-- no debconf information
-------------- next part --------------
                     USER        PID ACCESS COMMAND
/:                   root          1 .rce. init
                     root          2 .rc.. kthreadd
                     root          3 .rc.. migration/0
                     root          4 .rc.. ksoftirqd/0
                     root          5 .rc.. watchdog/0
                     root          6 .rc.. migration/1
                     root          7 .rc.. ksoftirqd/1
                     root          8 .rc.. watchdog/1
                     root          9 .rc.. events/0
                     root         10 .rc.. events/1
                     root         11 .rc.. khelper
                     root         44 .rc.. kblockd/0
                     root         45 .rc.. kblockd/1
                     root         47 .rc.. kacpid
                     root         48 .rc.. kacpi_notify
                     root        138 .rc.. kseriod
                     root        179 .rc.. pdflush
                     root        180 .rc.. pdflush
                     root        181 .rc.. kswapd0
                     root        182 .rc.. aio/0
                     root        183 .rc.. aio/1
                     root        823 .rc.. ksuspend_usbd
                     root        824 .rc.. khubd
                     root        864 .rc.. ata/0
                     root        865 .rc.. ata/1
                     root        866 .rc.. ata_aux
                     root        959 .rc.. scsi_eh_0
                     root        960 .rc.. scsi_eh_1
                     root       1050 .rc.. scsi_eh_2
                     root       1051 .rc.. scsi_eh_3
                     root       1460 .rc.. kjournald
                     root       2178 .rc.. kpsmoused
                     daemon     2845 Frce. portmap
                     root       3077 .rc.. kondemand/0
                     root       3079 .rc.. kondemand/1
                     root       4799 .rc.. kstriped
                     root       4835 frce. rc
                     root       5223 frce. S60umountroot
-------------- next part --------------
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,size=10240k,mode=755 0 0
/dev/sdb1 / ext3 rw,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/sda2 /home ext3 rw,errors=continue,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0


More information about the Pkg-sysvinit-devel mailing list