On Sun, 2016-01-03 at 19:43 +0100, Marco d'Itri wrote: > On Jan 03, Andreas Henriksson <andr...@fatal.se> wrote: > > > First, it would be nice to have a preinst check if the system has any > > running services that uses ProtectSystem and offer a choice to stop > > (and restart) them in case having them running is really a problem... > I will think about this, I need to check how much complex it would be to > lift the related debconf code from the glibc package. :-) > But this is only useful if every service can actually be restarted: as > soon as any of them (what about dbus?) cannot be stopped and restarted > later without causing troubles then this would be a waste of time. > > > Second, as you already noted in your TODO I think it's probably a > > good idea to turn the initramfs preinst check into a debconf prompt. > I just have not found yet how to determine if the system was booted > using an initramfs or not. Does anybody have any hint? [...]
test -d /run/initramfs -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part