[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 <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpluskal@suse.com -- 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#c10 Antoine Belvire <antoine.belvire@laposte.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antoine.belvire@laposte.net --- Comment #10 from Antoine Belvire <antoine.belvire@laposte.net> --- Hello, (In reply to Dr. Werner Fink from comment #3)
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 <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(sndirsch@suse.com | |) | --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> --- Werner, that's one commit from about 1100 between xorg-server 1.15.2 and 1.16.0. Unfortunately you're wrong when thinking anybody would go over all patches before updating the xorg-server tarball. :-( BTW, this change is already in since openSUSE 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 http://bugzilla.opensuse.org/show_bug.cgi?id=934901#c13 --- Comment #13 from Cristian Rodríguez <crrodriguez@opensuse.org> --- (In reply to Antoine Belvire from comment #10)
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 <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |systemd-maintainers@suse.de Flags| |needinfo?(systemd-maintaine | |rs@suse.de) --- Comment #14 from Marcus Rückert <mrueckert@suse.com> --- until the Xorg issue is resolved: can we comment out the logind restart for now? -- 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#c18 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com --- Comment #18 from Frederic Crozat <fcrozat@suse.com> --- What is the status here ? it does affect upcoming Leap 42.1 too :( -- 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#c20 Andrei Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com --- Comment #20 from Andrei Borzenkov <arvidjaar@gmail.com> --- (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. -- 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 <dimstar@opensuse.org> --- (In reply to Andrei Borzenkov from comment #20)
(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 <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lmuelle@suse.com -- 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#c22 Bjørn Lie <zaitor@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zaitor@opensuse.org --- Comment #22 from Bjørn Lie <zaitor@opensuse.org> --- Created attachment 649731 --> http://bugzilla.opensuse.org/attachment.cgi?id=649731&action=edit journald from Leap Just had systemd-logind die on me in my Leap vm when zypper dupping it (happend during install of a systemd update). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com