On Fri, 12 Jan 2007, Guillem Jover wrote: > Hi, > > On Thu, 2007-01-11 at 13:40:21 +1100, Brian May wrote: > > We really need a constant way of dealing with this in package updates. > > > > It seems to boil down to: > > > > * should packages disable inetd config entries on removal and in > > preparation for upgrade, and then reenable the entries after upgrade > > is complete? > > I agree with Andreas, if you don't have to change the current entry I > don't see the point in enabling and disabling it. And I'm removing the > entries on package removal.
Part of the problem is that kerberos destroys my configuration on upgrades from sarge. Whatever I had configured, after upgrade the package is disabled. This is how this whole thing started out. And that bug is still not fixed. > > * what about entries that should be disabled by default? That is the > > maintainer has decided the majority of users will not need it? > > I'm installing entries disabled by default, and although my current > approach feels a bit dirty, seems to work. For example the snippets > for inetutils-telnetd: Asking debconf questions whether the entry should be removed when the package is removed/purged certainly feels like debconf abuse. It should either disable or remove them. No point in asking. Also, your current approach results in ugly duplicate lines: | intrepid:~# grep telnetd /etc/inetd.conf | telnet stream tcp nowait root /usr/sbin/telnetd telnetd | intrepid:~# dpkg -i /var/cache/apt/archives/inetutils-telnetd_2%3a1.5.dfsg.1-2_i386.deb | (Reading database ... 124130 files and directories currently installed.) | Preparing to replace inetutils-telnetd 2:1.5.dfsg.1-2 (using .../inetutils-telnetd_2%3a1.5.dfsg.1-2_i386.deb) ... | Unpacking replacement inetutils-telnetd ... | Setting up inetutils-telnetd (1.5.dfsg.1-2) ... | | intrepid:~# grep telnetd /etc/inetd.conf | telnet stream tcp nowait root /usr/sbin/telnetd telnetd | #<off># telnet stream tcp nowait root /usr/sbin/telnetd telnetd Peter -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]