RE: Daemontools uninstall
Peter Wolfenden <[email protected]> Sun, 25 Apr 2010 07:15:52 -0700
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Fernando,
The sequence indicated below ought to work for daemontools 0.76
(gleaned from the following links:
<http://cmrg.fifthhorseman.net/wiki/runit>
<http://forum.qmailrocks.org/archive/index.php/t-2909.html>
<http://old.nabble.com/Re:-How-to-uninstall-djbdns--p1021494.html>)
Note that it makes sense to begin by uninstalling (or
modifying/migrating to another service management framework) any
software which you current have using "supervise" or "multilog".
"Unsupervise" any supervised services - for every supervised service
"foo":
svc -x /service/foo
cd /service
rm foo
Kill any instances of svcscan that are running:
ps -auxw | grep svscan
kill the PID(s) for svscan
Prevent svcscan from being launched on (re)boot:
vi /etc/rc.conf and remove the line that says
csh -cf '/command/svscanboot &'
Kill any instances of supervise that are (still) running:
ps -auxw | grep supervise
Kill any instances of readproctitle that are (still) running:
ps -auxw | grep readproctile
Remove the following files (from package manifest):
/usr/local/man/man8/envdir.8.gz=20
/usr/local/man/man8/envuidgid.8.gz=20
/usr/local/man/man8/fghack.8.gz=20
/usr/local/man/man8/multilog.8.gz=20
/usr/local/man/man8/pgrphack.8.gz=20
/usr/local/man/man8/readproctitle.8.gz=20
/usr/local/man/man8/setlock.8.gz=20
/usr/local/man/man8/setuidgid.8.gz=20
/usr/local/man/man8/softlimit.8.gz=20
/usr/local/man/man8/supervise.8.gz=20
/usr/local/man/man8/svc.8.gz=20
/usr/local/man/man8/svok.8.gz=20
/usr/local/man/man8/svscan.8.gz=20
/usr/local/man/man8/svscanboot.8.gz=20
/usr/local/man/man8/svstat.8.gz=20
/usr/local/man/man8/tai64n.8.gz=20
/usr/local/man/man8/tai64nlocal.8.gz=20
/usr/local/bin/svscan=20
/usr/local/bin/svscanboot=20
/usr/local/bin/supervise=20
/usr/local/bin/svc=20
/usr/local/bin/svok=20
/usr/local/bin/svstat=20
/usr/local/bin/fghack=20
/usr/local/bin/pgrphack=20
/usr/local/bin/multilog=20
/usr/local/bin/tai64n=20
/usr/local/bin/tai64nlocal=20
/usr/local/bin/softlimit=20
/usr/local/bin/setuidgid=20
/usr/local/bin/envuidgid=20
/usr/local/bin/envdir=20
/usr/local/bin/setlock=20
/usr/local/bin/readproctitle=20
/usr/local/etc/rc.d/svscan.sh.sample
-----Original Message-----
From: Daryl Tester [mailto:[email protected]]=20
Sent: Sunday, April 25, 2010 5:51 AM
To: multilog list
Subject: Re: Daemontools uninstall
Fernando Morgenstern wrote:
> I'm not sure this isn't the correct list ( probably not ) but i
> couldn't find the right one at http://cr.yp.to/lists.html.
Probably the closest list that there is.
> Anyway, could someone tell me how to uninstall daemontools?
> I couldn't find any info on the .tar.gz file or at google.
It's not really designed to be uninstalled. I typically take snapshots
of all the filenames on this system before and after installing these
sorts of tools and compare them so I know what additions have been made,
but that's not going to help you here. I think your best bet is to look
at the list of files listed in .../package/commands and remove those
by hand. Also manually check how your svscanboot is being initiated
and "reverse the damage" done by that. Or just ignore it - if you're
not using the tools, it's not like it's bloatware occupying gigabytes
of disk space.
--=20
Regards,
Daryl Tester
Member of the Amalgamated Australian Association Against Apostrophe
Abuse.
(formerly the 6A's - no, wait ...).