[systemd-devel] Workaround for system upgrade bug suggestions

Barry barry at barrys-emacs.org
Mon Nov 2 22:20:44 UTC 2020



> On 2 Nov 2020, at 14:45, Lennart Poettering <lennart at poettering.net> wrote:
> 
> On Do, 29.10.20 20:32, Barry Scott (barry at barrys-emacs.org) wrote:
> 
>> There is a bug with the system upgrade of fedora that
>> user services run while the system is doing the upgrade.
>> 
>> https://bugzilla.redhat.com/show_bug.cgi?id=1829799
>> 
>> Clearly I do not want to have my user's user services running
>> when I do the F33 upgrade.
>> 
>> What workaround do you suggest that I use while updating
>> my systems to F33?
> 
> Hmm, the user services get run only if user sessions are instantiated
> (or if you enabled "lingering" for users, via "loginctl enable-linger").

Yes.

> So what sessions are those? Or do you have lingering enabled?

I use them for fetching mail and other tasks.
Linger is enabled.

> Do you maybe have cronjobs for the user installed?

System use timer units.

The key fact is that I am doing a system upgrade from old fedora to a new release.

During a system upgrade it is a bug that user services are running.

dnf system-upgrade reboot
System reboots
Dnf is installling rpms but user services are running.

I am repeating this, but it is the bug report.
I provided the logs that show this is true.

What is the work around until the bug is fixed?

Barry

> 
> Lennart
> 
> --
> Lennart Poettering, Berlin
> 



More information about the systemd-devel mailing list