Package: runit-services Version: 0.5.0 Severity: normal X-Debbugs-Cc: plore...@disroot.org
>From early testing of this package Martin Steigerwald wrote: > 2) Purging the package on a system with DBUS and SDDM is problematic. > It fails the purge cause it does not like to remove DBUS and SDDM > service directories while DBUS and SDDM are running. Thus the purge > operation fails. It asks to manually stop those services. For SDDM > this is easy. However DBUS just was started again. But maybe if I > would have stopped the Plasma desktop session before and stopped DBUS > on a TTY it would have worked. I bet this could use some explanation > for users who for whatever reason like to remove runit-services > again. What I did was just removing those service directories from > /etc/service myself using rm -r. By the way: Runit did not stop those > sddm then, or well at least the Plasma desktop session was still > running. A small number of services is marked "not safe to restart" because a restart can crash the graphic session on which the upgrade/removal/purge is performed. Example: dbus, lightdm, sddm, slim, xdm. So postrm of this package will not stop the above services on removal, and will fail to purge if one of the above services is still running as runit service. Not sure how to improve the situation here: stopping any display manager from within a graphic session would break purge in any case .. I'll see if it's acceptable to ignore dbus/elogind and/or to improve the message printed. >From some test it looks that my desktop (lxqt+openbox+slim) survives if only dbus is restarted, but some programs crash and other misbehave, I'll do more tests on other desktop environments. Probably this deserve its own section in the README. Lorenzo