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

Re: Bug#136374: sbuild: /etc/sbuild.conf should be a conffile



Rick Younie wrote:
> summary: the sbuild package has three configurations files, each
> overriding the previous one: /etc/sbuild.conf, /etc/sbuild.conf.local,
> ~/.sbuildrc.
> 
> sbuild.conf is for upstream changes, sbuild.conf.local (a
> conffile currently) for local system-wide changes, .sbuildrc for
> user settings.

You should move sbuild.conf out of /etc and into /usr then. Might as
well rename sbuild.conf.local to sbuild.conf while you're at it. /etc is
not the correct place for files that the admin is not supposed to
modify.

Take a look at how debconf does it, there is ~/.debconfrc,
/etc/debconf.conf, and /usr/share/debconf/debconf.conf is a stub config
file to make sure debconf will work even if the one in /etc is trashed
by the admin.

-- 
see shy jo



Reply to: