Bug 365212 - Neon 5.7 - Shutdown fails - hangs
Summary: Neon 5.7 - Shutdown fails - hangs
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 21:02 UTC by pmb
Modified: 2016-10-19 15:39 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pmb 2016-07-07 21:02:40 UTC
Just downloaded and installed Neon 5.7 today - looking good!

I finished the install and clicked 'Restart' (from memory) and the 5.7 spinning logo continued on and on.

I logged into the installed version, downloaded the updates, and clicked 'Shutdown'. The same action happened again. The logo continued to spin. I waited 5 minutes and manually powered down from an electrical switch.

I am somewhat lost here because I cannot tell you if any hard drive activity was happening because I do not have a hard drive activity light.

Hope this helps.


Reproducible: Always

Steps to Reproduce:
1. Open a hard drive session
2. Click 'Shutdown'.
3.


Actual Results:  
 5.7 logo keeps spinning with no other apparent activity


Expected Results:  
After Neon writes whatever to the hard drive then the screen should go blank and the computer powers down


I do not see any negative effects to the next KDE power up session

I changed the severity because the software does hang. I do not think that this is really applicable here but it fits the description.

If you can advise me how to capture this in a log file or where a log file maybe then I would forward you the information.
Comment 1 Harald Sitter 2016-07-08 09:36:16 UTC
(In reply to pmb from comment #0)
> I logged into the installed version, downloaded the updates, and clicked
> 'Shutdown'. The same action happened again. The logo continued to spin. I
> waited 5 minutes and manually powered down from an electrical switch.

Ok, so, this is fairly important. Did you actually wait >= 5 minutes or did you wait for what you perceived to be 5 minutes?

If you actually waited for 5 minutes -> https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 -> you'll want to file a bug report with Ubuntu since this isn't a neon issue.

If you did not wait for actually 5 minutes -> do it please.
- If it does not complete within 5 minutes refer to the debugging instructions above.
- If it does, also refer to the debugging instructions above (the ones for eventual shutdown obviously). I am reasonably certain what happens is that an application crashed on exit and is holding up session shutdown though.
Comment 2 pmb 2016-07-08 13:55:15 UTC
Harald Sitter  - Thank You for the reply

The power down happened quite a few times over several hours and Yes I did wait longer than 5 minutes. Actually I made a cup of tea during the interval. I wanted to make sure that the post hard drive activity was stopped for sure.

I followed your link and the techie information is above my pay grade but I will try to muddle through it.
Comment 3 Jonathan Riddell 2016-10-19 15:39:20 UTC
should be handled by settings updates in neon-settings

/lib/systemd/system.conf.d/40_kde_neon_destroyer_of_worlds.conf
[Manager]
DefaultTimeoutStopSec=8s
/usr/lib/systemd/logind.conf.d/40_kde_neon_allyourprocessarebelongtous.conf
[Login]
KillUserProcesses=1

so processes are killed during shutdown