Re: dpkg should prompt re missing conffiles [was Re: When bind9 reinstalls, no db.root]

2002-08-24 Thread Steve Greenland
On 24-Aug-02, 09:48 (CDT), Oliver Elphick wrote: > On Thu, 2002-08-22 at 21:40, Steve Greenland wrote: > > While I'll grant you that "dangerous" is probably not the correct > > adjective, the current behaviour is correct. Debian policy is that > > packages don't override admin modifications to co

dpkg should prompt re missing conffiles [was Re: When bind9 reinstalls, no db.root]

2002-08-24 Thread Oliver Elphick
On Thu, 2002-08-22 at 21:40, Steve Greenland wrote: > While I'll grant you that "dangerous" is probably not the correct > adjective, the current behaviour is correct. Debian policy is that > packages don't override admin modifications to configuration files. > Removing a file is a modification. End

Re: When bind9 reinstalls, no db.root

2002-08-24 Thread Anthony DeRobertis
On Wed, 2002-08-21 at 16:08, Marc Singer wrote: > Without a single example, I don't see how installing a configuration > file where there is none can have *any* affect on the system. Off the top of my head, try "ls -ld /etc/cron.* /etc/*.d" That should give you a very incomplete list of directori

Re: When bind9 reinstalls, no db.root

2002-08-23 Thread Hamish Moffatt
On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > As far as I can tell there is no way to pass --force-confmiss to dpkg > when using apt-get. Perhaps this is the only real omission. Fortunately it is still possible and legal to run dpkg directly. Hamish -- Hamish Moffatt VK3SB <

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Adam Heath
On Thu, 22 Aug 2002, Steve Greenland wrote: > apt-get --option Dpkg::Options=--force-confmiss apt-get \ -o Dpkg::Options::=--force-confmiss \ -o Dpkg::Options::=--force-somethingelse \ Note the trailing ::

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Marc Singer
On Thu, Aug 22, 2002 at 01:49:39PM -0700, Blars Blarson wrote: > In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: > >because there is no compelling reason > >to keep db.root a configuration file > > > But there IS a compelling reason to keep db.root a configuration file: > alternic > > I

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Blars Blarson
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: >because there is no compelling reason >to keep db.root a configuration file But there IS a compelling reason to keep db.root a configuration file: alternic I don't use them, but debian shouldn't trash files that a sysadmin needs to change

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Steve Greenland
On 22-Aug-02, 11:12 (CDT), Bernd Eckenfels <[EMAIL PROTECTED]> wrote: > On Wed, Aug 21, 2002 at 11:38:36PM -0700, Marc Singer wrote: > > The trouble with removing db.root is that it may not be obvious how to > > recover when it is missing. > > the questions to replace/diff/keep a modified conffil

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Steve Greenland
On 21-Aug-02, 19:16 (CDT), Marc Singer <[EMAIL PROTECTED]> wrote: > > It does appear that there are a couple of good examples. In fact, > this is not one of them since what you ought to ship is a cron.allow > that blocks everything, right? No, because that is not the expected, traditional beh

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Matt Zimmerman
On Thu, Aug 22, 2002 at 10:26:45AM -0700, Marc Singer wrote: > On Thu, Aug 22, 2002 at 08:44:04AM -0400, Matt Zimmerman wrote: > > No less appropriate than your one-line dismissal of a reasonable and > > tactful response. > > So let me get this straight. You equate "shut up" with a request for >

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Marc Singer
On Thu, Aug 22, 2002 at 08:44:04AM -0400, Matt Zimmerman wrote: > On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > > > This terse reply is obviously inappropriate. If you are annoyed, stop > > writing. > > No less appropriate than your one-line dismissal of a reasonable and tactful

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Bernd Eckenfels
On Wed, Aug 21, 2002 at 11:38:36PM -0700, Marc Singer wrote: > The trouble with removing db.root is that it may not be obvious how to > recover when it is missing. the questions to replace/diff/keep a modified conffile, why dont they apply to missing conffiles, too? Greetings Bernd -- (OO)

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Matt Zimmerman
On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > This terse reply is obviously inappropriate. If you are annoyed, stop > writing. No less appropriate than your one-line dismissal of a reasonable and tactful response. > I was asking for real examples in order to discuss how the cas

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread David Schmitt
On Wed, Aug 21, 2002 at 01:08:53PM -0700, Marc Singer wrote: > Without a single example, I don't see how installing a configuration > file where there is none can have *any* affect on the system. Removing /etc/snmp/snmpd.conf causes snmpd to _NOT_ start. Reinstalling the conffile would reenable s

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Marc Singer
On Wed, Aug 21, 2002 at 10:19:49PM -0400, Scott K. Ellis wrote: > > Still, breaking bind's access to root name servers is particularly > > troublesome because it may tend to break all net access. It may be > > worthwhile to remove db.root from the list of configuration files. > > Especially, becau

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Arthur de Jong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Aug 2002, Arthur de Jong wrote: > > For example... > > Logcheck has a number of files under /etc/logcheck/ignore.d... that are > marked as configuration files. Removing a configuration files means that > more information is present in the l

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Colin Watson
On Thu, Aug 22, 2002 at 01:18:35AM -0700, Marc Singer wrote: > On Thu, Aug 22, 2002 at 08:47:46AM +0100, Colin Watson wrote: > > On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > > > As far as I can tell there is no way to pass --force-confmiss to dpkg > > > when using apt-get. Perhap

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Arthur de Jong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 21 Aug 2002, Marc Singer wrote: > On Wed, Aug 21, 2002 at 09:42:53PM +0200, Josip Rodin wrote: > > > > Sounds like you want dpkg --force-confmiss. > > > > > > I wouldn't expect that since the documentation states: > > > > > > confmiss: Always

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Marc Singer
On Thu, Aug 22, 2002 at 08:47:46AM +0100, Colin Watson wrote: > On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > > I was asking for real examples in order to discuss how the case of > > bind and db.root is *not* a member of that set and how there may be a > > genuine problem with the

