summaryrefslogtreecommitdiff
path: root/src/shutdownd.c
Commit message (Collapse)AuthorAgeFilesLines
* core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering2012-01-121-1/+1
|
* build-sys: move public header files into a dir of their ownLennart Poettering2012-01-051-1/+2
|
* shutdownd: use PassCred=yes in the socket unitMichal Schmidt2011-11-301-6/+0
| | | | | | | | | | | | | | 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
* umask: change default umask to 0022 just to be sure, and set it explicitly ↵Lennart Poettering2011-08-011-0/+2
| | | | in all binaries, in order to make sure it is set when started from the terminal
* shutdown: print the standard wall message even when the user provided oneMichal Schmidt2011-07-031-21/+17
| | | | | | | 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
* shutdown: respect the dry run option '-k'Michal Schmidt2011-07-031-1/+1
| | | | | | 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
* util: make a couple of files we write atomicLennart Poettering2011-06-211-1/+1
|
* change remaining /var/run to /runKay Sievers2011-04-041-4/+4
|
* src: our lord is coverityLennart Poettering2011-03-311-1/+1
|
* ask-password: don't show wall message on ttys we are already running a tty ↵Lennart Poettering2010-11-121-2/+2
| | | | agent on
* shutdown: create /var/run/nologin instead of /etc/nologin which is supported ↵Lennart Poettering2010-10-071-4/+4
| | | | since PAM 1.1.2
* systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering2010-08-311-7/+7
| | | | standards
* shutdownd: kill /etc/nologin file before we go downLennart Poettering2010-08-161-3/+3
|
* shutdown: various fixes for handling of delayed shutdownsLennart Poettering2010-08-161-12/+24
|
* log: properly open log target in the various utilitiesLennart Poettering2010-08-161-0/+1
|
* util: use format_timestamp() instead of ctime() wherever possibleLennart Poettering2010-08-161-12/+6
|
* systemctl: warn in intervals before going down when delayed shutdown is usedLennart Poettering2010-08-161-38/+132
|
* shutdown: if now time argument is passed, imply +1 not +0Lennart Poettering2010-08-161-1/+1
| | | | | | | 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
* systemctl: add support for delayed shutdown, similar to sysv in styleLennart Poettering2010-08-161-0/+272