Re: Debian Configuration Packaging System

2008-04-12 Thread Steve Langasek
On Sat, Apr 12, 2008 at 12:48:01PM -0500, Steve Greenland wrote: > On 11-Apr-08, 16:07 (CDT), Steve Langasek <[EMAIL PROTECTED]> wrote: > > I humbly offer up samba-common in unstable as an example of a package that > > DTRT with ucf to manage a config file. > Is it just me, or does everyone get p

Re: Debian Configuration Packaging System

2008-04-12 Thread Mike Bird
On Sat April 12 2008 10:48:01 Steve Greenland wrote: > Is it just me, or does everyone get prompted twice about smb.conf on > samba/samba-common upgrades? (I've looked through the various install > and config scripts, but not closely enough to figure out why...) It happened here too. I haven't fi

Re: Debian Configuration Packaging System

2008-04-12 Thread Steve Greenland
On 11-Apr-08, 16:07 (CDT), Steve Langasek <[EMAIL PROTECTED]> wrote: > I humbly offer up samba-common in unstable as an example of a package that > DTRT with ucf to manage a config file. Is it just me, or does everyone get prompted twice about smb.conf on samba/samba-common upgrades? (I've looked

Re: Debian Configuration Packaging System

2008-04-11 Thread Steve Langasek
(oh, hey, look at that, someone drawing my attention back to this thread that I meant to follow up to.) On Mon, Feb 25, 2008 at 10:43:55AM -0800, Russ Allbery wrote: > Josselin Mouette <[EMAIL PROTECTED]> writes: > > On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote: > >> ucf, from its DESCRI

Re: Debian Configuration Packaging System

2008-04-09 Thread Erik Rose
Anders Kaseorg and I created a system of CDBS modules (which we've tentatively packaged as the config-package-dev package) for creating Debian configuration packages. I'm designing a hosting service at Penn State which involves configuring a big pile of Debian machines (https://weblion.psu.

Re: Debian Configuration Packaging System

2008-02-28 Thread Timothy G Abbott
On Thu, 28 Feb 2008, Ian Jackson wrote: Timothy G Abbott writes ("Re: Debian Configuration Packaging System"): So, our goal is to provide our users with the same opportunities to override our configuration defaults as they would have had if Debian had been providing them instead.

Re: Debian Configuration Packaging System

2008-02-28 Thread Ian Jackson
Timothy G Abbott writes ("Re: Debian Configuration Packaging System"): > So, our goal is to provide our users with the same opportunities to > override our configuration defaults as they would have had if Debian had > been providing them instead. Using the Debian packag

Re: Debian Configuration Packaging System

2008-02-27 Thread Marc Haber
On Sun, 24 Feb 2008 17:15:48 -0800, Russ Allbery <[EMAIL PROTECTED]> wrote: >Timothy G Abbott <[EMAIL PROTECTED]> writes: >> Anders Kaseorg and I created a system of CDBS modules (which we've >> tentatively packaged as the config-package-dev package) for creating >> Debian configuration packages.

Re: Debian Configuration Packaging System

2008-02-26 Thread Timothy G Abbott
On Wed, 27 Feb 2008, Ian Jackson wrote: Timothy G Abbott writes ("Re: Debian Configuration Packaging System"): All of the important problems with our dpkg-divert based configuration package system that have been discussed in this forum are problems for any configuration mechanism

Re: Debian Configuration Packaging System

2008-02-26 Thread Ian Jackson
Timothy G Abbott writes ("Re: Debian Configuration Packaging System"): > All of the important problems with our dpkg-divert based configuration > package system that have been discussed in this forum are problems for any > configuration mechanism other than debconf p

Re: Debian Configuration Packaging System

2008-02-26 Thread Timothy G Abbott
On Tue, 26 Feb 2008, Ian Jackson wrote: Tim Abbott writes ("Re: Debian Configuration Packaging System"): applying dpkg-divert to configuration files. Yikes. At the moment, there are no choices for doing site configuration that are general enough to change arbitrary configurati

Re: Debian Configuration Packaging System

2008-02-26 Thread Ian Jackson
Timothy G Abbott writes ("Debian Configuration Packaging System"): > applying dpkg-divert to configuration files. Yikes. Tim Abbott writes ("Re: Debian Configuration Packaging System"): > I'll note that we wrap our dpkg-divert calls with a bunch of > error

Re: Debian Configuration Packaging System

2008-02-26 Thread Timothy G Abbott
On Tue, 26 Feb 2008, Frank K??ster wrote: [...] 3) Scripts that are not marked as conffiles but which cannot be configured in any way other than by modifying the script. If those scripts live below /etc, they definitely should be marked as conffiles. If they live elsewhere, no package should

Re: Debian Configuration Packaging System

2008-02-26 Thread Frans Pop
Timothy G Abbott wrote: > There are really two problems with debconf in our system. The first is > that debconf asks questions which our configuration package system will > override. Using 'DEBCONF_PRIORITY=critical apt-get install' limits them, > but some packages we configure prompt for informa

Re: Debian Configuration Packaging System

2008-02-26 Thread Frank Küster
Timothy G Abbott MIT.EDU> writes: > > On Mon, 25 Feb 2008, Frank Küster wrote: > > > Uh, you can dpkg-divert conffiles, but not generally configuration files, > > since many won't even be known to dpkg. I must admit I'm a bit sceptical > > about a proposal on configuration, written by someone

Re: Debian Configuration Packaging System

2008-02-25 Thread Timothy G Abbott
On Mon, 25 Feb 2008, Frank K??ster wrote: Uh, you can dpkg-divert conffiles, but not generally configuration files, since many won't even be known to dpkg. I must admit I'm a bit sceptical about a proposal on configuration, written by someone who lets this important distinction slip by... No,

Re: Debian Configuration Packaging System

2008-02-25 Thread Russ Allbery
Josselin Mouette <[EMAIL PROTECTED]> writes: > On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote: >> ucf, from its DESCRIPTION in its man page, seems to handle the case of >> shipping a configuration file upstream that may also be locally >> modified, but I don't see where it handles merging i

Re: Debian Configuration Packaging System

2008-02-25 Thread Josselin Mouette
On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote: > The problem is this: both krb5-kdc and krb5-admin-server have /etc/default > files that control various aspects of the startup of the servers, such as > whether a krb524d is run and what level of Kerberos v4 support is enabled > in the KDC.

Re: Debian Configuration Packaging System

2008-02-25 Thread Russ Allbery
Josselin Mouette <[EMAIL PROTECTED]> writes: > Le dimanche 24 février 2008 à 19:46 -0800, Russ Allbery a écrit : >> The ones that are overwritten completely that I'm aware of contain only >> settings managed by debconf, or (as is the case for krb5-kdc and >> krb5-admin-server) explicitly ask wheth

Re: Debian Configuration Packaging System

2008-02-25 Thread Josselin Mouette
Le dimanche 24 février 2008 à 19:46 -0800, Russ Allbery a écrit : > The ones that are overwritten completely that I'm aware of contain only > settings managed by debconf, or (as is the case for krb5-kdc and > krb5-admin-server) explicitly ask whether you want to manage the > configuration file thro

Re: Debian Configuration Packaging System

2008-02-25 Thread Frank Küster
Timothy G Abbott MIT.EDU> writes: > Anders Kaseorg and I created a system of CDBS modules (which we've > tentatively packaged as the config-package-dev package) for creating > Debian configuration packages. By configuration packages, we mean > packages that configure an existing Debian system

Re: Debian Configuration Packaging System

2008-02-24 Thread Russ Allbery
Tim Abbott <[EMAIL PROTECTED]> writes: > On Sun, 24 Feb 2008, Russ Allbery wrote: >> Configuration files generated by debconf may not be manually changed >> without running this risk, including by humans. Generally, this is >> documented in the file. I have several of those in packages I >> main

Re: Debian Configuration Packaging System

2008-02-24 Thread Tim Abbott
On Sun, 24 Feb 2008, Russ Allbery wrote: Tim Abbott <[EMAIL PROTECTED]> writes: We also ran into a few packages which will overwrite configuration files that they manage via debconf, overwriting our symlink every time the relevant package is upgraded. But I think that's a bug in those Debian

Re: Debian Configuration Packaging System

2008-02-24 Thread Russ Allbery
Tim Abbott <[EMAIL PROTECTED]> writes: > We also ran into a few packages which will overwrite configuration files > that they manage via debconf, overwriting our symlink every time the > relevant package is upgraded. But I think that's a bug in those Debian > packages, since the same problem woul

Re: Debian Configuration Packaging System

2008-02-24 Thread Tim Abbott
I'll note that we wrap our dpkg-divert calls with a bunch of error-handling code that we found quite important for correctly recovering from people hitting ^C in the middle of installation (see for the code). Earlier i

Re: Debian Configuration Packaging System

2008-02-24 Thread Russ Allbery
Timothy G Abbott <[EMAIL PROTECTED]> writes: > Anders Kaseorg and I created a system of CDBS modules (which we've > tentatively packaged as the config-package-dev package) for creating > Debian configuration packages. By configuration packages, we mean > packages that configure an existing Debian