Hi Tormod

Am 10.01.21 um 15:12 schrieb Tormod Volden:
I should add that although we added the
debian/xscreensaver.user.service file in 5.44+dfsg1-2, we are using
"dh_installsystemduser --no-enable" since 5.45+dfsg1-1, so it won't be
enabled for the lightdm user in new installs or upgrades skipping
5.44+dfsg1-2. It will now only be enabled for those individual users
who themselves enable it as described in README.Debian. So adding the
ConditionUser=!@system to the unit now won't help us much - only if
someone got it globally enabled by 5.44+dfsg1-2. I guess we instead
should explicitly disable it globally in xscreensaver.postinst to
clean this up for those who had 5.44+dfsg1-2 installed.

If you want to clean up this state, I would propose to use the following

deb-systemd-helper --user purge xscreensaver.service >/dev/null || true
deb-systemd-helper --user unmask xscreensaver.service >/dev/null || true

Guarded by a version check.
This will remove the (global) enablement symlink and purge the init-system-helpers state.

Regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to