summaryrefslogtreecommitdiff
path: root/src/shutdownd.c
AgeCommit message (Collapse)Author
2012-04-12move all tools to subdirsKay Sievers
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-04-11shutdownd: rework interface, allow subscribing to scheduled shutdownsLennart Poettering
This extends the shutdownd interface to expose schedule shutdown information in /run/systemd/shutdown/schedule. This also cleans up the shutdownd protocol and documents it in a header file sd-shutdown.h. This is supposed to be used by client code that wants to control and monitor scheduled shutdown.
2012-01-12core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering
2012-01-05build-sys: move public header files into a dir of their ownLennart Poettering
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