Matthew Palmer wrote:
> On Thu, Dec 04, 2003 at 02:39:50PM +1100, Michael Lake wrote: >>Removing exim ... >>Stopping MTA: exim. >>/var/lib/dpkg/info/exim.prerm: update-inetd: command not found >>dpkg: error processing exim (--remove): >> subprocess pre-removal script returned error exit status 127 >> >>The reason why it barfed at trying to run update-inetd is that the >>package netlit-inetd is not there as its been removed by me. The reason >>why its removed is that the server is running nothing from inetd and >>does not have an inetd. > Well, I guess you just found out why it's a bad idea to remove > netkit-inetd... > Quick and dirty fix is to create an empty script in /usr/sbin/update-inetd. okies thats something I had not thought of. I was a bit wrong too; update-inetd belongs to netbase but it expects to find /etc/inetd.conf or xinetd.conf Looking a update-inetd script it just exits with 0 if OK so I could just add an option taht if neither exist to exit with 0 inetd is removed as it is not needed. Thats one less daemon that crackers can attempt to exploit. Given that Debian and now Gentoo have been breached, and that I am a newbie sysadmin, I am trying to reduce potential holes that can be used. The Securing Debian is quite good, been reading it. Mike -- Mike Lake Caver, Linux enthusiast and interested in anything technical. UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
