Reboot/shutdown slow when not logged out.

New to Debian (Or Linux in general)? Ask your questions here!

Reboot/shutdown slow when not logged out.

Postby Hale » 2018-06-29 05:31

The bug is simple:
When rebooting from logged-in user environment, the shutdown/reboot cycles for long minutes around "...session c3 Debian-gdm", and "...User Manager for UID 115".
But if you log out first, the reboot/shutdown is performed for less than 10 seconds.

Probably, there is a conflict with shotdown sequence, but I have no idea how to correct it in systemd. In the past I was using only webmin in Turnkey Linux, where systemd services are represented in understandable way, above that, letter-labeling was used. Here, I have no idea where to look.
Hale
 
Posts: 13
Joined: 2018-06-29 04:12

Re: Reboot/shutdown slow when not logged out.

Postby bw123 » 2018-06-29 13:12

Hale wrote:The bug is simple:
<snip>
In the past I was using only webmin in Turnkey Linux, where systemd services are represented in understandable way, above that, letter-labeling was used. Here, I have no idea where to look.


Debian pkgs install a lot of documentation in /usr/share/doc, there is a wiki, man pages, all kept fairly current, and also a bug tracking system that can be very helpful. They are easy to find with a simple search on the internet.

If you think the bug is in gdm, I would look there, if you think systemd, then look at systemd?
User avatar
bw123
 
Posts: 3139
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Reboot/shutdown slow when not logged out.

Postby debiman » 2018-06-29 15:40

Hale wrote:the shutdown/reboot cycles for long minutes around "...session c3 Debian-gdm", and "...User Manager for UID 115".

i have seen this recently either here or on linuxquestions.org, please search.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Reboot/shutdown slow when not logged out.

Postby Hale » 2018-07-01 16:02

debiman, thanks. I know. I've seen a couple of topics, but no solution, other than workaround of logging out first.
For me, it really looks like the problem which was sometimes happening in pre7 Windows; a ratrace of services with incorrect load/shutdown sequence.
In systemd, there are smarter dependencies option, and alphabetical order in addition, but something is probably wrong. I am not that familiar with linux to fix it on my own. The problem seems frequent to Debian forks.


bw123, thank you so much again for sending me to void in Microsoft style. Offering Google, or simply, "check the power-plug" would be shorter; if ignoring the topic where you can not help is not possible.
Hale
 
Posts: 13
Joined: 2018-06-29 04:12

Re: Reboot/shutdown slow when not logged out.

Postby debiman » 2018-07-01 16:37

^ and there we go again... :roll:

fwiw, this does not happen on any of my systems. i don't use gnome or gdm.
so, in my eyes, that's much more likely to be the culprit.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Reboot/shutdown slow when not logged out.

Postby Hale » 2018-07-01 23:20

agree. when I tried KDE, I experienced generally keyboard input failing, but boot/shutdown was going smoothly. So well, yes, I think user is not kicked out in time by Gnome (should gdm do this?), when pushing the shutdown button. But I lack the knowledge of the process to check this. And whenever I have time for figuring this out, depends on how long devs of the software essential to me would fix bugs in windows.
Hale
 
Posts: 13
Joined: 2018-06-29 04:12

Re: Reboot/shutdown slow when not logged out.

Postby jibberjabber » 2018-07-01 23:40

I don't see what the bugs in windows and the amount of time it takes them to fix them has to do with this :?:
If you really have a "bug" and are using Debian, seems like the thing to do is file a bug report, then the developers can work in fixing it.
All though the Debian USERS here are often very knowledgeable and a lot of help, they are not developers, it is in the best interest to everyone involved to report bugs so they can be (maybe) fixed.
jibberjabber
 
Posts: 93
Joined: 2016-01-10 16:58

Re: Reboot/shutdown slow when not logged out.

Postby debiman » 2018-07-02 19:15

btw, agreed that some linux nerds can be a bit offhand in their replies, but there usually is some merit to it.
in other words, actually digging for documentation helps.
it might seem like a rabbit hole at first (to find out about the actual problem, you have to read about systemd first, then aboutgdm, then about syslogs...), but only the first few times, then one actually learns to find where problems originate.
it's the old adage of teaching someone to fish, instead of giving them a fish.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Reboot/shutdown slow when not logged out.

Postby Hale » 2018-07-03 04:11

well, I tried compiling the kernel a few times in 90s, built a few linux-based routers and samba-based servers. But still can not understand how can it help me in pinpointing the shutdown problem %( something weird. Devs... devs are engineers interested in new tech. Fixing release bugs is the final priority for them, until some manager comply on bad sales. Users on the other hand care about their own skin. Generally.
Hale
 
Posts: 13
Joined: 2018-06-29 04:12

Re: Reboot/shutdown slow when not logged out.

Postby debiman » 2018-07-03 15:03

"devs are engineers interested in new tech" - wot?
anyhow, i learned C++ in the 90s, but wouldn't be able to write even the simplest program nowadays.
so i don't really see what linux kernels of the 90s have to do with anything...
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable