[Initscripts-ng-commits] r340 - in /trunk/src/insserv/debian: changelog patches/20_overrides.dpatch run-testsuite
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Sun Dec 30 09:52:52 UTC 2007
Author: pere
Date: Sun Dec 30 09:52:52 2007
New Revision: 340
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=340
Log:
* Update patch 20_overrides to let scripts without an LSB header
depend on $syslog as well as $remote_fs.
* Add test case to check that scripts without LSB header is ordered
after syslog
Modified:
trunk/src/insserv/debian/changelog
trunk/src/insserv/debian/patches/20_overrides.dpatch
trunk/src/insserv/debian/run-testsuite
Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=340&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Sun Dec 30 09:52:52 2007
@@ -1,3 +1,12 @@
+insserv (1.09.0-6) unstable; urgency=low
+
+ * Update patch 20_overrides to let scripts without an LSB header
+ depend on $syslog as well as $remote_fs.
+ * Add test case to check that scripts without LSB header is ordered
+ after syslog
+
+ -- Petter Reinholdtsen <pere at debian.org> Sun, 30 Dec 2007 09:23:22 +0100
+
insserv (1.09.0-5) unstable; urgency=low
* Update patch 44_path_at_runtime to include support for -c to point
Modified: trunk/src/insserv/debian/patches/20_overrides.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/20_overrides.dpatch?rev=340&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/20_overrides.dpatch (original)
+++ trunk/src/insserv/debian/patches/20_overrides.dpatch Sun Dec 30 09:52:52 2007
@@ -141,8 +141,8 @@
+ warn("warning: script '%s' missing LSB tags\n", path);
+ if (!override) {
+ warn("warning: script '%s' missing override too\n", name);
-+ script_inf.required_start = xstrdup("$remote_fs");
-+ script_inf.required_stop = xstrdup("$remote_fs");
++ script_inf.required_start = xstrdup("$remote_fs $syslog");
++ script_inf.required_stop = xstrdup("$remote_fs $syslog");
+ script_inf.default_start = xstrdup(DEFAULT_START_LVL);
+ script_inf.default_stop = xstrdup(DEFAULT_STOP_LVL);
+ }
Modified: trunk/src/insserv/debian/run-testsuite
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/run-testsuite?rev=340&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Sun Dec 30 09:52:52 2007
@@ -193,6 +193,16 @@
### END INIT INFO
EOF
+insertscript syslog <<'EOF'
+#### BEGIN INIT INFO
+# Provides: syslog
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+### END INIT INFO
+EOF
+
insertscript reboot <<'EOF'
### BEGIN INIT INFO
# Provides: reboot
@@ -264,6 +274,7 @@
check_order 2 needlocalfs needallfs
check_order 2 needlocalfs nolsbheader
+check_order 2 syslog nolsbheader
check_order 6 needallfs umountnfs
check_order 6 nolsbheader umountnfs
More information about the Initscripts-ng-commits
mailing list