Prompts to merge unmodified conffile /etc/rc.local on upgrade to intrepid

Bug #246550 reported by Matt Zimmerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: sysvinit

On two different systems, both with unmodified /etc/rc.local, I was prompted to merge changes to it via a dpkg conffile prompt when upgrading from 8.04.1 to intrepid ca. 8 July. The diff is:

--- /etc/init.d/rc.local 2008-04-19 06:05:36.000000000 +0100
+++ /etc/init.d/rc.local.dpkg-new 2008-06-18 11:06:13.000000000 +0100
@@ -1,14 +1,26 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides: rc.local
+# Required-Start: $remote_fs
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Run /etc/rc.local if it exist
+### END INIT INFO

-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-[ -f /etc/default/rcS ] && . /etc/default/rcS
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+
+. /lib/init/vars.sh
 . /lib/lsb/init-functions

 do_start() {
  if [ -x /etc/rc.local ]; then
- log_begin_msg "Running local boot scripts (/etc/rc.local)"
+ [ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
   /etc/rc.local
- log_end_msg $?
+ ES=$?
+ [ "$VERBOSE" != no ] && log_end_msg $ES
+ return $ES
  fi
 }

Related branches

Martin Pitt (pitti)
Changed in sysvinit:
assignee: nobody → pitti
milestone: none → ubuntu-8.10-beta
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sysvinit - 2.86.ds1-59ubuntu2

---------------
sysvinit (2.86.ds1-59ubuntu2) intrepid; urgency=low

  * Since our last merge, /etc/init.d/rc.local was marked as a conffile.
    Detect if it's unmodified, and if so, install the new version without
    bothering the user with questions (LP: #246550)

 -- Soren Hansen <email address hidden> Tue, 22 Jul 2008 15:59:40 +0200

Changed in sysvinit:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.