Package: upstart
Version: 0.6.3-1
Severity: normal

This problem occurs if you use a kernel without an initramfs.  In this
case, booting directly into single user mode or runlevels other than 2
is not possible. I just go straight into runlevel 2 no matter what.

I notice that before the rcS.d scripts are called, I see the error message 

cat: /proc/cmdline: No such file or directory

This is likley happening in /etc/init/rc-sysinit.conf:

    for ARG in $(cat /proc/cmdline)
    do
        case "${ARG}" in
        -b|emergency)
            # Emergency shell
            [ -n "${FROM_SINGLE_USER_MODE}" ] || sulogin
            ;;
        [0123456sS])
            # Override runlevel
            DEFAULT_RUNLEVEL="${ARG}"
            ;;
        -s|single)
            # Single user mode
            [ -n "${FROM_SINGLE_USER_MODE}" ] || DEFAULT_RUNLEVEL=S
            ;;
        esac
    done

So it appears that /proc is not mounted or at least fully populated at
this point. Perhaps an initramfs sets this up earlier, but I don't think
we can officially assume it's been done until /etc/init.d/mountkernfs.sh
has been executed, which of course happens shortly after rc-sysinit.conf. 

Kevin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.2003 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)
Shell: /bin/sh linked to /bin/dash

Versions of packages upstart depends on:
ii  initscripts                   2.87dsf-10 scripts for initializing and shutt
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  sysv-rc                       2.87dsf-10 System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-10 System-V-like utilities

upstart recommends no packages.

upstart suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to