Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

shutown never shows the services as it shuts down except ...

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
morse_the_horse
Posts: 66
Joined: 2013-06-29 22:07

shutown never shows the services as it shuts down except ...

#1 Post by morse_the_horse »

I execute the shutdown command by clicking on a desktop app that contains the following:

$more shutdown.desktop
[Desktop Entry]
Name=shutdown
Exec=/usr/sbin/shutdown -h now
Comment=Shutdown
Terminal=false
Icon=system-shutdown
Type=Application

It always works fine. However, it "NEVER" shows the services shutting down but simply shows one line that says "Reboot: Power down". However, once or twice in about every 50 times, it does indeed show as the services are stopping and shows the green [OK]. Anybody know why? Note, on power up, the services always show as they start.

Oh, and doing "shutdown -h now" from a terminal does the same thing.

Debian buster kept up to date with Cinnamon Desktop and Gnome Display Manager if that is of any consequence.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: shutown never shows the services as it shuts down except

#2 Post by Head_on_a_Stick »

morse_the_horse wrote:Exec=/usr/sbin/shutdown -h now
Check

Code: Select all

ls -l /usr/sbin/shutdown
I think systemd is trying to emulate the old-style shutdown sequence because you've invoked it with an obsolete command.

Try this instead:

Code: Select all

Exec=systemctl poweroff
deadbang

morse_the_horse
Posts: 66
Joined: 2013-06-29 22:07

Re: shutown never shows the services as it shuts down except

#3 Post by morse_the_horse »

Head_on_a_Stick wrote:
morse_the_horse wrote:Exec=/usr/sbin/shutdown -h now
Check

Code: Select all

ls -l /usr/sbin/shutdown
I think systemd is trying to emulate the old-style shutdown sequence because you've invoked it with an obsolete command.

Try this instead:

Code: Select all

Exec=systemctl poweroff
Nope. Worked just like the shutdown command. Got just the power down line every time until once today. Last execution showed the services stopping lines before shutting down.

Code: Select all

[Desktop Entry]
Name=shutdown
Exec=systemctl poweroff
Comment=Shutdown
Terminal=false
Icon=system-shutdown
Type=Application

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: shutown never shows the services as it shuts down except

#4 Post by Head_on_a_Stick »

Try enabling early KMS for your graphics card (add the driver to the initramfs).
deadbang

Post Reply