Debconf prompt for /etc/init/network-interface-security.conf when upgrading to precise

Bug #918323 reported by Steve Magoun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Fix Released
High
Stéphane Graber

Bug Description

During an upgrade from 11.10 to 12.04 I encountered a prompt about /etc/init/network-interface-security.conf (see attached screenshot). The prompt asks me whether to keep the current file or use the new one. When the prompt appeared, I checked the filesystem to look at the file. I do not see /etc/init/network-interface-security.conf on the filesystem at all, and I am fairly sure that if it did exist in the past, I neither changed it or deleted it:

steve@steve-desktop:~$ ls -l /etc/init/network-interface-security.conf
ls: cannot access /etc/init/network-interface-security.conf: No such file or directory

The 'Different between the files' widget in the debconf dialog is empty, presumably because the 'old' file does not exist on my disk.

There may be 2 bugs here:
1) The file went missing (it is present on another machine running 11.10)
2) The user was prompted to replace a non-existent file

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ifupdown 0.7~beta2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: i386
CheckboxSubmission: a098bfd5e654d8a6843b3807f9794817
CheckboxSystem: 775fcefe2ffae0651480113c04106442
Date: Wed Jan 18 12:48:20 2012
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ifupdown
UpgradeStatus: Upgraded to precise on 2012-01-18 (0 days ago)
modified.conffile..etc.init.network.interface.security.conf: [deleted]

Revision history for this message
Steve Magoun (smagoun) wrote :
Revision history for this message
Stéphane Graber (stgraber) wrote :

Hmm, that's the expected behaviour if you removed /etc/init/network-interface-security.conf which appears to be the case as I just confirmed Ubuntu 11.10 ships that file.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Confirmed to be the conf_to_conffile call for network-interface-security.conf not checking for the right version.
Next upload will fix that.

Changed in ifupdown (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ifupdown - 0.7~beta2ubuntu3

---------------
ifupdown (0.7~beta2ubuntu3) precise; urgency=low

  * More label fixes from upstream, don't bring down the parent
    when bringing down a label.
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/f9cef973859e
    http://anonscm.debian.org/hg/collab-maint/ifupdown/rev/80a68bbbd45d
  * /etc/init/network-interface-security.conf was made a conffile in
    maverick. Update the check in postinst to fix upgrade from Oneiric.
    (LP: #918323)
  * Fix NetworkManager managed mode detection to look at
    /etc/NetworkManager/NetworkManager.conf instead of
    /etc/NetworkManager/nm-system-settings.conf (LP: #918354)
 -- Stephane Graber <email address hidden> Wed, 18 Jan 2012 14:19:03 -0500

Changed in ifupdown (Ubuntu):
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.