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.

wwarren
  • 264
  • 1
  • 2
  • 10

1 Answers1

2

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

Quantim
  • 1,269
  • 11
  • 13
  • 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 '17 at 16:25