Re: When bind9 reinstalls, no db.root

2002-08-22 Thread Colin Watson
On Wed, Aug 21, 2002 at 05:10:58PM -0700, Marc Singer wrote: > I was asking for real examples in order to discuss how the case of > bind and db.root is *not* a member of that set and how there may be a > genuine problem with the handling of installing over missing > configuration files. Maybe db.r

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Scott K. Ellis
> Still, breaking bind's access to root name servers is particularly > troublesome because it may tend to break all net access. It may be > worthwhile to remove db.root from the list of configuration files. > Especially, because this list isn't something anyone should need to > change. I beg to d

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 06:39:55PM -0500, Steve Greenland wrote: > On 21-Aug-02, 15:10 (CDT), Marc Singer <[EMAIL PROTECTED]> wrote: > > It would help to have an example. > > I could have sworn I had a footnote about /etc/cron.allow, with a > reference to the appropriate manpage :-). Okay, it's

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 07:32:04PM -0400, Matt Zimmerman wrote: > On Wed, Aug 21, 2002 at 04:23:16PM -0700, Marc Singer wrote: > > > On Wed, Aug 21, 2002 at 07:06:22PM -0400, Matt Zimmerman wrote: > > > _Any_ program whose default (Debian) configuration file specifies > > > options which are diffe

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Steve Greenland
On 21-Aug-02, 15:10 (CDT), Marc Singer <[EMAIL PROTECTED]> wrote: > It would help to have an example. I could have sworn I had a footnote about /etc/cron.allow, with a reference to the appropriate manpage :-). Okay, it's not the *best* example, because I don't actually ship a cron.allow, but th

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Matt Zimmerman
On Wed, Aug 21, 2002 at 04:23:16PM -0700, Marc Singer wrote: > On Wed, Aug 21, 2002 at 07:06:22PM -0400, Matt Zimmerman wrote: > > _Any_ program whose default (Debian) configuration file specifies > > options which are different from the compiled-in defaults. > > > > For specific examples, see al

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 07:06:22PM -0400, Matt Zimmerman wrote: > On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > > > For example... > > _Any_ program whose default (Debian) configuration file specifies options > which are different from the compiled-in defaults. > > For specific

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Mark Brown
On Wednesday, August 21, 2002, at 09:08 PM, Marc Singer wrote: Without a single example, I don't see how installing a configuration file where there is none can have *any* affect on the system. Admittedly, replacing a configuration file may be undesirable. In addition to the example of configuratio

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Matt Zimmerman
On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > For example... _Any_ program whose default (Debian) configuration file specifies options which are different from the compiled-in defaults. For specific examples, see almost any program on your system with a global config file. --

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Colin Watson
On Wed, Aug 21, 2002 at 03:12:37PM -0700, Marc Singer wrote: > On Wed, Aug 21, 2002 at 09:21:39PM +0100, Colin Watson wrote: > > On Wed, Aug 21, 2002 at 01:10:29PM -0700, Marc Singer wrote: > > > It would help to have an example. However, even if there is an > > > example I don't see how db.root f

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Andreas Rottmann
Marc Singer <[EMAIL PROTECTED]> writes: > Without a single example, I don't see how installing a configuration > file where there is none can have *any* affect on the system. > Admittedly, replacing a configuration file may be undesirable. > There might be (and surely are) programs, that will, gi

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 09:21:39PM +0100, Colin Watson wrote: > On Wed, Aug 21, 2002 at 01:10:29PM -0700, Marc Singer wrote: > > On Wed, Aug 21, 2002 at 03:00:52PM -0500, Steve Greenland wrote: > > > To be, perhaps, a little more explicit: there are programs for which > > > the existence of an empt

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 10:21:17PM +0200, Oliver Kurth wrote: > On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > > On Wed, Aug 21, 2002 at 09:42:53PM +0200, Josip Rodin wrote: > > > > > Sounds like you want dpkg --force-confmiss. > > > > > > > > I wouldn't expect that since the docum

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Colin Watson
On Wed, Aug 21, 2002 at 01:10:29PM -0700, Marc Singer wrote: > On Wed, Aug 21, 2002 at 03:00:52PM -0500, Steve Greenland wrote: > > To be, perhaps, a little more explicit: there are programs for which > > the existence of an empty configuration file means something completely > > different than a m

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Oliver Kurth
On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > On Wed, Aug 21, 2002 at 09:42:53PM +0200, Josip Rodin wrote: > > > > Sounds like you want dpkg --force-confmiss. > > > > > > I wouldn't expect that since the documentation states: > > > > > > confmiss: Always install a missing con

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 03:00:52PM -0500, Steve Greenland wrote: > On 21-Aug-02, 14:42 (CDT), Josip Rodin <[EMAIL PROTECTED]> wrote: > > On Wed, Aug 21, 2002 at 12:32:00PM -0700, Marc Singer wrote: > > > How could it be dangerous to install a *missing* configuration file? > > > > If the default c

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 10:04:28PM +0200, Josip Rodin wrote: > On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > > > > > Sounds like you want dpkg --force-confmiss. > > > > > > > > I wouldn't expect that since the documentation states: > > > > > > > > confmiss: Always install a mi

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Josip Rodin
On Wed, Aug 21, 2002 at 12:49:19PM -0700, Marc Singer wrote: > > > > Sounds like you want dpkg --force-confmiss. > > > > > > I wouldn't expect that since the documentation states: > > > > > > confmiss: Always install a missing configuration > > > file. This is dangerous, sinc

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Steve Greenland
On 21-Aug-02, 14:42 (CDT), Josip Rodin <[EMAIL PROTECTED]> wrote: > On Wed, Aug 21, 2002 at 12:32:00PM -0700, Marc Singer wrote: > > How could it be dangerous to install a *missing* configuration file? > > If the default configuration data in the file do something you don't want. > To be, perha

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 09:42:53PM +0200, Josip Rodin wrote: > > > Sounds like you want dpkg --force-confmiss. > > > > I wouldn't expect that since the documentation states: > > > > confmiss: Always install a missing configuration > > file. This is dangerous, since it means n

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Josip Rodin
On Wed, Aug 21, 2002 at 12:32:00PM -0700, Marc Singer wrote: > > > I'm confused by the behavior of apt-get install --reinstall. I found > > > out yesterday that the /etc/bind/db.root file was missing on my name > > > server. I was able to recover by linking to an old copy and > > > restarting bin

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
On Wed, Aug 21, 2002 at 08:24:58PM +0100, Colin Watson wrote: > On Wed, Aug 21, 2002 at 12:09:57PM -0700, Marc Singer wrote: > > I'm confused by the behavior of apt-get install --reinstall. I found > > out yesterday that the /etc/bind/db.root file was missing on my name > > server. I was able to

Re: When bind9 reinstalls, no db.root

2002-08-21 Thread Colin Watson
On Wed, Aug 21, 2002 at 12:09:57PM -0700, Marc Singer wrote: > I'm confused by the behavior of apt-get install --reinstall. I found > out yesterday that the /etc/bind/db.root file was missing on my name > server. I was able to recover by linking to an old copy and > restarting bind9. However, wh

When bind9 reinstalls, no db.root

2002-08-21 Thread Marc Singer
I'm confused by the behavior of apt-get install --reinstall. I found out yesterday that the /etc/bind/db.root file was missing on my name server. I was able to recover by linking to an old copy and restarting bind9. However, when deleted the link and performed the --reinstall command, the db.roo