kexec-tools has both dpkg conffile handling and maintainer script configuration

Bug #368745 reported by Andy Whitcroft
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kexec-tools (Ubuntu)
Fix Released
Medium
Andy Whitcroft
Jaunty
Fix Released
Medium
Andy Whitcroft

Bug Description

Binary package hint: kexec-tools

By having both dpkg conffile and maintainer script handling of configuration the kexec-tools package is in violation of the Debian Policy. This will trigger different behaviour from apt-get install and dpkg -i installs of the same package.

We should strip out the static version of the configuration file from the package and use the maintainer script versions.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: kexec-tools 20090000-2.0.0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: kexec-tools
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Andy Whitcroft (apw) wrote :
Andy Whitcroft (apw)
Changed in kexec-tools (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
status: New → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote :

Need to remove the old static configuration file and simply use the maintainer script version. Will prepare debdiffs for this and attach them to bug 251242 as part of the changes required there.

Changed in kexec-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kexec-tools - 20090000-2.0.0ubuntu5

---------------
kexec-tools (20090000-2.0.0ubuntu5) karmic; urgency=low

  * debian policy forbids dpkg conffile handling and maintainer script
    configuration in the same package as this leads to inconsistant behaviour
    between apt-get install and dpkg -i installs of the same package. Switch
    wholy to the maintainer script. LP: #368745
  * kexec reboot has been enabled by default whereas it should have been
    opt-in, it is therefore appropriate to force this off for upgrades from
    older versions. LP: #251242

 -- Andy Whitcroft <email address hidden> Tue, 28 Apr 2009 19:21:30 +0100

Changed in kexec-tools (Ubuntu):
status: In Progress → Fix Released
Colin Watson (cjwatson)
Changed in kexec-tools (Ubuntu Jaunty):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted kexec-tools into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in kexec-tools (Ubuntu Jaunty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kexec-tools - 20090000-2.0.0ubuntu3.1

---------------
kexec-tools (20090000-2.0.0ubuntu3.1) jaunty-proposed; urgency=low

  * debian policy forbids dpkg conffile handling and maintainer script
    configuration in the same package as this leads to inconsistant behaviour
    between apt-get install and dpkg -i installs of the same package. Switch
    wholy to the maintainer script. LP: #368745
  * kexec reboot has been enabled by default whereas it should have been
    opt-in, it is therefore appropriate to force this off for upgrades from
    older versions. LP: #251242
  * kexec based reboot triggers a number of semanatic changes which
    are visible to the user, it should be opt-in by default. Adjust
    kexec.default to disable kexec by default. LP: #251242

 -- Andy Whitcroft <email address hidden> Mon, 27 Apr 2009 10:32:46 +0100

Changed in kexec-tools (Ubuntu Jaunty):
status: Fix Committed → 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.