Bug 434261 - Updates released on 10.03.2021 terminate session
Summary: Updates released on 10.03.2021 terminate session
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-10 23:12 UTC by Riccardo Robecchi
Modified: 2021-03-12 15:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
term.log from apt full-upgrade today user edition (123.95 KB, text/x-log)
2021-03-12 10:39 UTC, Jonathan Riddell
Details
dpkg.log from full-upgrade upgrade today (303.56 KB, text/x-log)
2021-03-12 10:39 UTC, Jonathan Riddell
Details
Logs (98.77 KB, application/gzip)
2021-03-12 10:47 UTC, Riccardo Robecchi
Details
syslog excerpt (7.25 KB, text/plain)
2021-03-12 14:29 UTC, nttkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2021-03-10 23:12:32 UTC
SUMMARY
I found a round of updates to Neon available today. I installed them through Discover. Much to my surprise, the session was terminated near the end of the update process. The same happened when I updated another computer and a tablet, so this does not seem like an incident specific to a single machine. I suspect this has to do with SDDM, which was part of the round of updates.

STEPS TO REPRODUCE
1. Update packages

OBSERVED RESULT
The session is terminated with no warning.

EXPECTED RESULT
The session continues normally.

SOFTWARE/OS VERSIONS
Linux: KDE Neon
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This problem seems to affect both X.org and Wayland.
Comment 1 Harald Sitter 2021-03-12 10:29:46 UTC
I've failed to reproduce this on a number of different user edition installation.

Upload /var/log/dpkg.log and /var/log/apt/term.log I guess, perhaps they contain a lead.
Comment 2 Jonathan Riddell 2021-03-12 10:39:01 UTC
Created attachment 136605 [details]
term.log from apt full-upgrade today user edition

term.log from apt full-upgrade today
Comment 3 Jonathan Riddell 2021-03-12 10:39:20 UTC
Created attachment 136606 [details]
dpkg.log from full-upgrade upgrade today
Comment 4 Jonathan Riddell 2021-03-12 10:39:37 UTC
I did an apt full-upgrade today on user edition and it did log me out and restart Plasma.
Comment 5 Riccardo Robecchi 2021-03-12 10:47:31 UTC
Created attachment 136609 [details]
Logs

Here are the two files as requested (compressed for convenience). Please note the files come from my tablet, on which I installed KDE Neon User Edition on the very same day as the bug showing up. The only change to configuration I made was to set up my WiFi network, I haven't even installed additional software yet so the system can be considered as close to vanilla as possible.
Comment 6 nttkde 2021-03-12 14:29:24 UTC
Created attachment 136610 [details]
syslog excerpt

I noticed the session termination too. I'm using KDE Neon User edition.

I attached a syslog excerpt (a few irrelevant lines of personal info removed).
It starts from packagekitd preparing sddm, then somewhere after it's making settings for sddm, x11 dies and systemd stops sddm. packagekitd finishes installing sddm and sddm is started again.
Comment 7 Jonathan Riddell 2021-03-12 15:36:53 UTC
Seems debhelper wanted to restart SDDM for no good reason.  We jigged the postinst script and today's update of SDDM can be installed without problem.  Sorry for the breakage, thanks for the report.