All Questions
148
questions
2
votes
0
answers
2k
views
Shutdown command no longer broadcasts messages
The shutdown command has stopped broadcasting messages like this:
luzar@ubuntu:~$ sudo shutdown -h -P +3 Please save your work now!
Broadcast message from luzar@ubuntu
(/dev/pts/0) at 11:57 ....
1
vote
2
answers
346
views
What happens if shutdown command kills my unison cron job?
I have an Arch linux box at home that I power off quite frequently (the power supply is noisy and it annoys my girlfriend...!).
The box has a number of cron jobs running the unison utility, designed ...
1
vote
5
answers
2k
views
Use the command line (or python) to gradually shutdown a gui program
Is it possible to use the command line (or python) to gradually shutdown a gui program?
For instance, would it be possible to gradually shutdown programs (such as pressing the X in the window, not ...
1
vote
1
answer
124
views
Shutdown after N invalid attempts (lockscreen + tty)
I've seen this question on AskUbuntu about monitoring lockscreen. However, imagine having an encrypted drive + home partition. Both are mounted and available while you are logged in.
The thing is, ...
1
vote
1
answer
2k
views
Finding a cause of shutdown/sleep
My server running is Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux.
About once a day, sometimes once every two days is shut down - It isn't really shut down, it seems like its sleeping ...
1
vote
1
answer
4k
views
How to automatically unmount encrypted loop device at shutdown?
I'm using debian testing, and I have a file, it's a LUKS container with ext4 filesystem. My system mounts it with every boot. I had to use the three following files in order to do so:
/etc/crypttab
...
1
vote
2
answers
1k
views
Are very long shutdown times common when booting from NVMe?
As per subject I've just installed a Samsung 970 Evo and made it my bootable disk.
Start-up time is not much different from an SSD, shutdown time is taking 10+ minutes.
I am running Ubuntu 18.04.3 ...
1
vote
1
answer
2k
views
Wait for *user* service to gracefully exit before machine shutdown/reboot
I've been managing all my user level processes using systemctl --user, which provides a lot of great benefits including the ability to auto-restart on error, process dependencies, etc.
However, one ...
1
vote
1
answer
3k
views
systemd service on startup and on shutdown requiring network access Linux Mint 19.1
I'm trying to setup a systemd service which executes a script after the system is fully booted (internet access is required) and also executes a different script right before the system shuts down or ...
1
vote
1
answer
606
views
Poweroff Lenovo Flex 2-15 notebook in Linux
I have a Lenovo Flex 2-15 notebook.
When I try to shut down my laptop using poweroff/shutdown commands or using the GUI, it shuts down completely, but after a few seconds, it turns on automatically! (...
1
vote
1
answer
21k
views
shutdown vs shutdown now - shutting down system as non-root
I just observed something strange.
Logged into an archlinux system as a non-privileged user, I executed shutdown. As expected, it returned Must be root.
To my surprise, executing shutdown now it (...
1
vote
1
answer
92
views
Are upstart jobs guaranteed to be given time to run?
I am writing an upstart job that runs a shell script at startup and shutdown which synchronizes some files with a remote machine using rsync. The script can sometimes take a long time to complete if ...
1
vote
1
answer
314
views
No guest shutdown in Linux/Ubuntu?
I had to shut down a bunch of Linux boxes tonight because we have an upcoming power outage for the whole building. I did not know any passwords for most of the boxes.
So, (on the Ubuntu desktop) I ...
1
vote
1
answer
980
views
My new servers will shutdown instead of rebooting when I do init 6 or equivalent, any idea?
I have 2 new Supermicro servers (5037C-T) with Ubuntu 12.10 and when I try to reboot the machine I instead get a nice shutdown.
Interestingly enough, the reboot command in the BIOS or grub work ...
1
vote
1
answer
714
views
Receive shutdown broadcast notification in desktop (GNU/Linux, Gnome)
When
# shutdown +5
is run all the terminals (including pseudo terminals) are sent broadcast messages saying system is about to go down.
Is it possible for user to receive this in the form of OSD or ...