[Bug 985508] [NEW] dpkg-maintscript-helper 'mv_conffile' fails if target doesn't already exist
Neil Wilson
neil at aldur.co.uk
Thu Apr 19 09:35:40 UTC 2012
Public bug reported:
The 'mv_conffile' function only works if the target file exists by the
postinst stage.
This means the function doesn't support those packages where the new
configuration file is optional and may not exist at postinst stage.
The case in point is 'iptables-persistent' where the new 'rules.v4' may
not exists after installation. Bug #967018
A simple guard in front of the 'mv' command would add support.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dpkg 1.16.1.2ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-23.36-virtual 3.2.14
Uname: Linux 3.2.0-23-virtual x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Thu Apr 19 09:28:11 2012
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/985508
Title:
dpkg-maintscript-helper 'mv_conffile' fails if target doesn't already
exist
Status in “dpkg” package in Ubuntu:
New
Bug description:
The 'mv_conffile' function only works if the target file exists by the
postinst stage.
This means the function doesn't support those packages where the new
configuration file is optional and may not exist at postinst stage.
The case in point is 'iptables-persistent' where the new 'rules.v4'
may not exists after installation. Bug #967018
A simple guard in front of the 'mv' command would add support.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dpkg 1.16.1.2ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-23.36-virtual 3.2.14
Uname: Linux 3.2.0-23-virtual x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Thu Apr 19 09:28:11 2012
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/985508/+subscriptions
More information about the foundations-bugs
mailing list