summaryrefslogtreecommitdiff
path: root/src/initctl.c
AgeCommit message (Collapse)Author
2011-11-01initctl: don't use dbus connection after PID 1 got respawnedLennart Poettering
After reexec PID 1 our bus connection is invalidated. Hence don't try to reuse it, just terminate so that when we are spawned the next time we just get a new one. Spotted by Marti Raudsepp.
2011-08-24initctl: check for kexec_loaded when reboot is requested through initctlFrederic Crozat
2011-08-01initctl: support 'telinit u/q'Tom Gundersen
We send SIGTERM (resp., SIGHUP) when we receive request for changing to runlevel 'u' (resp., 'q'). As initctl is already async, we just send the signals rather than first attempting to connect to sytemd over dbus and then falling back to kill.
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-04-16logger,initctl: use global exit timeoutLennart Poettering
2010-09-14systemctl: use isolate when called as telinit for a runlevelLennart Poettering
2010-09-14initctl: properly use isolate when activating runlevelsLennart Poettering
2010-09-02dbus: make sure to flush bus connection before disconnecting, so that no ↵Lennart Poettering
messages are lost
2010-08-31systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering
standards
2010-08-25dbus: simplify some dbus error messages a bitLennart Poettering
2010-08-17auto-getty: rework auto console getty logic to work in conjunction with ↵Lennart Poettering
single user mode
2010-08-16log: properly open log target in the various utilitiesLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-08-11utmp: enable systemd-update-utmp by defaultLennart Poettering
2010-07-11dbus: use private connections wherever possibleLennart Poettering
2010-07-07initctl: check peer credentials after connectionLennart Poettering
2010-07-01core: rename struct timestamp to dual_timestamp to avoid name clash with IP ↵Lennart Poettering
system headers
2010-06-19initctl: add some checks before starting upLennart Poettering
2010-06-19initctl: talk to systemd via the abstract private busLennart Poettering
2010-06-19don't use 'long long' unless we have a really good reason toLennart Poettering
2010-06-18systemctl: add verbs for special unitsLennart Poettering
2010-06-16notify: add minimal readiness/status protocol for spawned daemonsLennart Poettering
2010-06-15initctl: make sure we don't exit due to dbus disconnectLennart Poettering
2010-06-01dbus: add simplified way to start an arbitrary unit in a single method callLennart Poettering
2010-05-20sd-daemon: add API to verify socket typesLennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering