On Mon, Jun 13, 2005 at 12:51:21PM -0700, Ryan Lovett wrote:
> When the package installs, it looks for the package-provided
> /usr/share/base-passwd/{passwd,group}.master. If a site has local
> changes, it is necessary to override the package files. If the site
> wants to do this during noninteractive Debian installation (ks), they
> have no choice but to modify the package before installation.
> 
> I've attached a first-pass fix which looks for
> /etc/base-passwd/{passwd,group}.local first.

Hmm, I thought about this a bit. Wouldn't it be better simply to move
passwd.master and group.master to /etc/base-passwd/, and make them
conffiles? Of course, that means you have to do conflict resolution on
them, but it does mean that user/group changes that are assumed by other
Debian packages don't get lost. The current arrangement does have the
benefit that it's very hard to forget about user/group changes.

I'd be slightly happier with an arrangement that allowed files in /etc
to override single items from the master files.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to