Package: openbsd-inetd
Version: 0.20050402-5
Severity: normal

There's some cruft in my system's /etc:

547 {0} [EMAIL PROTECTED]:/etc# find -name "S20inetd" | xargs file
./rc2.d/S20inetd: broken symbolic link to `../init.d/inetd'
./rc3.d/S20inetd: broken symbolic link to `../init.d/inetd'
./rc4.d/S20inetd: broken symbolic link to `../init.d/inetd'
./rc5.d/S20inetd: broken symbolic link to `../init.d/inetd'

I spoke with Steve Langasek about this on IRC.  Replacing a package that
has conffiles is usually painful (I learned this from X, particularly with
the XKB data).

Here's what openbsd-inetd should probably do:
1) Ensure all those symlinks are removed.
2) Since /etc/init.d/inetd is a "dying" conffile, and not being "moved" to
   openbsd-inetd, the really polite thing to do would be to grab MD5 sums of
   the stock versions of that file from, say, the last stable and unstable
   releases of netkit-inetd, and check any lingering inetd conffile to see
   if it matches either of those sums.  If it does, remove it.  If it
   doesn't, leave it, as the administrator likely customized it (and might
   want to "port" his or her customizations over to openbsd-inetd's init
   script)..

You could do the above in preinst or postinst, whichever is convenient.
The postinst is probably less trouble, because that way you wouldn't have
to roll back what you did on a failed installation[1].

[1] Most maintainer scripts I've seen don't actually bother to carefully
    roll back what was done in the "install" and "upgrade" targets of the
    preinst in the "abort-install" and "abort-upgrade" targets of the
    postrm.  But that's what dpkg supports and the Policy Manual expects.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc-smp
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages openbsd-inetd depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libwrap0                    7.6.dbs-13   Wietse Venema's TCP wrappers libra
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  tcpd                        7.6.dbs-13   Wietse Venema's TCP wrapper utilit
ii  update-inetd                4.27-0.5     inetd.conf updater

openbsd-inetd recommends no packages.

-- no debconf information


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

Reply via email to