[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#596767: nfs-kernel-server does not check the ucf registry for conflicting package, registrations.



severity 596767 wishlist
thanks

On Mon, Sep 13, 2010 at 02:38:25PM -0700, Dave Rawks wrote:
>         In the maintaner scripts included in nfs-kernel-server ucf is
> used to detect whether the configfiles
> managed by the scripts have been changed via a local edit. However the
> postinst makes no inquiry against ucf
> regarding whether another package has registered itself with any of the
> files managed by nfs-kernel-server's
> scripts. As such if another package ships for instance /etc/exports AND
> also registers it's copy of the configfile
> with ucf then subsequent calls to the "upgrade" section of
> nfs-kernel-server's postinst script will result in
> nfs-nerkel-server's default version of the configfile clobbering the
> local copy even though ti is was
> properly registered with ucf as belonging to the other package.

This situation can never arise among Debian packages, because Debian policy
stipulates that each configuration file has one and only one owning package.
Supporting this for the benefit of third-party or local packages sounds like
a wishlist bug to me.

-- 
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@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: