TurnKey Linux's take on Ubuntu appliance development: KISS
Steve Langasek
steve.langasek at ubuntu.com
Fri Jan 8 07:32:31 GMT 2010
On Thu, Jan 07, 2010 at 02:19:34PM -0600, Evan Broder wrote:
> i.e. if you're configuring /etc/nsswitch.conf, a package using
> config-package-dev will install an /etc/nsswitch.conf.debathena file,
> divert the original /etc/nsswitch.conf to
> /etc/nsswitch.conf.debathena-orig in its postinst, and symlink
> /etc/nsswitch.conf -> /etc/nsswitch.conf.debathena.
And this doesn't cause any prompts or overwritten configs on upgrade?
I'm pleasantly surprised if this is true. There was a long known
incompatibility between dpkg's conffile handling and its diversion handling,
which is even codified in Debian/Ubuntu Policy (section 10.7.4).
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20100107/396a8699/attachment.pgp
More information about the ubuntu-devel
mailing list