>>>>> "Peter" == Peter Palfrader <[EMAIL PROTECTED]> writes:
Peter> On Mon, 11 Dec 2006, Peter Palfrader wrote: >> It solves the issue at hand but has a few problems: - purge now >> no longer removes kprop from inetd.conf: #krb_prop stream tcp >> nowait root /usr/sbin/tcpd /usr/sbin/hpropd Peter> Apparently it didn't do that before either, and it appears Peter> to be pretty common to leave commented lines lying around Peter> in inetd.conf. So this could be ignored. >> - on upgrades it also leaves kerberos-adm disabled: >> [EMAIL PROTECTED]:/tmp/buildd# tail -n2 /etc/inetd.conf I am just uploading version -7 to Debian now, it should solve the later problem. I deleted the prerm script, and changed the postinst script to: === cut === case "$1" in abort-upgrade | abort-deconfigure | abort-remove) ;; configure) if [ -n "$2" ] then add_servers elif dpkg --compare-versions "$2" le "0.7.2.dfsg.1-6" then enable_servers fi ;; *) printf "$0: incorrect arguments: $*\n" >&2 exit 1 ;; esac === cut ==== I think this should do the right thing for all cases. Purge still doesn't delete the hprop entry, not sure what is going on here. The actual code uses regexps, and as far as I can tell it shouldn't matter if it is enabled or disabled: === cut === remove_servers() { update-inetd --remove 'kerberos-adm[ \t].*[ \t]/usr/lib/heimdal-servers/kadmind' update-inetd --remove 'krb_prop[ \t].*[ \t]/usr/sbin/hpropd' } === cut === -- Brian May <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]