conffile renames [was: [ubuntu/jaunty] wine 1.0.1-0ubuntu4 (Accepted)]
martin.pitt at ubuntu.com
Fri Nov 21 20:50:03 GMT 2008
Scott Ritchie [2008-11-21 20:15 -0000]:
> wine (1.0.1-0ubuntu4) jaunty; urgency=low
> * debian/rules:
> - rename /etc/sysctl.d/wine.conf to 30-wine.conf (LP: #300701)
This is incomplete . If you rename a conffile, you also need to add
preinst/postinst code to do the rename on upgrades, otherwise you will
end up with *both* wine.conf (orphaned conffile) and 30-wine.conf (the
new one). Worse, if the admin previously changed wine.conf, you now
have contradictory configurations and one (probably wine.conf) will
shadow the other.
In general, renaming conffiles should be avoided, since it is
nontrivial to get right. If it is necessary, please see  for
recipes and details.
Thanks, and have a good weekend!
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20081121/5ac5f109/attachment.pgp
More information about the ubuntu-devel