From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1086 Path: news.gmane.org!not-for-mail From: Kevin Newsgroups: gmane.comp.sysutils.supervision.general Subject: Runit-run and socklog-run upgrades on Debian sid, be careful! Date: Wed, 22 Mar 2006 09:23:50 -0600 Organization: The Dyslexic Chicken Parade Message-ID: <200603220923.57498.spamite@ev1.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2019542.Wpili8Fx8N"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143040915 9450 80.91.229.2 (22 Mar 2006 15:21:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Mar 2006 15:21:55 +0000 (UTC) Original-X-From: supervision-return-1322-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Mar 22 16:21:53 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FM59W-0005Tc-2q for gcsg-supervision@gmane.org; Wed, 22 Mar 2006 16:21:38 +0100 Original-Received: (qmail 17154 invoked by uid 76); 22 Mar 2006 15:21:58 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 17148 invoked from network); 22 Mar 2006 15:21:58 -0000 Original-To: supervision@list.skarnet.org User-Agent: KMail/1.9.1 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1086 Archived-At: --nextPart2019542.Wpili8Fx8N Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I discovered this morning when upgrading my sid box, that runit-run and=20 socklog-run both failed in interesting ways. Runit-run replaces the getty links in /var/service with new ones=20 in /etc/sv. If you're running the upgrade from a getty, the getty will=20 die when its service dir link is removed to be replaced, leaving=20 non-functional services. I was able to get in via ssh and fix the links=20 so that the getty's worked, and also tested not-fixing them and letting=20 dpkg --configure -a finish the job. Both worked. =20 The next problem is less of a show-stopper, but still needs to be paid=20 attention to. Socklog-run upgrade similar replaces the=20 old /etc/socklog-? links with /etc/sv/socklog-?. but it doesn't remove=20 the old symlinks in /var/service first, and so ln fails because the=20 target already exists. Removing the old links allows the postinst=20 portion of the deb installation to finish. I'm not sure there are good ways to get around this on an upgrade of these= =20 packages, so I'm uncertain if I should try to file a bug report. Any=20 thoughts? --nextPart2019542.Wpili8Fx8N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEIWwNeG1uZde00Q4RAik2AKCGvhbB3Z1q95wByYHKHacAHJOJ5QCfRpZ0 pTDNjOfaYyhUJ7B5PtfyU70= =ewaP -----END PGP SIGNATURE----- --nextPart2019542.Wpili8Fx8N--