Your message dated Tue, 10 Jan 2012 15:18:06 +0000
with message-id <[email protected]>
and subject line Re: Bug#584611: mtab.sh does not correctly set fs type for 
devtmpfs
has caused the Debian Bug report #584611,
regarding mtab.sh does not correctly set fs type for devtmpfs
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
584611: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584611
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-7
Severity: normal

Hi,

hopefully #494001 will be fixed some time in the near future and we can
get rid of the horribly hack that is mtab.sh.
Until that happens, it should at least correctly handle the new devtmpfs
type, that is used by default in squeeze for /dev. See:

# mount | grep "/dev "
udev on /dev type tmpfs (rw,mode=0755)

vs

# grep "/dev " /proc/mounts
none /dev devtmpfs rw,relatime,size=382492k,nr_inodes=95623,mode=755 

The "tmpfs" type for /dev in mtab is not correct, whereas /proc/mounts
shows the correct info.

Cheers,
Michael

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  debianutils                   3.2.3      Miscellaneous utilities specific t
ii  libc6                         2.11.1-2   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  mount                         2.17.2-2   Tools for mounting and manipulatin
ii  sysv-rc                       2.88dsf-7  System-V-like runlevel change mech
ii  sysvinit-utils                2.88dsf-7  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.12-2  ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.11-1    utilities that use the proc file s

initscripts suggests no packages.

-- Configuration Files:
/etc/init.d/halt changed:
NETDOWN=yes
PATH=/sbin:/usr/sbin:/bin:/usr/bin
[ -f /etc/default/halt ] && . /etc/default/halt
. /lib/lsb/init-functions
do_stop () {
        if [ "$INIT_HALT" = "" ]
        then
                case "$HALT" in
                  [Pp]*)
                        INIT_HALT=POWEROFF
                        ;;
                  [Hh]*)
                        INIT_HALT=HALT
                        ;;
                  *)
                        INIT_HALT=POWEROFF
                        ;;
                esac
        fi
        # See if we need to cut the power.
        if [ "$INIT_HALT" = "POWEROFF" ] && [ -x /etc/init.d/ups-monitor ]
        then
                /etc/init.d/ups-monitor poweroff
        fi
        # Don't shut down drives if we're using RAID.
        hddown="-h"
        if grep -qs '^md.*active' /proc/mdstat
        then
                hddown=""
        fi
        # If INIT_HALT=HALT don't poweroff.
        poweroff="-p"
        if [ "$INIT_HALT" = "HALT" ]
        then
                poweroff=""
        fi
        # Make it possible to not shut down network interfaces,
        # needed to use wake-on-lan
        netdown="-i"
        if [ "$NETDOWN" = "no" ]; then
                netdown=""
        fi
        if [ "$(readlink /proc/1/exe)" = "/bin/systemd" ]
        then
                log_action_msg "Unmounting all file systems"
                /etc/init.d/umountnfs.sh stop
                umount /cgroup/*
                umount /cgroup
                /etc/init.d/umountfs stop
                /etc/init.d/umountroot stop
        fi
        log_action_msg "Will now halt"
        halt -d -f $netdown $poweroff $hddown
}
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
:

/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)
        if [ "$(readlink /proc/1/exe)" = "/bin/systemd" ]
        then
                log_action_msg "Unmounting all file systems"
                /etc/init.d/umountnfs.sh stop
                umount /cgroup/*
                umount /cgroup
                /etc/init.d/umountfs stop
                /etc/init.d/umountroot stop
        fi
        log_action_msg "Will now restart"
        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


-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.88dsf-14

On Sat, Jun 05, 2010 at 04:23:24AM +0200, Michael Biebl wrote:
> hopefully #494001 will be fixed some time in the near future and we can
> get rid of the horribly hack that is mtab.sh.
> Until that happens, it should at least correctly handle the new devtmpfs
> type, that is used by default in squeeze for /dev. See:

Now #494001 is done, devtmpfs will always be correctly represented
in /proc/mounts.  mtab will be a symlink on all Linux architectures,
which are the only ones supporting devtmpfs.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.


--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to