[Bug 1181856] Re: Conffile prompt for /etc/init.d/networking on update to 0.7.5ubuntu3

Steve Langasek steve.langasek at canonical.com
Mon May 20 18:10:01 UTC 2013


Got it, thanks.  So this is reproducible on a system that's continuously
upgraded from precise->quantal->raring->saucy.  The reason is that, in
the precise->quantal upgrade, /etc/init.d/networking is taken over as a
conffile from netbase, and due to an ordering difference on upgrade vs.
new install, this gets stored to the conffile database with the md5sum
of /lib/init/upstart-job.  Thus, when removing the conffile from the
system in the ifupdown preinst, dpkg views this as a "local diff" to the
previous conffile version and prompts about the local change.

When the first install is from quantal or later, dpkg does *not* store
the md5sum for /etc/init.d/networking -> /lib/init/upstart-job.  Instead
it stores the file state as 'newconffile'.

So to reproduce this in a clean raring environment, it's sufficient to
run the following command:

 sudo sed -i -e'/etc.init.d.networking/
s/newconffile/ce96a6f22cc836088eef6673d853a765/' /var/lib/dpkg/status

(this is the md5sum of the precise version of /lib/init/upstart-job.)

So this is reproducible, now to figure out how to get around dpkg here.

** Changed in: ifupdown (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ifupdown (Ubuntu)
       Status: Incomplete => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1181856

Title:
  Conffile prompt for /etc/init.d/networking on update to 0.7.5ubuntu3

Status in “ifupdown” package in Ubuntu:
  Triaged

Bug description:
  I've never modified this. In ubuntu2 it was a symlink to /lib/init
  /upstart-job and in ubuntu3 it became a real file again, per the new
  policy for shipping upstart jobs.

  I got a conffile prompt for its creation (the diff showed the entire
  file being added).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ifupdown 0.7.5ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.10.1-0ubuntu1
  Architecture: amd64
  Date: Sun May 19 21:37:35 2013
  InstallationDate: Installed on 2012-10-18 (213 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
  MarkForUpload: True
  SourcePackage: ifupdown
  UpgradeStatus: Upgraded to saucy on 2013-01-10 (129 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1181856/+subscriptions




More information about the foundations-bugs mailing list