supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Runit-run and socklog-run upgrades on Debian sid, be careful!
@ 2006-03-22 15:23 Kevin
  2006-03-22 19:38 ` Matthew R. Dempsky
  2006-04-01  8:31 ` Gerrit Pape
  0 siblings, 2 replies; 4+ messages in thread
From: Kevin @ 2006-03-22 15:23 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

I discovered this morning when upgrading my sid box, that runit-run and 
socklog-run both failed in interesting ways.

Runit-run replaces the getty links in /var/service with new ones 
in /etc/sv.  If you're running the upgrade from a getty, the getty will 
die when its service dir link is removed to be replaced, leaving 
non-functional services.  I was able to get in via ssh and fix the links 
so that the getty's worked, and also tested not-fixing them and letting 
dpkg --configure -a finish the job.  Both worked.  

The next problem is less of a show-stopper, but still needs to be paid 
attention to.  Socklog-run upgrade similar replaces the 
old /etc/socklog-? links with /etc/sv/socklog-?.  but it doesn't remove 
the old symlinks in /var/service first, and so ln fails because the 
target already exists.  Removing the old links allows the postinst 
portion of the deb installation to finish.

I'm not sure there are good ways to get around this on an upgrade of these 
packages, so I'm uncertain if I should try to file a bug report.  Any 
thoughts?

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-01  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-22 15:23 Runit-run and socklog-run upgrades on Debian sid, be careful! Kevin
2006-03-22 19:38 ` Matthew R. Dempsky
2006-03-23  6:34   ` Joshua N Pritikin
2006-04-01  8:31 ` Gerrit Pape

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).