0

I want to update the libc6 package on a running production server without incurring downtime.

AFAIK pretty much everything on the system depends on libc6 either directly or indirectly:

$ sudo apt-cache rdepends libc6 | wc -l
21026

It would be possible to go through and one-by-one restart/reload services that depend on it, but there's a chance that I'd miss one or more.

Obviously a reboot would get 100% of the necessary services, but I'd like to hear if anyone has a standard solution for either accomplishing this in a quick, repeatable way, or at least a way to make it easier.

1 Answer 1

2

you can use checkrestart utility from debian-goodies package and restart only listed services

1
  • Thanks, checkrestart looks really useful. Unfortunately the list of services that it gives me is almost every service - seems like I might have to figure out the best way to allow for a reboot
    – wwarren
    Mar 21, 2017 at 16:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .