On Friday 13 April 2001 10:19, R.I.P. Deaddog wrote:
> On Fri, 13 Apr 2001, Ed Wilts wrote:
> > The Samba uninstall utility appears to be dependent on inetd, not xinetd,
> > and does not function properly with just xinetd installed.  By looking at
> > the code, I think it will leave around swat in /etc/services.  I haven't
> > tested this, since I can't afford to uninstall samba on this system.
>
> [snip]
>
> >         perl -ni -e 'print unless (/^swat\W+/ || /^#swat\W+/)'
> > /etc/inetd.conf perl -ni -e 'print unless /^swat\W+/' /etc/services
> >     service xinetd reload &>/dev/null || :
>
> No, it will work, just a little ugly. since inetd is no more now,
> modifying /etc/inetd.conf is harmless. Besides, leaving some extra entries
> in /etc/services isn't harmful at all too. Since /etc/xinetd.d/swat is
> removed, xinetd will reload without swat entry and everything is fine.

Actually, no.  The very first line that you cut checked for the existence of 
inetd.conf.  If it doesn't exist, nothing hapens, so swat remains in 
/etc/services, and xinetd will not be reloaded.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]

Reply via email to