Bug#339955: TODO
severity 340688 important severity 340689 important severity 339955 important thanks On Fri, Nov 25, 2005 at 01:00:08AM +0100, Thomas Hood wrote: Before /etc/init.d/rc can source .sh scripts, all we have to do is get various maintainers to eliminate all these exit commands. Hmm; it seems I had quite the brainfart when I re-upgraded this bug report -- I somehow did not realize we were talking about sysv-rc, the standard runlevel manager in Debian, and thought this was a discussion about file-rc or some *other* runlevel manager package. Since sysv-rc is obviously the default runlevel manager in Debian and millions of people use it, if no one has yet reported breakage as a result of not sourcing .sh scripts, my concern about this breaking unrelated packages or the whole system is invalid. Downgrading again, with apologies. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature
Bug#339955: TODO
Before /etc/init.d/rc can source .sh scripts, all we have to do is get various maintainers to eliminate all these exit commands. /etc/rcS.d$ grep exit *.sh S01glibc.sh:exit_check () { S01glibc.sh:exit 1 S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit_check S01glibc.sh:exit 0 S05initrd-tools.sh:[ $KEEPINITRD = yes ] exit S05initrd-tools.sh:command -v blockdev /dev/null 21 || exit 0 S05initrd-tools.sh: mount -n /proc || exit S05initrd-tools.sh:grep -q '^[^ ]* /initrd ' /proc/mounts || exit 0 S05initrd-tools.sh: umount /initrd/dev || exit S05initrd-tools.sh:umount /initrd || exit S05initrd-tools.sh: exit 1 S05keymap.sh:command -v loadkeys /dev/null 21 || exit 0 S05keymap.sh: [ $CONSOLE_TYPE = serial ] exit 0 S05keymap.sh: exit 1 S10checkroot.sh:# NOTE: failure is defined as exiting with a return code of S10checkroot.sh:exit 3 S10checkroot.sh:exit 3 S10checkroot.sh:: exit 0 S22hwclockfirst.sh:[ ! -x /sbin/hwclock ] exit 0 S22hwclockfirst.sh: exit 1 S22hwclockfirst.sh: *)log_failure_msg Unknown UTC setting: \$UTC\; exit 1 ;; S22hwclockfirst.sh: *)log_failure_msg unknown BADYEAR setting: \$BADYEAR\; exit 1 ;; S22hwclockfirst.sh: exit 1 S30checkfs.sh: exit 3 S30checkfs.sh: exit 3 S30checkfs.sh:: exit 0 S30procps.sh:# Check for existance of the default file and exit if not there, S30procps.sh:[ -r /etc/default/rcS ] || exit 0 S30procps.sh:which sysctl /dev/null || exit 0 S30procps.sh: exit 0 S30procps.sh: exit 1 S35mountall.sh: exit 3 S35mountall.sh: exit 3 S35mountall.sh:: exit 0 S40hostname.sh: exit 3 S40hostname.sh: exit 3 S45mountnfs.sh: exit 3 S45mountnfs.sh: exit 3 S45mountnfs.sh:: exit 0 S48console-screen.sh:[ -x ${SETFONT} ] || exit 0 S48console-screen.sh:CONSOLE_TYPE=`fgconsole 2/dev/null` || exit 0 S48console-screen.sh:[ $VT = no ] exit 0 S50hwclock.sh:[ ! -x /sbin/hwclock ] exit 0 S50hwclock.sh: exit 1 S50hwclock.sh: *) log_failure_msg Unknown UTC setting: \$UTC\; exit 1 ;; S50hwclock.sh: *) log_failure_msg unknown BADYEAR setting: \$BADYEAR\; exit 1 ;; S50hwclock.sh: exit 1 S55bootmisc.sh: exit 3 S55bootmisc.sh: exit 3 S55bootmisc.sh:: exit 0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]