[Bug 934901] New: Do not restart systemd-logind during package update
http://bugzilla.opensuse.org/show_bug.cgi?id=934901 Bug ID: 934901 Summary: Do not restart systemd-logind during package update Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: systemd-maintainers@suse.de Reporter: mrueckert@suse.com QA Contact: qa-bugs@suse.de CC: coolo@suse.com, dimstar@opensuse.org, security-team@suse.de Found By: --- Blocker: --- If you are running the factory update from your X session, the session gets killed when logind restarts and consequently it kills the zypper. Would it be a bad idea to not restart this service? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c10
Antoine Belvire
The only place where a try-restart is done is in %postun
%postun /sbin/ldconfig if [ $1 -ge 1 ]; then /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : fi
According to this commit's description: http://cgit.freedesktop.org/xorg/xserver/commit/?id=dc48bd653c7e1013e2d69e3f..., one shouldn't restart systemd-logind while an X session using it is still active. At least, for the moment. Regards. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c12
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c13
--- Comment #13 from Cristian Rodríguez
According to this commit's description: http://cgit.freedesktop.org/xorg/xserver/commit/ ?id=dc48bd653c7e1013e2d69e3f59ae3cbc0c893473, one shouldn't restart systemd-logind while an X session using it is still active. At least, for the moment.
Regards.
This is incorrect.. it has to reconnect instead. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c14
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c18
Frederic Crozat
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c20
Andrei Borzenkov
BTW, this change is already in since openSUSE 13.2.
I do not remember X11 session killed during systemd update on 13.2, so something must be different here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c21
--- Comment #21 from Dominique Leuenberger
(In reply to Stefan Dirsch from comment #12)
BTW, this change is already in since openSUSE 13.2.
I do not remember X11 session killed during systemd update on 13.2, so something must be different here.
Of course - systemd-logind is actually being used - unlike in 13.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
Lars Müller
http://bugzilla.opensuse.org/show_bug.cgi?id=934901
http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c22
Bjørn Lie
participants (1)
-
bugzilla_noreply@novell.com