--- insserv-1.09.0.orig/debian/dirs +++ insserv-1.09.0/debian/dirs @@ -0,0 +1,3 @@ +usr/sbin +usr/share/insserv/examples +usr/share/insserv/overrides --- insserv-1.09.0.orig/debian/update-bootsystem-insserv +++ insserv-1.09.0/debian/update-bootsystem-insserv @@ -0,0 +1,98 @@ +#!/bin/sh +# +# Author: Petter Reinholdtsen +# Date: 2005-09-03 +# +# Update the boot order based on init.d script dependency info + +set -e + +now=`date +%Y%m%dT%H%M` +logdir=/var/lib/insserv +backupfile="$logdir/bootscripts-$now.tar.gz" +listfile="$logdir/bootscripts-$now-after.list" +logfile="$logdir/run-$now.log" +flagfile="$logdir/using-insserv" + +# Make sure insserv is in path +PATH=/sbin:$PATH + +convert_rc_s_to_k() { + runlevel=$1 + for link in $(cd $target/etc/rc$runlevel.d; ls S* || true); do + set `echo $link|sed "s%S\(..\)\(.*\)%\1 \2%"` + seq=$1 + service=$2 + mv $target/etc/rc$runlevel.d/$link $target/etc/rc$runlevel.d/K$seq$service + done +} + +if [ restore = "$1" ] ; then + if [ ! -f $flagfile ] ; then + echo "error: The boot system is not currently converted to insserv." + echo "error: Flag file $flagfile is missing." + echo "error: Unable to remove the use of insserv." + exit 1 + fi + + # Check if there has been changes, or if it is safe to restore + # from backup + + # Pick the last list of symlinks. + for file in $logdir/bootscripts-*-after.list ; do + listfile=$file + done + ls /etc/init.d /etc/rc*.d > "$logdir/current.list" + + # If the rc.d scripts order look like it did when we converted, it + # is safe to restore. + if [ -f $listfile ] && cmp $logdir/current.list $listfile ; then + rm "$logdir/current.list" + echo "info: Restoring using backed up copy of init.d/ and rc*.d/." + for backup in $logdir/bootscripts-*.tar.gz ; do + backupfile=$backup + done + if [ -f "$backupfile" ] ; then + (cd /etc; rm -rf init.d rc*.d; tar zxf $backupfile) + echo "info: successfully restored backup of init.d scripts" + rm $flagfile + else + echo "error: Unable to locate backup file" + exit 1 + fi + else + rm "$logdir/current.list" + echo "error: Unable to restore the boot sequence. Invalid backup." + exit 1 + fi +else + insserv -nv > $logfile 2>&1 + if grep -q 'There is a loop between' $logfile ; then + echo "error: Problems running insserv:" + grep 'There is a loop between' $logfile | sed 's/^/ /' + echo "info: Please check out this manually." + echo "info: Refusing to convert boot sequence until this is fixed" + rm $logfile + exit 1 + fi + + echo "info: Backing up existing boot scripts in $backupfile" + (cd /etc; tar zcf $backupfile init.d rc*.d) + + echo "info: Reordering boot system, log to $logfile" + ( + echo "info: Converting rc0.d/S* and rc6.d/S* to K*." + convert_rc_s_to_k 0 + convert_rc_s_to_k 6 + echo "info: running insserv" + insserv -v + ) > $logfile 2>&1 + + echo "info: Recording new boot sequence in $listfile" + ls /etc/init.d /etc/rc*.d > $listfile + + echo "info: Use '$0 restore' to restore the old boot sequence." + touch $flagfile +fi + +exit 0 --- insserv-1.09.0.orig/debian/insserv.dirs +++ insserv-1.09.0/debian/insserv.dirs @@ -0,0 +1,3 @@ +/var/lib/insserv +/usr/share/insserv/overrides +/usr/sbin --- insserv-1.09.0.orig/debian/update-bootsystem-insserv.8 +++ insserv-1.09.0/debian/update-bootsystem-insserv.8 @@ -0,0 +1,29 @@ +.\" Copyright 2005 Petter Reinholdtsen +.\" May be distributed under the GNU General Public License +.TH "update-bootsystem-insserv" "8" "9 October 2005" "Petter Reinholdtsen" "" +.SH "NAME" +update\-bootsystem\-insserv \- reorder boot system based on dependency information +in the init.d scripts +.SH "SYNOPSIS" +.B update\-bootsystem\-insserv + +.B update\-bootsystem\-insserv restore +.SH "DESCRIPTION" +.B update\-bootsystem\-insserv +can be used to change the sysv\-rc boot order based on dependency +information available in LSB init.d format in the init.d scripts or +in override files in /usr/share/insserv/overrides/* and +/etc/insserv/overrides/*. +.SH "OPTIONS" +.TP +.I "restore" +Restore the boot order to the state it had before update\-bootsystem\-insserv +was executed the last time. +.SH "FILES" +/etc/insserv.conf +/etc/insserv/overrides/* +/usr/share/insserv/overrides/* +.SH "SEE ALSO" +update\-rc.d(8), insserv(8) +.SH "AUTHOR" +Petter Reinholdtsen, --- insserv-1.09.0.orig/debian/rules +++ insserv-1.09.0/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE = insserv + +CFLAGS = -W -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +#CFLAGS += -DDEBUG=1 + +INSTALL = install +INSTALL_DATA = $(INSTALL) -m644 +DESTDIR = $(CURDIR)/debian/$(PACKAGE) + +pkgdatadir = /usr/share/$(PACKAGE) +sbindir = /usr/sbin + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) ISSUSE="" COPTS="$(CFLAGS)" + + touch build-stamp + +clean: unpatch + dh_testdir + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/$(PACKAGE). + $(MAKE) install DESTDIR=$(DESTDIR) ISSUSE="" + + $(INSTALL_DATA) debian/overrides/* $(DESTDIR)$(pkgdatadir)/overrides/. + $(INSTALL) debian/check-initd-order $(DESTDIR)$(pkgdatadir)/. + $(INSTALL) debian/update-bootsystem-insserv $(DESTDIR)$(sbindir)/. + $(INSTALL) debian/update-rc.d-insserv $(DESTDIR)$(sbindir)/. + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples + dh_installdebconf +# dh_install + dh_installman debian/update-bootsystem-insserv.8 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + +# List the init.d missing LSB headers and override files +missing-overrides: + @GET http://lintian.debian.org/reports/Tinit.d-script-missing-lsb-section.html| grep W: | rev | cut -d/ -f1 | rev | sort > missing + @ls debian/overrides/ |sort > overrides + @echo "Init.d scripts in need of overrides:" + @echo $$(comm -23 missing overrides) |fold -s | sed 's/^/ /' + + @echo -n "Scripts missing overrides: "; comm -23 missing overrides|wc -l + @echo -n "Scripts with overrides and no LSB header: "; comm -12 missing overrides|wc -l + @echo -n "Scripts with overrides and LSB header: "; comm -13 missing overrides|wc -l --- insserv-1.09.0.orig/debian/control +++ insserv-1.09.0/debian/control @@ -0,0 +1,18 @@ +Source: insserv +Section: misc +Priority: optional +Maintainer: Petter Reinholdtsen +Build-Depends: debhelper (>= 4.0.0), dpatch +Standards-Version: 3.7.2 + +Package: insserv +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, sysv-rc +Suggests: bootchart +Description: Reorder boot sequence based on LSB init.d script dependencies + Reorder the boot order based on init.d script dependencies as + documented in LSB comment headers in the script or in override files + included in the package or in /etc/. + . + Use this package with care, as incorrect or missing dependencies can + give you an unbootable system. --- insserv-1.09.0.orig/debian/check-initd-order +++ insserv-1.09.0/debian/check-initd-order @@ -0,0 +1,280 @@ +#!/usr/bin/perl +# +# Author: Petter Reinholdtsen +# Date: 2005-08-21 +# +# Read LSM init.d headers in SysV init.d scripts, and verify correct +# start order for all runlevels. It can also provide a graph. +# +# To generate a graph, run it like this +# +# check-initd-order -g > initorder.dotty && dotty initorder.dotty + +use strict; +use warnings; + +my $rcbase = "/etc"; +#$rcbase = "/opt/ltsp/i386/etc"; + +my $overridepath = "/usr/share/insserv/overrides"; +my $hostoverridepath = "/etc/insserv/overrides"; + +my $debug = 0; + +my %rcmap = + ( + 'B' => 'rc.boot', + 'S' => 'rcS.d', + '1' => 'rc1.d', + '2' => 'rc2.d', + '3' => 'rc3.d', + '4' => 'rc4.d', + '5' => 'rc5.d', + '6' => 'rc6.d', + ); + +# Map packages to system metapackages. These dependencies should +# probably be more complex +my %sysmap = + ( + 'network' => '$network', + 'networking' => '$network', + 'syslog' => '$syslog', + 'sysklogd' => '$syslog', + 'klogd' => '$syslog', + 'mountall' => '$local_fs', + 'umountfs' => '$local_fs', + 'sendsigs' => '$local_fs', + 'mountnfs' => '$remote_fs', + 'umountnfs' => '$remote_fs', + 'hwclock' => '$time', + 'ntpdate' => '$time', + 'bind9' => '$named', + 'portmap' => '$portmap', + ); + +my %scriptorder; +my %opts; + +while($#ARGV >= 0 && ($_ = $ARGV[0]) =~ /^-/) { + shift @ARGV; + if (/^-([dgko])$/) { $opts{$1}++; next } + if (/^-h|--help$/) { &usage; } + &usage("unknown option"); +} + +$debug = $opts{'d'}; +my $useoverrides = $opts{'o'} ? 0 : 1; + +if ($opts{'g'}) { + graph_generate(); + exit 0; +} + +check_bootorder(); + +sub usage { + print STDERR "check-initd-order: error: @_\n" if ($#_ >= 0); + print STDERR < $sysmap{$name}, + "required-$key" => $name); + } + } + + if (1 < @provides) { + print STDERR "warning: Unable to properly handle multiple provides: @provides\n"; + } + + if (exists $lsbinfo{"required-$key"} && $lsbinfo{"required-$key"}) { + my @depends = split(/\s+/, $lsbinfo{"required-$key"}); + for my $pkg (@depends) { + print "\"$pkg\" -> \"$provides[0]\"[color=blue];\n"; + } + } + if (exists $lsbinfo{"should-$key"} && $lsbinfo{"should-$key"}) { + my @depends = split(/\s+/, $lsbinfo{"should-$key"}); + for my $pkg (@depends) { + print "\"$pkg\" -> \"$provides[0]\"[color=springgreen] ;\n"; + } + } + print "\"$provides[0]\" [shape=box];\n"; +} + +sub graph_generate { + print "# Generating graph\n"; + print < : ; + for my $script (@scripts) { + my $lsbinforef = load_lsb_tags("$rcbase/$rcdir/$script", + $useoverrides); + + unless (defined $lsbinforef) { + print STDERR "warning: LSB header missing in $rcbase/$rcdir/$script\n"; + $lsbinforef = {'provides' => $script}; + } + my %lsbinfo = %{$lsbinforef}; + graph_addnode %lsbinfo; + } + } + print < : ; + for my $script (@scripts) { + $bootorder++; + my ($tag, $order, $name) = $script =~ m/^(.)(\d{2})(.+)$/; + + $scriptorder{$tag}{$name} = $bootorder; + $scriptorder{$tag}{$sysmap{$name}} = $bootorder + if (exists $sysmap{$name}); + +# print "$script\n"; +# print "T: $tag O: $order N: $name\n"; + my $lsbinforef = load_lsb_tags("$rcbase/$rcdir/$script", + $useoverrides); + + unless (defined $lsbinforef) { + print STDERR "LSB header missing in $rcbase/$rcdir/$script\n"; + next; + } + my %lsbinfo = %{$lsbinforef}; + + for my $provide (split(/\s+/, $lsbinfo{'provides'})) { + $scriptorder{$tag}{$provide} = $bootorder; + $scriptorder{$tag}{$sysmap{$provide}} = $bootorder + if (exists $sysmap{$provide}); + } + + if ('S' eq $tag) { + if ($lsbinfo{'required-start'}) { + my @depends = split(/\s+/, $lsbinfo{'required-start'}); + for my $dep (@depends) { + unless (exists $scriptorder{$tag}{$dep} + and $scriptorder{$tag}{$dep} < $bootorder) { + my $deporder; + if (exists $scriptorder{$tag}{$dep}) { + $deporder = $scriptorder{$tag}{$dep} + } else { + $deporder = "?"; + } + print "Incorrect order " . + "$dep\@$deporder > $name\@$order\n"; + } + } + } + } + if ('K' eq $tag) { + } + } + } +} + +sub load_lsb_tags { + my ($initfile, $useoverrides) = @_; + my $lsbinforef = load_lsb_tags_from_file($initfile); + + if ($useoverrides) { + # Try override file + $initfile = readlink($initfile) if (-l $initfile); + my $basename = basename($initfile); + + # Only read shipped override file when initscript does not + # contain LSB tags. + if (! defined($lsbinforef) && -f "$overridepath/$basename") { + print STDERR "Override $overridepath/$basename\n" if $debug; + $lsbinforef = load_lsb_tags_from_file("$overridepath/$basename"); + } + + # Always read the host override in $hostoverridepath. + if (-f "$hostoverridepath/$basename") { + print STDERR "Override $hostoverridepath/$basename\n" if $debug; + $lsbinforef = load_lsb_tags_from_file("$hostoverridepath/$basename"); + } + + } + return $lsbinforef; +} + +sub load_lsb_tags_from_file { + my ($file) = @_; + print STDERR "Loading $file\n" if $debug; + ### BEGIN INIT INFO + # Provides: xdebconfigurator + # Required-Start: $syslog + # Required-Stop: $syslog + # Default-Start: 2 3 4 5 + # Default-Stop: 1 6 + # Short-Description: Genererate xfree86 configuration at boot time + # Description: Preseed X configuration and use dexconf to + # genereate a new configuration file. + ### END INIT INFO + unless (open(FILE, "<$file")) { + warn "error: Unable to read $file"; + return; + } + my $found = 0; + my ($provides, $requiredstart, $requiredstop, $shouldstart, $shouldstop); + while () { + chomp; + $found = 1 if (m/\#\#\# BEGIN INIT INFO/); + next unless $found; + last if (m/\#\#\# END INIT INFO/); + + $provides = $1 if (m/^\# provides:\s+(\S*.*\S+)\s*$/i); + $requiredstart = $1 if (m/^\# required-start:\s+(\S*.*\S+)\s*$/i); + $requiredstop = $1 if (m/^\# required-stop:\s+(\S*.*\S+)\s*$/i); + $shouldstart = $1 if (m/^\# should-start:\s+(\S*.*\S+)\s*$/i); + $shouldstop = $1 if (m/^\# should-stop:\s+(\S*.*\S+)\s*$/i); + } + close(FILE); + + return undef unless ($found); + +# print "Provides: $provides\n" if $provides; + return { + 'provides' => $provides, + 'required-start' => $requiredstart, + 'required-stop' => $requiredstop, + 'should-start' => $shouldstart, + 'should-stop' => $shouldstop, + 'file' => $file, + }; +} --- insserv-1.09.0.orig/debian/insserv.templates +++ insserv-1.09.0/debian/insserv.templates @@ -0,0 +1,16 @@ +Template: insserv/enable +Type: boolean +Description: Enable dependency based update-rc.d using insserv? + This will reorder all the scripts in /etc/rc*.d/ using the dependency + information provided in each script and insserv-provided dependency + info in case the scripts are missing dependency info. It will also + change all S* symlinks in rc0.d/ and rc6.d/ to K* symlinks, to make + sure the way they are used (with 'stop' argument) matches their + names. + . + WARNING: It is very hard to revert this change. Reinstallation is + probably required to stop using the dependecy based boot system. + . + This is an experimental feature, and is only intended for testing of + insserv. + --- insserv-1.09.0.orig/debian/compat +++ insserv-1.09.0/debian/compat @@ -0,0 +1 @@ +4 --- insserv-1.09.0.orig/debian/overrides/netplan +++ insserv-1.09.0/debian/overrides/netplan @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: netplan +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/flashybrid +++ insserv-1.09.0/debian/overrides/flashybrid @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: flashhybrid +# Required-Start: mountdevsubfs $local_fs +# Required-Stop: mountdevsubfs $local_fs +# Default-Start: S 6 +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nviboot +++ insserv-1.09.0/debian/overrides/nviboot @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: nviboot +# Required-Start: $remote_fs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/atd +++ insserv-1.09.0/debian/overrides/atd @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: atd +# Required-Start: $syslog $time $local_fs $remote_fs +# Required-Stop: $syslog $time $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335307, #376780 --- insserv-1.09.0.orig/debian/overrides/bind9 +++ insserv-1.09.0/debian/overrides/bind9 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: bind9 +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/exim4 +++ insserv-1.09.0/debian/overrides/exim4 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: exim4 mail-transport-agent +# Required-Start: $remote_fs $syslog $network $time +# Required-Stop: $remote_fs $syslog $network +# Should-Start: $named postgresql mysql clamav-daemon greylist spamassassin +# Should-Stop: $named postgresql mysql clamav-daemon greylist spamassassin +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nscd +++ insserv-1.09.0/debian/overrides/nscd @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: nscd +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $network slapd $named +# Should-Stop: $network slapd $named +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335343 --- insserv-1.09.0.orig/debian/overrides/postgresql +++ insserv-1.09.0/debian/overrides/postgresql @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: postgresql +# Required-Start: $local_fs $remote_fs $network +# Required-Stop: $local_fs $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/dbus-1 +++ insserv-1.09.0/debian/overrides/dbus-1 @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: dbus-1 +# Required-Start: $local_fs $syslog +# Required-Stop: $local_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to Debian BTS as #337644 --- insserv-1.09.0.orig/debian/overrides/initrd-tools.sh +++ insserv-1.09.0/debian/overrides/initrd-tools.sh @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: initrd-tools +# Required-Start: mountdevsubfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/gpm +++ insserv-1.09.0/debian/overrides/gpm @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: gpm +# Required-Start: $local_fs $remote_fs +# Required-Stop: +# Should-Start: udev devfsd discover hotplug +# Should-Start: +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/etc-setserial +++ insserv-1.09.0/debian/overrides/etc-setserial @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: etc-setserial +# Required-Start: +# Required-Stop: +# Should-Start: devfsd udev +# Should-Stop: devfsd udev +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/libdevmapper1.02 +++ insserv-1.09.0/debian/overrides/libdevmapper1.02 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: libdevmapper +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools hotplug discover udev devfsd +# Should-Stop: modutils module-init-tools +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/sysstat +++ insserv-1.09.0/debian/overrides/sysstat @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: sysstat +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/squid +++ insserv-1.09.0/debian/overrides/squid @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: squid +# Required-Start: $network $syslog $time +# Required-Stop: $network $syslog $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/anacron +++ insserv-1.09.0/debian/overrides/anacron @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: anacron +# Required-Start: $syslog $time +# Required-Stop: $syslog $time +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nut +++ insserv-1.09.0/debian/overrides/nut @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: nut +# Required-Start: $local_fs $syslog +# Required-Stop: $local_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nbd-client +++ insserv-1.09.0/debian/overrides/nbd-client @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: nbd-client +# Required-Start: $network +# X-Start-Before: $remote_fs +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/enable-nat +++ insserv-1.09.0/debian/overrides/enable-nat @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: enable-nat +# Required-Start: $remote_fs +# Should-Start: $network +# Required-Stop: $remote_fs +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/setkey +++ insserv-1.09.0/debian/overrides/setkey @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: setkey +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/courier-authdaemon +++ insserv-1.09.0/debian/overrides/courier-authdaemon @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: courier-ldap +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ssh +++ insserv-1.09.0/debian/overrides/ssh @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: sshd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ntpdate +++ insserv-1.09.0/debian/overrides/ntpdate @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: ntpdate +# Required-Start: $remote_fs $network hwclock +# Required-Stop: $remote_fs $network hwclock +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Reported to BTS as bug #332848 --- insserv-1.09.0.orig/debian/overrides/apache-perl +++ insserv-1.09.0/debian/overrides/apache-perl @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apache-perl +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/apmiser +++ insserv-1.09.0/debian/overrides/apmiser @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apmiser +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/libdevmapper1.01 +++ insserv-1.09.0/debian/overrides/libdevmapper1.01 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: libdevmapper +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools hotplug discover udev devfsd +# Should-Stop: modutils module-init-tools +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/xdm +++ insserv-1.09.0/debian/overrides/xdm @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: xdm +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: xfs $named slapd +# Should-Stop: xfs $named slapd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335388 --- insserv-1.09.0.orig/debian/overrides/tftpd-hpa +++ insserv-1.09.0/debian/overrides/tftpd-hpa @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: tftpd-hpa +# Required-Start: $local_fs $remote_fs $network +# Required-Stop: $local_fs $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/whereami +++ insserv-1.09.0/debian/overrides/whereami @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: whereami +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/xserver-xorg +++ insserv-1.09.0/debian/overrides/xserver-xorg @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: xserver-xorg +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Reported to BTS as #335350 --- insserv-1.09.0.orig/debian/overrides/dirmngr +++ insserv-1.09.0/debian/overrides/dirmngr @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: dirmngr +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/laptop-netconf +++ insserv-1.09.0/debian/overrides/laptop-netconf @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: laptop-netconf +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hotplug +++ insserv-1.09.0/debian/overrides/hotplug @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: hotplug +# Required-Start: mountdevsubfs checkroot $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hwclockfirst.sh +++ insserv-1.09.0/debian/overrides/hwclockfirst.sh @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: hwclockfirst +# Required-Start: mountdevsubfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Reported to BTS as bug #330227 --- insserv-1.09.0.orig/debian/overrides/nstxcd +++ insserv-1.09.0/debian/overrides/nstxcd @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: nstxcd +# Required-Start: $network +# Required-Stop: $network +# Should-Start: nstxd +# Should-Stop: nstxd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ltsp-client +++ insserv-1.09.0/debian/overrides/ltsp-client @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: ltsp-client +# Required-Start: ltsp-client-setup $network $syslog +# Required-Stop: ltsp-client-setup $network $syslog +# Should-Start: xdebconfigurator +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/irda +++ insserv-1.09.0/debian/overrides/irda @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: irda +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/laptop-net +++ insserv-1.09.0/debian/overrides/laptop-net @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: laptop-net +# Required-Start: $local_fs $remote_fs $network laptop-netconf +# Required-Stop: $local_fs $remote_fs $network laptop-netconf +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/powernowd +++ insserv-1.09.0/debian/overrides/powernowd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: powernowd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/snmpd +++ insserv-1.09.0/debian/overrides/snmpd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: snmpd +# Required-Start: $local_fs $remote_fs $network +# Required-Stop: $local_fs $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/openbsd-inetd +++ insserv-1.09.0/debian/overrides/openbsd-inetd @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: openbsd-inetd +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $syslog +# Should-Stop: $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as bug #386629 --- insserv-1.09.0.orig/debian/overrides/timidity +++ insserv-1.09.0/debian/overrides/timidity @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: timidity +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: alsa-utils +# Should-Stop: alsa-utils +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/raid2 +++ insserv-1.09.0/debian/overrides/raid2 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: raid2 +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools devfsd udev +# Should-Stop: modutils module-init-tools +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/xsupplicant +++ insserv-1.09.0/debian/overrides/xsupplicant @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: xsupplicant +# Required-Start: mountdevsubfs $local_fs $remote_fs +# Required-Stop: mountdevsubfs $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/libdevmapper1.00 +++ insserv-1.09.0/debian/overrides/libdevmapper1.00 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: libdevmapper +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools hotplug discover udev devfsd +# Should-Stop: modutils module-init-tools +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/xfs +++ insserv-1.09.0/debian/overrides/xfs @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: xfs +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335389 --- insserv-1.09.0.orig/debian/overrides/readahead +++ insserv-1.09.0/debian/overrides/readahead @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: readahead +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nfs-user-server +++ insserv-1.09.0/debian/overrides/nfs-user-server @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: nfs-user-server nfs-server +# Required-Start: $network portmap +# Required-Stop: $network portmap +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/sysklogd +++ insserv-1.09.0/debian/overrides/sysklogd @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: sysklogd +# Required-Start: $local_fs $time +# Required-Stop: $local_fs $time +# Should-Start: $network $named +# Should-Stop: $network $named +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as bug #324679 --- insserv-1.09.0.orig/debian/overrides/firestarter +++ insserv-1.09.0/debian/overrides/firestarter @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: firestarter +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/gpsd +++ insserv-1.09.0/debian/overrides/gpsd @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: gpsd +# Required-Start: $syslog $network +# Required-Stop: $syslog $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335347 --- insserv-1.09.0.orig/debian/overrides/rsync +++ insserv-1.09.0/debian/overrides/rsync @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: rsyncd +# Provides: rsyncd +# Required-Start: $network +# Required-Stop: $syslog +# Should-Start: $named $syslog +# Should-Stop: $syslog network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/vbesave +++ insserv-1.09.0/debian/overrides/vbesave @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: vbesave +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Bug reported #432020 --- insserv-1.09.0.orig/debian/overrides/pcscd +++ insserv-1.09.0/debian/overrides/pcscd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: pcscd +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/uml-utilities +++ insserv-1.09.0/debian/overrides/uml-utilities @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: uml-utilities +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nbd-server +++ insserv-1.09.0/debian/overrides/nbd-server @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: nbd-server +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/xfree86-common +++ insserv-1.09.0/debian/overrides/xfree86-common @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: xfree86-common +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $named +# Should-Stop: $named +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/screen-cleanup +++ insserv-1.09.0/debian/overrides/screen-cleanup @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: screen-cleanup +# Required-Start: $remote_fs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/festival +++ insserv-1.09.0/debian/overrides/festival @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: festival +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/munin-node +++ insserv-1.09.0/debian/overrides/munin-node @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: munin-node +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nullmailer +++ insserv-1.09.0/debian/overrides/nullmailer @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: nullmailer +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #386635 --- insserv-1.09.0.orig/debian/overrides/alsa-utils +++ insserv-1.09.0/debian/overrides/alsa-utils @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: alsa-utils +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/libdevmapper1.02.1 +++ insserv-1.09.0/debian/overrides/libdevmapper1.02.1 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: libdevmapper +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools hotplug discover udev devfsd +# Should-Stop: modutils module-init-tools +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/cron +++ insserv-1.09.0/debian/overrides/cron @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: cron +# Required-Start: $syslog $time +# Required-Stop: $syslog $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as #335305 --- insserv-1.09.0.orig/debian/overrides/spampd +++ insserv-1.09.0/debian/overrides/spampd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: spampd +# Required-Start: $syslog $network $time +# Required-Stop: $syslog $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/irqbalance +++ insserv-1.09.0/debian/overrides/irqbalance @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: irqbalance +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/keymap.sh +++ insserv-1.09.0/debian/overrides/keymap.sh @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: keymap +# Required-Start: mountdevsubfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Reported to BTS as bug #330231 --- insserv-1.09.0.orig/debian/overrides/cupsys +++ insserv-1.09.0/debian/overrides/cupsys @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: cupsys +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to Debian BTS as #337640 --- insserv-1.09.0.orig/debian/overrides/spamassassin +++ insserv-1.09.0/debian/overrides/spamassassin @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: spamassassin +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/report-reboot +++ insserv-1.09.0/debian/overrides/report-reboot @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: report-reboot +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/udftools +++ insserv-1.09.0/debian/overrides/udftools @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: udftools +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hotkey-setup +++ insserv-1.09.0/debian/overrides/hotkey-setup @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: hotkey-setup +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hotplug-net +++ insserv-1.09.0/debian/overrides/hotplug-net @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: hotplug-net +# Required-Start: $local_fs ifupdown +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/start-wlan +++ insserv-1.09.0/debian/overrides/start-wlan @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: start-wlan +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/lpd +++ insserv-1.09.0/debian/overrides/lpd @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: lpd +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ntp-server +++ insserv-1.09.0/debian/overrides/ntp-server @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: ntp-server +# Required-Start: $network ntpdate +# Required-Stop: $network ntpdate +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Reported to BTS as bug #332848 --- insserv-1.09.0.orig/debian/overrides/atftpd +++ insserv-1.09.0/debian/overrides/atftpd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: atftpd +# Required-Start: $local_fs $network $syslog +# Required-Stop: $local_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/snmptrapfmt +++ insserv-1.09.0/debian/overrides/snmptrapfmt @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: snmptrapfmt +# Required-Start: $local_fs $remote_fs $network snmpd +# Required-Stop: $local_fs $remote_fs $network snmpd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/slapd +++ insserv-1.09.0/debian/overrides/slapd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: slapd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/networking +++ insserv-1.09.0/debian/overrides/networking @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: networking +# Required-Start: mountkernfs ifupdown $local_fs +# Required-Stop: ifupdown $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ltsp-client-setup +++ insserv-1.09.0/debian/overrides/ltsp-client-setup @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: ltsp-client-setup +# Required-Start: mountdevsubfs $local_fs +# Required-Stop: mountdevsubfs $local_fs +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/hddtemp +++ insserv-1.09.0/debian/overrides/hddtemp @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: hddtemp +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/autofs +++ insserv-1.09.0/debian/overrides/autofs @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: autofs +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Should-Start: $network $named slapd +# Should-Stop: $network $named slapd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/dhcp3-server +++ insserv-1.09.0/debian/overrides/dhcp3-server @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: dhcp3-server +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/procps.sh +++ insserv-1.09.0/debian/overrides/procps.sh @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: procps +# Required-Start: mountkernfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Reported to BTS as #335320, #386341 and #386637. --- insserv-1.09.0.orig/debian/overrides/apmd +++ insserv-1.09.0/debian/overrides/apmd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apmd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/courier-imap-ssl +++ insserv-1.09.0/debian/overrides/courier-imap-ssl @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: courier-imap-ssl +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/sysfsutils +++ insserv-1.09.0/debian/overrides/sysfsutils @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: sysfsutils +# Required-Start: $local_fs $remote_fs +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +### END INIT INFO +# Reported to BTS as #427033 --- insserv-1.09.0.orig/debian/overrides/powertweakd +++ insserv-1.09.0/debian/overrides/powertweakd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: powertweakd +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/setserial +++ insserv-1.09.0/debian/overrides/setserial @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: setserial +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: devfsd udev +# Should-Stop: devfsd udev +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/fam +++ insserv-1.09.0/debian/overrides/fam @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: fam +# Required-Start: $network portmap +# Required-Stop: $network portmap +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Reported to Debian BTS as #337645 --- insserv-1.09.0.orig/debian/overrides/libnss-ldap +++ insserv-1.09.0/debian/overrides/libnss-ldap @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: libnss-ldap +# Required-Start: mountkernfs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/laptop-mode +++ insserv-1.09.0/debian/overrides/laptop-mode @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: laptop-mode +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/binfmt-support +++ insserv-1.09.0/debian/overrides/binfmt-support @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: binfmt-support +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/lvm2 +++ insserv-1.09.0/debian/overrides/lvm2 @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: lvm +# Required-Start: mountdevsubfs +# Required-Stop: +# Should-Start: udev devfsd raid2 mdadm cryptdisks-early +# Should-Stop: reboot halt +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/dns-clean +++ insserv-1.09.0/debian/overrides/dns-clean @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: dns-clean +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Reported to BTS as bug #332857 --- insserv-1.09.0.orig/debian/overrides/alsa +++ insserv-1.09.0/debian/overrides/alsa @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: alsa +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to Debian BTS as #337638, updated deps after reporting --- insserv-1.09.0.orig/debian/overrides/mrouted +++ insserv-1.09.0/debian/overrides/mrouted @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: mrouted +# Required-Start: $syslog $network +# Required-Stop: $syslog $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/courier-imap +++ insserv-1.09.0/debian/overrides/courier-imap @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: courier-imap +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nstxd +++ insserv-1.09.0/debian/overrides/nstxd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: nstxd +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/webmin +++ insserv-1.09.0/debian/overrides/webmin @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: webmin +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/cpqarrayd +++ insserv-1.09.0/debian/overrides/cpqarrayd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: cpqarrayd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hplip +++ insserv-1.09.0/debian/overrides/hplip @@ -0,0 +1,10 @@ +### BEGIN INIT INFO +# Provides: hplip +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to bTS as #427036 --- insserv-1.09.0.orig/debian/overrides/netenv +++ insserv-1.09.0/debian/overrides/netenv @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: netenv +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/resolvconf +++ insserv-1.09.0/debian/overrides/resolvconf @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: resolvconf +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/acpid +++ insserv-1.09.0/debian/overrides/acpid @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: acpid +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/wpasupplicant +++ insserv-1.09.0/debian/overrides/wpasupplicant @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: wpasupplicant +# Required-Start: mountdevsubfs $local_fs $remote_fs +# Required-Stop: mountdevsubfs $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/irda-utils +++ insserv-1.09.0/debian/overrides/irda-utils @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: irda-utils +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/freevo +++ insserv-1.09.0/debian/overrides/freevo @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: freevo +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: xdm kdm gdm +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/cpufreqd +++ insserv-1.09.0/debian/overrides/cpufreqd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: cpufreqd +# Required-Start: mountdevsubfs $local_fs $remote_fs +# Required-Stop: mountdevsubfs $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/libpam-devperm +++ insserv-1.09.0/debian/overrides/libpam-devperm @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: libpam-devperm +# Required-Start: $remote_fs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/smartmontools +++ insserv-1.09.0/debian/overrides/smartmontools @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: smartmontools +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/apt-index-watcher +++ insserv-1.09.0/debian/overrides/apt-index-watcher @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apt-index-watcher +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/acct +++ insserv-1.09.0/debian/overrides/acct @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: acct +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/pppd-dns +++ insserv-1.09.0/debian/overrides/pppd-dns @@ -0,0 +1,5 @@ +### BEGIN INIT INFO +# Provides: pppd-dns +# Required-Start: $local_fs +# Default-Start: S +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/samba +++ insserv-1.09.0/debian/overrides/samba @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: samba +# Required-Start: $network +# Required-Stop: $network +# Should-Start: $named +# Should-Stop: $named +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/ifplugd +++ insserv-1.09.0/debian/overrides/ifplugd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: ifplugd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/modutils +++ insserv-1.09.0/debian/overrides/modutils @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: modutils +# Required-Start: checkroot +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Reported to BTS as #335311 --- insserv-1.09.0.orig/debian/overrides/ppp +++ insserv-1.09.0/debian/overrides/ppp @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: ppp +# Required-Start: $syslog +# Required-Stop: $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/open-backdoor +++ insserv-1.09.0/debian/overrides/open-backdoor @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: open-backdoor +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/update-hostname +++ insserv-1.09.0/debian/overrides/update-hostname @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: update-hostname +# Required-Start: $remote_fs hostname +# Required-Stop: +# Should-Start: $network +# Default-Start: 2 3 4 5 +# Default-Stop: +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/hwclock.sh +++ insserv-1.09.0/debian/overrides/hwclock.sh @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: hwclock +# Required-Start: mountdevsubfs +# Required-Stop: $local_fs +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO +# Reported to BTS as bug #330227 --- insserv-1.09.0.orig/debian/overrides/mdadm +++ insserv-1.09.0/debian/overrides/mdadm @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: mdadm +# Required-Start: mountdevsubfs +# Required-Stop: mountdevsubfs +# Should-Start: devfsd udev +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/lvm +++ insserv-1.09.0/debian/overrides/lvm @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: lvm +# Required-Start: mountdevsubfs +# Required-Stop: +# Should-Start: udev devfsd raid2 mdadm +# Should-Stop: reboot halt +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/bluez-utils +++ insserv-1.09.0/debian/overrides/bluez-utils @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: bluez-utils +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nethack-common +++ insserv-1.09.0/debian/overrides/nethack-common @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: nethack-common +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/nagios +++ insserv-1.09.0/debian/overrides/nagios @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: nagios +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/postfix +++ insserv-1.09.0/debian/overrides/postfix @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: postfix +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Should-Start: spampd amavis postgrey +# Should-Stop: spampd amavis postgrey +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/apache2 +++ insserv-1.09.0/debian/overrides/apache2 @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apache2 +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/bootclean.sh +++ insserv-1.09.0/debian/overrides/bootclean.sh @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: bootclean +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/usplash +++ insserv-1.09.0/debian/overrides/usplash @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: usplash +# Required-Start: $all +# Required-Stop: $all +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/klogd +++ insserv-1.09.0/debian/overrides/klogd @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: klogd +# Required-Start: $time sysklogd +# Required-Stop: $time sysklogd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Reported to BTS as bug #324679 --- insserv-1.09.0.orig/debian/overrides/acpi-support +++ insserv-1.09.0/debian/overrides/acpi-support @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: acpi-support +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO +# Bug reported #432020 --- insserv-1.09.0.orig/debian/overrides/mountvirtfs +++ insserv-1.09.0/debian/overrides/mountvirtfs @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: mountdevsubfs +# Required-Start: +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Already present in package --- insserv-1.09.0.orig/debian/overrides/inetd +++ insserv-1.09.0/debian/overrides/inetd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: inetd +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/noflushd +++ insserv-1.09.0/debian/overrides/noflushd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: noflushd +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/apache +++ insserv-1.09.0/debian/overrides/apache @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: apache +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/courier-ldap +++ insserv-1.09.0/debian/overrides/courier-ldap @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: courier-ldap +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Should-Start: slapd +# Should-Stop: slapd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/pptpd +++ insserv-1.09.0/debian/overrides/pptpd @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: pptpd +# Required-Start: $syslog +# Required-Stop: $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/openvpn +++ insserv-1.09.0/debian/overrides/openvpn @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: openvpn +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/hibernate +++ insserv-1.09.0/debian/overrides/hibernate @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: hibernate +# Required-Start: checkfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/installation-report +++ insserv-1.09.0/debian/overrides/installation-report @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: installation-report +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-start: x11-common xserver-xorg +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/lisa +++ insserv-1.09.0/debian/overrides/lisa @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: lisa +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/mplayer +++ insserv-1.09.0/debian/overrides/mplayer @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: mplayer-RTC-settings +# Required-Start: $local_fs $syslog +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/tpctl +++ insserv-1.09.0/debian/overrides/tpctl @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: tpctl +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/cyrus22 +++ insserv-1.09.0/debian/overrides/cyrus22 @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: cyrus22 +# Required-Start: $syslog $network $time +# Required-Stop: $syslog $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/makedev +++ insserv-1.09.0/debian/overrides/makedev @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: makedev +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/mdnsresponder +++ insserv-1.09.0/debian/overrides/mdnsresponder @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: mdnsresponder +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/pmud +++ insserv-1.09.0/debian/overrides/pmud @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: pmud +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/discover +++ insserv-1.09.0/debian/overrides/discover @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: discover +# Required-Start: mountdevsubfs checkroot $local_fs +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO +# Discover v2 reported to BTS as #335322 +# Discover v1 reported to BTS as #335323 --- insserv-1.09.0.orig/debian/overrides/mdadm-raid +++ insserv-1.09.0/debian/overrides/mdadm-raid @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: mdadm-raid +# Required-Start: +# Required-Stop: +# Should-Start: modutils module-init-tools hotplug discover udev devfsd +# Should-Stop: modutils module-init-tools +# Default-Start: S +# Default-Stop: 0 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/gdm +++ insserv-1.09.0/debian/overrides/gdm @@ -0,0 +1,9 @@ +### BEGIN INIT INFO +# Provides: gdm +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: xfs $named slapd +# Should-Stop: xfs $named slapd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/amavis +++ insserv-1.09.0/debian/overrides/amavis @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: amavis +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/overrides/devfsd +++ insserv-1.09.0/debian/overrides/devfsd @@ -0,0 +1,8 @@ +### BEGIN INIT INFO +# Provides: devfsd +# Required-Start: mountdevsubfs +# Required-Stop: reboot +# Default-Start: S 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# Reported to BTS as bug #324671 --- insserv-1.09.0.orig/debian/overrides/exim +++ insserv-1.09.0/debian/overrides/exim @@ -0,0 +1,7 @@ +### BEGIN INIT INFO +# Provides: exim +# Required-Start: $network $syslog +# Required-Stop: $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO --- insserv-1.09.0.orig/debian/copyright +++ insserv-1.09.0/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Petter Reinholdtsen on +Sun, 21 Aug 2005 11:20:54 +0200. + +It was downloaded from + +Copyright Holder: Werner Fink and SuSE LINUX AG. + +License: + + Copyright 2000-2004 Werner Fink, 2000 SuSE GmbH Nuernberg, Germany, + 2003 SuSE Linux AG, Germany. + 2004 SuSE LINUX AG, Germany. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +On Debian systems, a copy of the GNU General Public License version 2 +may be found in the file /usr/share/common-licenses/GPL-2. --- insserv-1.09.0.orig/debian/changelog +++ insserv-1.09.0/debian/changelog @@ -0,0 +1,361 @@ +insserv (1.09.0-1) unstable; urgency=low + + * New upstream release. (Closes: #426091) + - Support X-Start-Before and X-Stop-After (Closes: #326120) + - Building with DEB_BUILD_OPTIONS=nostrip no longer strip the + binary. (Closes: #437210) + * Let /usr/share/insserv/check-initd-order read override files in + /etc/insserv/overrides/ just like insserv does. Patch from Arjan + Oosting. (Closes: #429398) + * Correct the dependencies for nbd-client and libnss-ldap. + * Add override file for spamassassin. + * Update watch file with new upstream URL. (Closes: #450044) + + -- Petter Reinholdtsen Sat, 17 Nov 2007 21:17:20 +0100 + +insserv (1.08.0-14) unstable; urgency=low + + * Correct the dependencies for hwclock.sh. + * Update libdevmapper*, raid2 and mdadm-raid by adding + module-init-tools as an alternative to modutils, and move + both from required-start to should-start, as either or both + might be available. (Closes: #432072) + + -- Petter Reinholdtsen Mon, 9 Jul 2007 13:40:36 +0200 + +insserv (1.08.0-13) unstable; urgency=low + + * Add override files for sysfsutils and hplip. + * Add cryptdisks-early as should-start to the lvm2 override + file (Closes: 429402) + + -- Petter Reinholdtsen Mon, 18 Jun 2007 17:32:50 +0100 + +insserv (1.08.0-12) unstable; urgency=low + + * Add override files for nbd-server and libdevmapper1.02.1. + * Update override files for atd, atftpd, discover, enable-nat, + keymap.sh, klogd, mplayer, networking, open-backdoor, + openbsd-inetd, report-reboot, rsync and start-wlan + based on the headers in the packages themselves. + * Add override file for lvm2 (Closes: #426104). + + -- Petter Reinholdtsen Sat, 26 May 2007 12:42:38 +0200 + +insserv (1.08.0-11) unstable; urgency=low + + * Add override file for timidity. + * Add override file for powernowd. + * Add override file for laptop-mode. + * Update override file for libnss-ldap. + + -- Petter Reinholdtsen Thu, 2 Nov 2006 13:36:10 +0100 + +insserv (1.08.0-10) unstable; urgency=low + + * Add override file for cpqarrayd. + * Add override file for libpam-devperm. + * Add override file for screen-cleanup. + + -- Petter Reinholdtsen Sat, 14 Oct 2006 21:00:31 +0200 + +insserv (1.08.0-9) unstable; urgency=low + + * Change bind9 override file to avoid dependency loop involving + $syslog->sysklogd->$named->bind9. Remove $syslog dependency and + insert $remote_fs dependency instead. Make the $network dependency + conditional to work when netbase is not installed. + * Add override file for resolvconf. + * Add override file for installation-report. + * Minor cleanup in nviboot override file, only depend on $remote_fs, no need + to also depend on $local_fs. + + -- Petter Reinholdtsen Sat, 7 Oct 2006 10:08:04 +0200 + +insserv (1.08.0-8) unstable; urgency=low + + * Add override files for festival, hotkey-setup and lisa. + * New patch 41_debiandefault to set the default runlevels for start (2345) + and stop (016) on Debian. + + -- Petter Reinholdtsen Sat, 16 Sep 2006 17:32:24 +0200 + +insserv (1.08.0-7) unstable; urgency=low + + * Remove override file console-screen.sh. The info is now present in the + file itself. + * Modify override file for lvm to document that it should stop just + before halt and reboot. + * Modify override file for exim4 to only conditional depend on $named. + * Rewrite check-initd-order to avoid the dependency on perl-modules, + to make it easier to run in systems with small disks. + * Remove override files for aumix, cfengine2, cryptdisk, hdparm, + ifupdown, ifupdown-clean, kdm, nfs-common, nfs-kernel-server, + pcmcia, portmap, sudo, udev, udev-mtab, x11-common, + xdebconfigurator. It is good enough in the scripts themselves + now. + * Modify override file for atd to avoid redundant dependencies and + drop runlevel 'S' from the stop list. Reported as bug #376780. + + -- Petter Reinholdtsen Thu, 14 Sep 2006 15:15:49 +0200 + +insserv (1.08.0-6) unstable; urgency=low + + * Minor change to the template text, explaining that the S* symlinks + are renamed to K* symlinks in rc0.d/ and rc6.d/. + * Correct override file for sysklogd and klogd. These should not + start in runlevel S, and should stop in runlevel 1. + * Add $syslog to the dependency list for openbsd-inetd, to make sure + it can log its start to syslog. Drop $local_fs, as it is a + dependency for $remote_fs. + * New patch debian/patches/40_nosusescript to avoid inserting the + 'single' script showing up in runlevel S, and also avoid fixing + the sequence number to the values used by SuSe. + * Correct override file for hotplug-net, it should depend on $local_fs. + * Correct override file for hotplug, it should stop before $local_fs. + * Modify patch 31_debian_conf to also list ifupdown as part of the + $network facility, to make $network available in runlevel 0 and 6. + * Try to make update-bootsystem-insserv more robust on restores. + Move conversion logs and related files to /var/lib/insserv. + + -- Petter Reinholdtsen Sun, 10 Sep 2006 20:17:15 +0200 + +insserv (1.08.0-5) unstable; urgency=low + + * New flag -k for check-initd-order to look at the stop sequence instead + of the start sequence. + * Correct override files for acpid, alsa, alsa-utils, apmd, + hwclockfirst.sh, ifupdown, modutils, networking, nullmailer, + openbsd-inetd, pcmcia, procps.sh, and update-hostname. + * Remove override files for bootlogd, bootmisc.sh, checkfs.sh, + checkroot.sh, glibc.sh, halt, hostname.sh, module-init-tools, + mountall.sh, mountdevsubfs.sh, mountnfs.sh, reboot, rmnologin, + sendsigs, single, stop-bootlogd, umountfs umountnfs.sh and urandom + as the scripts themselves now have correct dependency information + in them. + * With the current patches and dependency info, insserv generate + correct shutdown order. (Closes: #350188) + + -- Petter Reinholdtsen Sat, 9 Sep 2006 20:23:28 +0200 + +insserv (1.08.0-4) unstable; urgency=low + + * Change update-bootsystem-insserv to refuse to convert the boot + system if there are dependency loops. + * New patch 37_consistent_path to make more consistent log output. + * Adjust the the rules file to make sure we build using the compiler options + specified there. + * New patch 33_debian_localok making .local a valid ending, + to accept script names like 'rc.local'. + * New patch 38_debuginfo to improve the debug output. + * New patch 39_debianlvl.dpatch to handle rcS.d/ a bit better. + * Add override for mountdevsubfs.sh, documenting its + relation to udev. + * Add override for stop-bootlogd, documenting that it should come late, + after rmnologin. + * Make it easier to enable the dependency based boot system by + adding a fairly well hidden debconf question to activate it. + * Adjust the override files for dns-clean, hotplug, hotplug-net, + hwclock.sh, keymap.sh, libdevmapper1.00, libdevmapper1.01, + libdevmapper1.02, modutils, nviboot and procps.sh to make sure + they only start in runlevel S. + * Adjust override file for acpid, nstxd and nstxcd, to make sure + they are not started in runlevel S. + * Adjust override file for makedev and rmnologin, there is + no reason to add stop links for them. + * Remove 'S' from all override files listing it in should-stop. It + never make sense to add stop scripts in rcS.d/. + * Allow check-initd-order to continue even if one file is unreadable. + * Add override files for apt-index-watcher, vbesave, acpi-support + and libnss-ldap. + * Correct the definition of $remote_fs to include mountnfs, + mountnfs-bootclean and umountnfs. + * Correct the definition of $local_fs to include mountfs, + mountfs-bootclean and umountfs. + * Adjust the override file for openbsd-inetd, to make sure it start + after /usr/ is mounted. + + -- Petter Reinholdtsen Fri, 8 Sep 2006 19:14:15 +0200 + +insserv (1.08.0-3) unstable; urgency=low + + * Extend check-initd-order to accept a new argument -o, to not load + the override files. + + -- Petter Reinholdtsen Thu, 7 Sep 2006 11:59:17 +0200 + +insserv (1.08.0-2) unstable; urgency=low + + * New patch 35_fixunused removing incorrect 'unused' flagg from a + few functions, to avoid compile warning on s390. + * New patch 36_memleak fixing a minor memory leak. + * Updated override file for libdevmapper1.00. + * Added override file for libdevmapper1.02. + * Sync override files with the unstable init.d scripts for + alsa,alsa-utils, atd, bootlogd, bootmisc.sh, cfengine2, + checkfs.sh, checkroot.sh, console-screen.sh, cryptdisk, exim4, + fam, halt, hdparm, kdm, keymap.sh, makedev, module-init-tools, + mountall.sh, mountnfs.sh, networking, nfs-common, + nfs-kernel-server, pcmcia, portmap, pppd-dns, procps.sh, reboot, + rmnologin, single, sudo, udev, udev-mtab, umountfs, umountnfs.sh, + urandom and xdebconfigurator. I assume the package maintainer + know the scripts best, and use their values. + * Added override file for usplash. + * Modify update-bootsystem-insserv to report dependency loop + problems. (Closes: #386301) + * Add recommend on perl-modules. (Closes: #386300) + * Update standards-version to 2.7.2. No changes needed. + * Do not include 'klogd' in the $syslog facility, to avoid + dependency loop. + * Change mountvirtfs to mountdevsubfs in all override files, to + use the new name instead of the obsolete name. + * The keymap override should not depend on $syslog, and neither should + keymap.sh itself (bug #386338). + * Update 20_overrides.dpatch to new version of the source. + + -- Petter Reinholdtsen Thu, 7 Sep 2006 00:45:18 +0200 + +insserv (1.08.0-1) unstable; urgency=low + + * New upstream release. + * Correct name of logfile, moving the stderr redirect to the insserv + call. (Closes: #349494) + * Add code in update-bootsystem-insserv to convert all S* symlinks + in rc1.d and rc6.d to K* symlinks before insserv is executed. to + reflect the argument passed on to these scripts in debian. + Addresses part of bug #350188. + + -- Petter Reinholdtsen Sun, 1 Apr 2006 17:30:35 +0100 + +insserv (1.04.0-2) unstable; urgency=low + + * Modify 20_override.dpatch based on input from upstream author + Werner Fink, to add more error handling. + + -- Petter Reinholdtsen Fri, 11 Nov 2005 15:35:27 +0100 + +insserv (1.04.0-1) unstable; urgency=low + + * New upstream release. + - Start building without -DSUSE, to enable processing of *-stop headers. + * Updated upstream URL in copyright file to match the latest location. + * Remove 40_dryrunmore.dpatch, applied upstream. + * Remove 41_dryrun_msg.dpatch, applied upstream. + * Remove 50_cfgfilter.dpatch, applied upstream. + * Merged 20_overrides.dpatch and 25_overrides.dpatch into one patch + 20_overrides.dpatch. + * New 34_debian.dpatch modifying the paths from rc#.d/, getting + non-SUSE case working on Debian. + * New patch 30_non_suse.dpatch fixing segfault in the non-SUSE case. + * Updated init.d override files for hwclockfirst, ifupdown, + ifupdwon-clean, initrd-tools, keymap, networking, procps and + udev-mtab. + + -- Petter Reinholdtsen Thu, 10 Nov 2005 22:50:14 +0100 + +insserv (1.02.0-3) unstable; urgency=low + + * Added init.d override files for acct, apache2, snmpd and snmptrapfmt. + * Updated and corrected override file for alsa, apache, atd, cron, + gdm, gpsd, initrd-tools, udev-mtab and xdm. + * Wrote graphviz dotty graph generation support for check-init-order (-g). + * Updated README.Debian to reflect the current status in Debian, and + included some instructions on how to use this package. + * Documented in the override files which dependency information I've + reported to BTS. + * Add 'ntpdate' as a optional dependency for the $time virtual + facility, to make sure NTP update is done on machines without + their own NFS server + * Wrote manual page for update-bootsystem-insserv(8). + + -- Petter Reinholdtsen Thu, 10 Nov 2005 00:18:49 +0100 + +insserv (1.02.0-2) unstable; urgency=low + + * Added init.d override files for hibernate, mdadm-raid, start-wlan + and x11-common. + * Corrected sysklogd override file, to only provide sysklogd. + * Document BTS bug numbers in the override file for the init.d + dependency headers I've submitted to the package maintainer. + + -- Petter Reinholdtsen Wed, 5 Oct 2005 17:04:01 +0200 + +insserv (1.02.0-1) unstable; urgency=low + + * New upstream version. + - Rewritten to handle non-SuSe systems better. + - Patches 05_verbose_doc, 10_dryrun, and 50_lsb_shold_std removed, + as they are included upstream. + - Updated patch 40_dryrunmore to match new version, and extend it to + also cover SuSe code. + * Still building with -DSUSE as the new non-SuSe features are still + buggy. + * Changed download URL in copyright file to + . + * Removed rc and rcS, as a version of sysvinit + with equivalent patches is in sid and etch now. + * Added and updated init.d dependency info override files. + The provided dependencies is tested to work on my test machines + with 2.4 and 2.6 installs. (Closes: #325798) + * New script update-bootsystem-insserv to reorder + the boot scripts with a backup. + * Avoid initscripts with .dpkg* in the name. + (51_cfgfilter_dpkg.dpatch) (Closes: #326445) + * Add dependency on sysv-rc. (Closes: #329279) + + -- Petter Reinholdtsen Sat, 3 Sep 2005 13:18:51 +0200 + +insserv (1.00.8-5) unstable; urgency=low + + * Updated dependency info for (module-init-tools, modutils, raid2, mdadm) + * Added dependency override files (noflushd, laptop-net, whereami, pcscd) + + -- Petter Reinholdtsen Fri, 2 Sep 2005 09:21:25 +0200 + +insserv (1.00.8-4) unstable; urgency=low + + * Added dependecy override files (xdm, irqbalance). + * Updated dependency info for a few override files (devfsd, + discover, hotplug, hotplug-net, hwclock.sh, keymap.sh, rmnologin, + sudo, gdm, lvm, ntpdate, xfs, aumix, freevo, laptop-netconf, + report-reboot, open-backdoor). + * New patch to avoid warning about missing override files if the + init.d file already contain LSB tags. (25_override.dpatch) + * Correct header example in the insserv(8) manual page. + (50_lsb_should_std.dpatch) + + -- Petter Reinholdtsen Thu, 1 Sep 2005 22:24:51 +0200 + +insserv (1.00.8-3) unstable; urgency=low + + * Added dependecy override files (nullmailer, binfmt-support). + * Add suggests on bootchart, a great tool to debug the boot + sequence. + * New patch to get dryrun mode working also when /etc/rc.boot is + missing. (40_dryrunmore.dpatch) + * Added more information about the dangers of reorganizing the boot + sequence in README.Debian. + * Some package cleanup. + + -- Petter Reinholdtsen Fri, 30 Aug 2005 00:20:16 +0200 + +insserv (1.00.8-2) unstable; urgency=low + + * Updated and added dependecy override files. + * Added script check-initd-order, trying to check the current boot + sequence in debian based on the LSB headers present. + + -- Petter Reinholdtsen Fri, 26 Aug 2005 00:20:16 +0200 + +insserv (1.00.8-1) unstable; urgency=low + + * Initial Release. (Closes: #324926) + * Document the -v (--verbose) flag. (05_verbose_doc.dpatch) + * Implement new option -n (--dryrun). (10_dryrun.dpatch) + * Implement support for reading LSB init.d header info from override + files. (20_overrides.dpatch) + * Adjust some paths and avoid installing LSB install scripts to + match Debian policy. (30_debian.dpatch) + * Add README.Debian explaining how to test this. + + -- Petter Reinholdtsen Fri, 26 Aug 2005 00:19:16 +0200 --- insserv-1.09.0.orig/debian/watch +++ insserv-1.09.0/debian/watch @@ -0,0 +1,6 @@ +# Run the "uscan" command to check for upstream updates and more. +# See uscan(1) for format + +version=2 + +ftp://ftp.suse.com/pub/projects/init/insserv-(.*).tar.gz debian uupdate --- insserv-1.09.0.orig/debian/bts-lefttoreport +++ insserv-1.09.0/debian/bts-lefttoreport @@ -0,0 +1,6 @@ +#!/bin/sh + +ls overrides |sort > bts-total.txt +(cd overrides ; egrep -l 'BTS|Already present' *) |sort> bts-reported.txt +comm -23 bts-total.txt bts-reported.txt +rm bts-total.txt bts-reported.txt --- insserv-1.09.0.orig/debian/README.Debian +++ insserv-1.09.0/debian/README.Debian @@ -0,0 +1,42 @@ +To test dependency based reordering of the boot sequence, install the +package, enable parallel booting, and run update-bootsystems-insserv +to make a backup of the boot sequence and reorder the boot scripts. +Be careful to verify the boot sequence before rebooting, as an +incorrect boot sequence can render the system completely unbootable. + +In short: + + # Enable parallel booting + echo CONCURRENCY=shell >> /etc/default/rcS + + # Update boot sequence + update-bootsystem-insserv + + # At this point, I recommend examining the order in /etc/rcS.d/ and + # /etc/rc2.d/ carefully, to verify that the configuration actually + # will boot. Update /etc/insserv/overrides/ or + # /usr/share/insserv/overrides/ with better dependency information + # if the boot order is incorrect, and run insserv -v to update the + # boot order. + + # Ready to reboot + shutdown -r now + +The next boot should then start services in parallel, as early as +possible during the boot process based on the dependency information +provided. + +To monitor the boot sequence, the bootchart project is a good choice. +Debian packages are available in etch and sid. The project itself is +available from . + +Background info on alternative boot systems in Debian is available from +. + +Information on the LSB initscript comment convention is available from + +and . + +Information on an alternative approach to parallelism during boot is +available from +. --- insserv-1.09.0.orig/debian/insserv.config +++ insserv-1.09.0/debian/insserv.config @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +flagfile=/etc/update-rc.d-insserv + +# Only enable this code if environment variable +# BAD_INSSERV_HACKER=true is set +[ true = "$BAD_INSSERV_HACKER" ] || exit 0 + +if [ -f $flagfile ] ; then + db_set insserv/enable true +else + db_set insserv/enable false +fi + +db_input medium insserv/enable || [ $? -eq 30 ] +db_go || true --- insserv-1.09.0.orig/debian/update-rc.d-insserv +++ insserv-1.09.0/debian/update-rc.d-insserv @@ -0,0 +1,50 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +my $flagfile = "/etc/update-rc.d-insserv"; + +if ( ! -f $flagfile ) { + print STDERR <= 0 && ($_ = $ARGV[0]) =~ /^-/) { + shift @ARGV; + if (/^-n$/) { push(@opts, $_); next } + if (/^-f$/) { push(@opts, $_); next } + if (/^-h|--help$/) { &usage; } + &usage("unknown option"); + } + my $scriptname = $ARGV[0]; + if ("remove" eq $ARGV[1]) { + if ( -f "/etc/init.d/$scriptname" ) { + exec "insserv", @opts, "-r", $scriptname; + } else { + # insserv remove all dangling symlinks, no need to tell it + # what to look for. + exec "insserv", @opts; + } + } else { + # Ignore start/stop/etc arguments, just add it + exec "insserv", @opts, $scriptname; + } +} + +sub usage { + print STDERR "update-rc.d: error: @_\n" if ($#_ >= 0); + print STDERR < remove + update-rc.d [-n] defaults [NN | sNN kNN] + update-rc.d [-n] start|stop NN runlvl [runlvl] [...] . + -n: not really + -f: force +EOF + exit (1); +} --- insserv-1.09.0.orig/debian/docs +++ insserv-1.09.0/debian/docs @@ -0,0 +1 @@ +README --- insserv-1.09.0.orig/debian/insserv.postinst +++ insserv-1.09.0/debian/insserv.postinst @@ -0,0 +1,78 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +flagfile=/etc/update-rc.d-insserv +package=insserv + +# Based on code from dash postinst +check_divert() { + div=$(dpkg-divert --list $2) + distrib=${4:-$2.distrib} + case "$1" in + true) + if [ -z "$div" ]; then + dpkg-divert --package $package --divert $distrib --add $2 + cp -dp $2 $distrib + ln -sf $3 $2 + fi + ;; + false) + if [ -n "$div" ] && [ -z "${div%%*by $package}" ]; then + mv $distrib $2 + dpkg-divert --remove $2 + fi + ;; + esac +} + +enable_insserv() { + # Reorder the boot sequence, and divert update-rc.d if it worked + if update-bootsystem-insserv ; then + : # All OK + echo "success: Boot system successfully converted" + touch $flagfile + + # Divert update-rc.d to update-rc.d-insserv + check_divert true /usr/sbin/update-rc.d \ + /usr/sbin/update-rc.d-insserv + else + echo "error: Unable to enable dependency based boot system." + fi +} + +disable_insserv() { + echo "info: Disabling dependency based boot system" + # Undo divert + check_divert false /usr/sbin/update-rc.d \ + /usr/sbin/update-rc.d-insserv + + # Revert to old boot order if possible + update-bootsystem-insserv restore + + rm -f $flagfile +} + +case "$1" in + configure) + + # Only enable this code if environment variable + # BAD_INSSERV_HACKER=true is set + if [ true = "$BAD_INSSERV_HACKER" ] ; then + db_get insserv/enable || true + if [ true = "$RET" ] && [ ! -f $flagfile ]; then + enable_insserv # Enable it, as it was not enabled already + elif [ true != "$RET" ] && [ -f $flagfile ] ; then + disable_insserv + fi + fi + ;; + *) + ;; +esac + +db_stop + +#DEBHELPER# --- insserv-1.09.0.orig/debian/patches/33_debian_localok.dpatch +++ insserv-1.09.0/debian/patches/33_debian_localok.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 33_debian_localok.dpatch +## by Petter Reinholdtsen + +Accept script names like 'rc.local', introduced in initscripts version +2.86.ds1-15. + +@DPATCH@ +--- insserv-1.08.0.orig/insserv.c ++++ insserv-1.08.0/insserv.c +@@ -1362,8 +1367,7 @@ + const char* end; + if ((end = strrchr(d->d_name, '.'))) { + end++; +- if (!strcmp(end, "local") || +- !strncmp(end, "rpm", 3) || /* .rpmorig, .rpmnew, .rmpsave, ... */ ++ if (!strncmp(end, "rpm", 3) || /* .rpmorig, .rpmnew, .rmpsave, ... */ + !strncmp(end, "ba", 2) || /* .bak, .backup, ... */ + !strcmp(end, "old") || + !strcmp(end, "new") || +--- insserv-1.08.0.orig/insserv.8.orig 2006-09-08 01:11:30.000000000 +0200 ++++ insserv-1.08.0/insserv.8 2006-09-08 01:11:35.000000000 +0200 +@@ -235,7 +235,6 @@ + .sp 1 + .in +1l + .nf +- *.local + *.rpm* + *.ba* + *.old --- insserv-1.09.0.orig/debian/patches/00list +++ insserv-1.09.0/debian/patches/00list @@ -0,0 +1,8 @@ +20_overrides +31_debian_conf +32_debian_nolsb +33_debian_localok +38_debuginfo +40_nosusescript +41_debiandefault +42_redundantlvl --- insserv-1.09.0.orig/debian/patches/32_debian_nolsb.dpatch +++ insserv-1.09.0/debian/patches/32_debian_nolsb.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 32_debian_nolsb.dpatch +## by Petter Reinholdtsen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Make sure to not install the LSB init.d include file and +## DP: functions. These are in other packages on debian. + +@DPATCH@ +--- insserv-1.00.8.orig/Makefile ++++ insserv-1.00.8/Makefile +@@ -74,15 +74,15 @@ + $(MKDIR) $(SBINDIR) + $(MKDIR) $(SDOCDIR) + $(MKDIR) $(CONFDIR) +- $(MKDIR) $(LSBDIR) +- $(MKDIR) $(DESTDIR)/usr/lib +- $(MKDIR) $(USRLSBDIR) ++# $(MKDIR) $(LSBDIR) ++# $(MKDIR) $(DESTDIR)/usr/lib ++# $(MKDIR) $(USRLSBDIR) + $(INSTBIN) insserv $(SBINDIR)/ + $(INSTDOC) insserv.8 $(SDOCDIR)/ + $(INSTCON) insserv.conf $(CONFDIR)/ +- $(INSTCON) init-functions $(LSBDIR)/ +- $(INSTSRP) install_initd $(USRLSBDIR)/ +- $(INSTSRP) remove_initd $(USRLSBDIR)/ ++# $(INSTCON) init-functions $(LSBDIR)/ ++# $(INSTSRP) install_initd $(USRLSBDIR)/ ++# $(INSTSRP) remove_initd $(USRLSBDIR)/ + + # + # Make distribution --- insserv-1.09.0.orig/debian/patches/20_overrides.dpatch +++ insserv-1.09.0/debian/patches/20_overrides.dpatch @@ -0,0 +1,152 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_overrides.dpatch by Petter Reinholdtsen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Implement support for reading LSB init.d header info from override +## DP: files. + +@DPATCH@ +--- insserv-1.08.0/insserv.c 2006-02-06 16:45:54.000000000 +0100 ++++ insserv/insserv.c 2006-09-07 00:38:06.000000000 +0200 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -945,7 +946,7 @@ + regcompiler(®.desc, DESCRIPTION, REG_EXTENDED|REG_ICASE|REG_NEWLINE); + } + +-static boolean scan_script_defaults(const char *const path) ++static boolean scan_lsb_headers(const char *const path) + { + regmatch_t subloc[SUBNUM_SHD+1], *val = &subloc[SUBNUM-1], *shl = &subloc[SUBNUM_SHD-1]; + FILE *script; +@@ -967,16 +968,6 @@ + if (!script) + error("fopen(%s): %s\n", path, strerror(errno)); + +- /* Reset old results */ +- xreset(provides); +- xreset(required_start); +- xreset(required_stop); +- xreset(should_start); +- xreset(should_stop); +- xreset(default_start); +- xreset(default_stop); +- xreset(description); +- + #define COMMON_ARGS buf, SUBNUM, subloc, 0 + #define COMMON_SHD_ARGS buf, SUBNUM_SHD, subloc, 0 + while (fgets(buf, sizeof(buf), script)) { +@@ -1094,10 +1085,107 @@ + #undef default_start + #undef default_stop + #undef description ++ return ret; ++} ++ ++/* ++ * Follow symlinks, return the basename of the file pointed to by ++ * symlinks or the basename of the current path if no symlink. ++ */ ++static char *scriptname(const char *path) ++{ ++ struct stat st; ++ unsigned int deep = 0; ++ char linkbuf[PATH_MAX+1]; ++ char *script = xstrdup(path); ++ ++ strncpy(linkbuf, script, sizeof(linkbuf)-1); ++ linkbuf[PATH_MAX] = '\0'; ++ ++ do { ++ struct stat; ++ int linklen; ++ ++ if (deep++ > MAXSYMLINKS) { ++ errno = EMLINK; ++ warn("Can not determine script name for %s: %s\n", ++ path, strerror(errno)); ++ break; ++ } ++ ++ if (lstat(script, &st) < 0) { ++ warn("Can not stat %s: %s\n", script, strerror(errno)); ++ break; ++ } ++ ++ if (!S_ISLNK(st.st_mode)) ++ break; ++ ++ if ((linklen = readlink(script, linkbuf, sizeof(linkbuf)-1)) < 0) ++ break; ++ linkbuf[linklen] = '\0'; ++ ++ free(script); ++ script = xstrdup(linkbuf); ++ ++ } while (1); ++ ++ free(script); ++ script = xstrdup(basename(linkbuf)); + ++ return script; ++} ++ ++static boolean load_overrides(const char *const dir, ++ const char *const name) ++{ ++ boolean ret = 0; ++ ++ char fullpath[PATH_MAX+1]; ++ snprintf(fullpath, sizeof(fullpath), "%s/%s", dir, name); ++ struct stat statbuf; ++ if (0 == stat(fullpath, &statbuf) && S_ISREG(statbuf.st_mode)) { ++ ret = scan_lsb_headers(fullpath); ++ } + return ret; + } + ++static boolean scan_script_defaults(const char *const path) ++{ ++ boolean ret = 0; ++ boolean override = 0; ++ char *name = scriptname(path); ++ ++ /* Reset old results */ ++ xreset(script_inf.provides); ++ xreset(script_inf.required_start); ++ xreset(script_inf.required_stop); ++ xreset(script_inf.should_start); ++ xreset(script_inf.should_stop); ++ xreset(script_inf.default_start); ++ xreset(script_inf.default_stop); ++ xreset(script_inf.description); ++ ++ /* Load values if the override file exist */ ++ override = load_overrides("/usr/share/insserv/overrides", name); ++ ++ /* Replace with headers from the script itself */ ++ ret = scan_lsb_headers(path); ++ ++ /* Allow host-specific overrides to replace the content in the ++ init.d scripts */ ++ override |= load_overrides("/etc/insserv/overrides", name); ++ ++ if (!ret) { ++ warn("warning: script '%s' missing LSB tags\n", path); ++ if (!override) { ++ warn("warning: script '%s' missing override too\n", name); ++ } ++ } ++ free(name); ++ return ret | override; ++} ++ + static inline void scan_script_regfree() + { + regfree(®.prov); --- insserv-1.09.0.orig/debian/patches/42_redundantlvl.dpatch +++ insserv-1.09.0/debian/patches/42_redundantlvl.dpatch @@ -0,0 +1,245 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 42_redundantlvl.dpatch by Petter Reinholdtsen + +Rewrite most locations with hardcoded information about levels to use +the runlevel_locations array to fetch the information instead. This +reduces the redundancy and make it easier to keep the level settings +in sync across the code. + +The runlevel_locations array is extended to include the runlevel kode +in it. + +@DPATCH@ +--- insserv-1.09.0.orig/insserv.c ++++ insserv-1.09.0/insserv.c +@@ -31,8 +31,8 @@ + #include "listing.h" + + static const char *map_runlevel_to_location(const int runlevel); ++const int map_runlevel_to_lvl (const int runlevel); + #ifndef SUSE +-static const int map_runlevel_to_lvl (const int runlevel); + static const int map_runlevel_to_seek(const int runlevel); + #endif /* not SUSE */ + +@@ -418,22 +418,7 @@ + if (serv->order < order) + serv->order = order; + +- switch (runlvl) { +- case 0: serv->lvls |= LVL_HALT; break; +- case 1: serv->lvls |= LVL_ONE; break; +- case 2: serv->lvls |= LVL_TWO; break; +- case 3: serv->lvls |= LVL_THREE; break; +- case 4: serv->lvls |= LVL_FOUR; break; +- case 5: serv->lvls |= LVL_FIVE; break; +- case 6: serv->lvls |= LVL_REBOOT; break; +-#ifdef SUSE +- case 7: serv->lvls |= LVL_SINGLE; break; +- case 8: serv->lvls |= LVL_BOOT; break; +-#else /* not SUSE */ +- case 7: serv->lvls |= LVL_BOOT; break; +-#endif /* not SUSE */ +- default: break; +- } ++ serv->lvls |= map_runlevel_to_lvl(runlvl); + + return serv; + } +@@ -1124,45 +1109,82 @@ + char *location; + const int lvl; + const int seek; ++ char key; + } runlevel_locations[] = { + #ifdef SUSE /* SuSE's SystemV link scheme */ +- {"rc0.d/", LVL_HALT, LVL_NORM}, +- {"rc1.d/", LVL_ONE, LVL_NORM}, /* runlevel 1 switch over to single user mode */ +- {"rc2.d/", LVL_TWO, LVL_NORM}, +- {"rc3.d/", LVL_THREE, LVL_NORM}, +- {"rc4.d/", LVL_FOUR, LVL_NORM}, +- {"rc5.d/", LVL_FIVE, LVL_NORM}, +- {"rc6.d/", LVL_REBOOT, LVL_NORM}, +- {"rcS.d/", LVL_SINGLE, LVL_NORM}, /* runlevel S is for single user mode */ +- {"boot.d/", LVL_BOOT, LVL_BOOT}, /* runlevel B is for system initialization */ ++ {"rc0.d/", LVL_HALT, LVL_NORM, '0'}, ++ {"rc1.d/", LVL_ONE, LVL_NORM, '1'}, /* runlevel 1 switch over to single user mode */ ++ {"rc2.d/", LVL_TWO, LVL_NORM, '2'}, ++ {"rc3.d/", LVL_THREE, LVL_NORM, '3'}, ++ {"rc4.d/", LVL_FOUR, LVL_NORM, '4'}, ++ {"rc5.d/", LVL_FIVE, LVL_NORM, '5'}, ++ {"rc6.d/", LVL_REBOOT, LVL_NORM, '6'}, ++ {"rcS.d/", LVL_SINGLE, LVL_NORM, 'S'}, /* runlevel S is for single user mode */ ++ {"boot.d/", LVL_BOOT, LVL_BOOT, 'B'}, /* runlevel B is for system initialization */ + #else /* not SUSE (actually, Debian) */ +- {"../rc0.d/", LVL_HALT, LVL_NORM}, +- {"../rc1.d/", LVL_ONE, LVL_NORM}, /* runlevel 1 switch over to single user mode */ +- {"../rc2.d/", LVL_TWO, LVL_NORM}, +- {"../rc3.d/", LVL_THREE, LVL_NORM}, +- {"../rc4.d/", LVL_FOUR, LVL_NORM}, +- {"../rc5.d/", LVL_FIVE, LVL_NORM}, +- {"../rc6.d/", LVL_REBOOT, LVL_NORM}, +- {"../rcS.d/", LVL_BOOT, LVL_BOOT}, /* runlevel S is for system initialization */ ++ {"../rc0.d/", LVL_HALT, LVL_NORM, '0'}, ++ {"../rc1.d/", LVL_ONE, LVL_NORM, '1'}, /* runlevel 1 switch over to single user mode */ ++ {"../rc2.d/", LVL_TWO, LVL_NORM, '2'}, ++ {"../rc3.d/", LVL_THREE, LVL_NORM, '3'}, ++ {"../rc4.d/", LVL_FOUR, LVL_NORM, '4'}, ++ {"../rc5.d/", LVL_FIVE, LVL_NORM, '5'}, ++ {"../rc6.d/", LVL_REBOOT, LVL_NORM, '6'}, ++ {"../rcS.d/", LVL_BOOT, LVL_BOOT, 'S'}, /* runlevel S is for system initialization */ + /* On e.g. Debian there exist no boot.d */ + #endif /* not SUSE */ + }; + + #define RUNLEVLES (sizeof(runlevel_locations)/sizeof(runlevel_locations[0])) + ++const int map_has_runlevels(void) ++{ ++ return RUNLEVLES; ++} ++ ++const char map_runlevel_to_key(const int runlevel) ++{ ++ if (runlevel >= RUNLEVLES) { ++ warn("Wrong runlevel %d\n", runlevel); ++ } ++ return runlevel_locations[runlevel].key; ++} ++ ++const int map_key_to_lvl(const char key) ++{ ++ int runlevel; ++ const char uckey = toupper(key); ++ for (runlevel = 0; runlevel < RUNLEVLES; runlevel++) { ++ if (uckey == runlevel_locations[runlevel].key) ++ return runlevel_locations[runlevel].lvl; ++ } ++ warn("Wrong runlevel key '%c'\n", uckey); ++ return 0; ++} ++ + static const char *map_runlevel_to_location(const int runlevel) + { ++ if (runlevel >= RUNLEVLES) { ++ warn("Wrong runlevel %d\n", runlevel); ++ } + return runlevel_locations[runlevel].location; + } + +-#ifndef SUSE +-static const int map_runlevel_to_lvl(const int runlevel) ++const int map_runlevel_to_lvl(const int runlevel) + { ++ if (runlevel >= RUNLEVLES) { ++ warn("Wrong runlevel %d\n", runlevel); ++ return 0; ++ } + return runlevel_locations[runlevel].lvl; + } + ++#ifndef SUSE + static const int map_runlevel_to_seek(const int runlevel) + { ++ if (runlevel >= RUNLEVLES) { ++ warn("Wrong runlevel %d\n", runlevel); ++ return LVL_NORM; ++ } + return runlevel_locations[runlevel].seek; + } + #endif /* not SUSE */ +--- insserv-1.09.0.orig/listing.c ++++ insserv-1.09.0/listing.c +@@ -58,6 +58,9 @@ + #define DIR_LOOP 0x00000002 + #define DIR_ISACTIVE 0x00000004 + ++/* From insserv.c */ ++extern const int map_has_runlevels(void); ++extern const int map_runlevel_to_lvl (const int runlevel); + /* + * Provide or find a service dir, set initial states and + * link it into the maintaining if a new one. +@@ -428,24 +431,7 @@ + boolean ret = false; + unsigned int lvl = 0; + +- switch (runlevel) { +- case 0: lvl = LVL_HALT; break; +- case 1: lvl = LVL_ONE; break; +- case 2: lvl = LVL_TWO; break; +- case 3: lvl = LVL_THREE; break; +- case 4: lvl = LVL_FOUR; break; +- case 5: lvl = LVL_FIVE; break; +- case 6: lvl = LVL_REBOOT; break; +-#ifdef SUSE +- case 7: lvl = LVL_SINGLE; break; +- case 8: lvl = LVL_BOOT; break; +-#else +- case 7: lvl = LVL_BOOT; break; +-#endif /* not SUSE */ +- +- default: +- warn("Wrong runlevel %d\n", runlevel); +- } ++ lvl = map_runlevel_to_lvl (runlevel); + + list_for_each(tmp, d_start) { + dir_t * dir = getdir(tmp); +@@ -480,23 +466,7 @@ + if (!*script) + tmp = d_start->next; + +- switch (runlevel) { +- case 0: lvl = LVL_HALT; break; +- case 1: lvl = LVL_ONE; break; +- case 2: lvl = LVL_TWO; break; +- case 3: lvl = LVL_THREE; break; +- case 4: lvl = LVL_FOUR; break; +- case 5: lvl = LVL_FIVE; break; +- case 6: lvl = LVL_REBOOT; break; +-#ifdef SUSE +- case 7: lvl = LVL_SINGLE; break; +- case 8: lvl = LVL_BOOT; break; +-#else +- case 7: lvl = LVL_BOOT; break; +-#endif /* not SUSE */ +- default: +- warn("Wrong runlevel %d\n", runlevel); +- } ++ lvl = map_runlevel_to_lvl (runlevel); + + do { + ret = false; +@@ -587,30 +557,7 @@ + if (!strpbrk(token, "0123456sSbB")) + continue; + +- if (*token == 'S' || *token == 's') +- num = 7; +- else if (*token == 'B' || *token == 'b') +- num = 8; +- else +- num = atoi(token); +- +- switch (num) { +- case 0: ret |= LVL_HALT; break; +- case 1: ret |= LVL_ONE; break; +- case 2: ret |= LVL_TWO; break; +- case 3: ret |= LVL_THREE; break; +- case 4: ret |= LVL_FOUR; break; +- case 5: ret |= LVL_FIVE; break; +- case 6: ret |= LVL_REBOOT; break; +-#ifdef SUSE +- case 7: ret |= LVL_SINGLE; break; +- case 8: ret |= LVL_BOOT; break; +-#else +- case 7: ret |= LVL_BOOT; break; +-#endif /* not SUSE */ +- default: +- warn("Wrong runlevel %d\n", num); +- } ++ ret |= map_key_to_lvl(*token); + } + + return ret; --- insserv-1.09.0.orig/debian/patches/40_nosusescript.dpatch +++ insserv-1.09.0/debian/patches/40_nosusescript.dpatch @@ -0,0 +1,41 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 40_nonsusescript.dpatch by Petter Reinholdtsen + +Make sure the 'single' script is not inserted into runlevel S, and +avoid fixing the sequence number for a lot of scripts used in SuSe. + +@DPATCH@ +--- insserv-1.08.0.orig/insserv.c ++++ insserv-1.08.0/insserv.c +@@ -1832,6 +1832,7 @@ + continue; + } + ++#ifdef SUSE + /* Common script for single mode */ + if (!strcmp(d->d_name, "single")) { + serv_t *serv = addserv("single"); +@@ -1842,6 +1843,7 @@ + rememberreq(serv, REQ_SHLD, "kbd"); + continue; + } ++#endif /* SUSE */ + + /* + * Oops, no comment found, guess one +@@ -2176,6 +2178,7 @@ + + expand_conf(); + ++#ifdef SUSE + /* + * Set initial order of some services + */ +@@ -2187,6 +2190,7 @@ + setorder("serial", 10, false); setlsb("serial"); + setorder("gpm", 20, false); setlsb("gpm"); + setorder("boot.setup", 20, false); ++#endif /* SUSE */ + + /* + * Set virtual dependencies for already enabled none LSB scripts. --- insserv-1.09.0.orig/debian/patches/41_debiandefault.dpatch +++ insserv-1.09.0/debian/patches/41_debiandefault.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 41_debiandefault.dpatch by Petter Reinholdtsen + +Start scripts in runlevel 2345 on non-suse systems, and stop them in +runlevel 016. + +@DPATCH@ +--- insserv-1.08.0.orig/insserv.c ++++ insserv-1.08.0/insserv.c +@@ -34,6 +34,14 @@ + static const int map_runlevel_to_lvl (const int runlevel) __attribute__ ((unused)); + static const int map_runlevel_to_seek(const int runlevel) __attribute__ ((unused)); + ++#ifdef SUSE ++#define DEFAULT_START_LVL "3 5" ++#else ++/* for Debian*/ ++#define DEFAULT_START_LVL "2 3 4 5" ++#define DEFAULT_STOP_LVL "0 1 6" ++#endif ++ + #ifndef INITDIR + # define INITDIR "/etc/init.d" + #endif +@@ -1940,7 +1948,7 @@ + /* + * Ahh ... set default multiuser with network + */ +- script_inf.default_start = xstrdup("3 5"); ++ script_inf.default_start = xstrdup(DEFAULT_START_LVL); + } + #ifndef SUSE + /* +@@ -1986,15 +1995,12 @@ + free(begin); + } + +-#ifdef SUSE + /* Ahh ... set default multiuser with network */ + if (!script_inf.default_start || script_inf.default_start == empty) +- script_inf.default_start = xstrdup("3 5"); +-#else /* not SUSE */ +- if (!script_inf.default_start || script_inf.default_start == empty) +- script_inf.default_start = xstrdup("2 3 4 5"); /* for Debian*/ ++ script_inf.default_start = xstrdup(DEFAULT_START_LVL); ++#ifndef SUSE + if (!script_inf.default_stop || script_inf.default_start == empty) +- script_inf.default_stop = xstrdup("S 0 1 6"); /* for Debian*/ ++ script_inf.default_stop = xstrdup(DEFAULT_STOP_LVL); + #endif /* not SUSE */ + + if (chkfor(d->d_name, argv, argc) && !defaults) { --- insserv-1.09.0.orig/debian/patches/31_debian_conf.dpatch +++ insserv-1.09.0/debian/patches/31_debian_conf.dpatch @@ -0,0 +1,56 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 31_debian_conf_doc.dpatch +## by Petter Reinholdtsen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adjust the insserv configuration to match the debian init.d +## DP: script names. + +@DPATCH@ +--- insserv-1.00.8.orig/insserv.conf ++++ insserv-1.00.8/insserv.conf +@@ -1,29 +1,30 @@ + # + # All local filesystems are mounted (done during boot phase) + # +-$local_fs boot.localfs ++$local_fs +mountall +umountfs + + # + # Low level networking (ethernet card) + # +-$network network +pcmcia +hotplug ++$network +networking +ifupdown ++# +pcmcia +hotplug + + # + # Named is operational + # +-$named +named +dnsmasq +lwresd $network ++$named +named +dnsmasq +lwresd +bind9 $network + + # + # All remote filesystems are mounted (note in some cases /usr may + # be remote. Most applications that care will probably require + # both $local_fs and $remote_fs) + # +-$remote_fs $local_fs +nfs ++$remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs + + # + # System logger is operational + # +-$syslog syslog ++$syslog sysklogd + + # + # All network daemons are running (this entry is OBSOLETE) +@@ -38,7 +39,7 @@ + # + # The system time has been set correctly + # +-$time boot.clock +xntpd ++$time hwclock +ntpdate +ntp-server + + # + # Services which need to be interactive --- insserv-1.09.0.orig/debian/patches/38_debuginfo.dpatch +++ insserv-1.09.0/debian/patches/38_debuginfo.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 38_debuginfo.dpatch by Petter Reinholdtsen + +Change debug output to print symbolic runlevel names as wellas a hex +value with the bit pattern representing the runlevels. + +@DPATCH@ +--- insserv-1.08.0.orig/listing.c ++++ insserv-1.08.0/listing.c +@@ -410,11 +410,11 @@ + list_for_each(tmp, d_start) { + dir_t * dir = getdir(tmp); + if (dir->script) +- fprintf(stderr, "%.2d %s 0x%.2x (%s)\n", +- dir->order, dir->script, dir->lvl, dir->name); ++ fprintf(stderr, "%.2d %s 0x%.2x '%s' (%s)\n", ++ dir->order, dir->script, dir->lvl, lvl2str(dir->lvl), dir->name); + else +- fprintf(stderr, "%.2d %s 0x%.2x (%%%s)\n", +- dir->order, dir->name, dir->lvl, *dir->name == '$' ? "system" : "guessed"); ++ fprintf(stderr, "%.2d %s 0x%.2x '%s' (%%%s)\n", ++ dir->order, dir->name, dir->lvl, lvl2str(dir->lvl), *dir->name == '$' ? "system" : "guessed"); + } + } + #endif