summaryrefslogtreecommitdiff
path: root/src/shutdownd.c
AgeCommit message (Collapse)Author
2011-11-30shutdownd: use PassCred=yes in the socket unitMichal Schmidt
Since Linux 3.2 in order to receive SCM_CREDENTIALS it is not sufficient to set SO_PASSCRED just before recvmsg(). The option has to be already set when the sender sends the message. With socket activation it is too late to set the option in the service. It must be set on the socket right from the start. See the kernel commit: 16e57262 af_unix: dont send SCM_CREDENTIALS by default Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=757628
2011-08-01umask: change default umask to 0022 just to be sure, and set it explicitly ↵Lennart Poettering
in all binaries, in order to make sure it is set when started from the terminal
2011-07-03shutdown: print the standard wall message even when the user provided oneMichal Schmidt
Print the user-provided wall message in addition to the standard one, not instead of it. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=624149
2011-07-03shutdown: respect the dry run option '-k'Michal Schmidt
Don't do the actual power-off/reboot when '-k' is passed to shutdown. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=624149
2011-06-21util: make a couple of files we write atomicLennart Poettering
2011-04-04change remaining /var/run to /runKay Sievers
2011-03-31src: our lord is coverityLennart Poettering
2010-11-12ask-password: don't show wall message on ttys we are already running a tty ↵Lennart Poettering
agent on
2010-10-07shutdown: create /var/run/nologin instead of /etc/nologin which is supported ↵Lennart Poettering
since PAM 1.1.2
2010-08-31systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering
standards
2010-08-16shutdownd: kill /etc/nologin file before we go downLennart Poettering
2010-08-16shutdown: various fixes for handling of delayed shutdownsLennart Poettering
2010-08-16log: properly open log target in the various utilitiesLennart Poettering
2010-08-16util: use format_timestamp() instead of ctime() wherever possibleLennart Poettering
2010-08-16systemctl: warn in intervals before going down when delayed shutdown is usedLennart Poettering
2010-08-16shutdown: if now time argument is passed, imply +1 not +0Lennart Poettering
That should friendlier for folks who just run "shutdown" to figure out the command line arguments... https://bugzilla.redhat.com/show_bug.cgi?id=624149
2010-08-16systemctl: add support for delayed shutdown, similar to sysv in styleLennart Poettering