summaryrefslogtreecommitdiff
path: root/src/systemctl.c
AgeCommit message (Collapse)Author
2011-03-29systemctl: don't truncate description when using pagerLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=35725
2011-03-28conf-parser: fix remaining parser functions according to new prototypeLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-17chkconfig: check against runlevel 5 instead of 3, since it is a superset of ↵Lennart Poettering
the latter
2011-03-17systemctl: accept condstop as alias for stopLennart Poettering
2011-03-14core: move abstract namespace sockets to /dev/.runLennart Poettering
Now that we have /dev/.run there's no need to use abstract namespace sockets. So, let's move things to /dev/.run, to make things more easily discoverable and improve compat with chroot() and fs namespacing.
2011-03-12systemctl: support remote and privileged systemctl access via SSH and pkexecLennart Poettering
This adds support for executing systemctl operations remotely or as privileged user while still running systemctl itself unprivileged and locally. This currently requires a D-Bus patch to work properly. https://bugs.freedesktop.org/show_bug.cgi?id=35230
2011-03-09condition: take a timestamp and store last result of conditionsLennart Poettering
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-03-08systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3Lennart Poettering
2011-03-08job: introduce new job result code 'skipped' to use when pre conditions of ↵Lennart Poettering
job did not apply https://bugzilla.redhat.com/show_bug.cgi?id=682245 https://bugzilla.redhat.com/show_bug.cgi?id=635780
2011-03-04systemctl: fix exit code when directing is-enabled to chkconfigLennart Poettering
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-03-01systemctl: add condreload alias for compat with ALTLinuxLennart Poettering
2011-02-25systemctl: shutdown agent explicitly so that it can reset the tty properlyLennart Poettering
2011-02-24systemctl: properly handle job resultsLennart Poettering
2011-02-24dbus: pass along information why a job failed when it failed (dbus api change!)Lennart Poettering
2011-02-20systemctl: shutdown(8) - call kexec if kexec kernel is loadedKay Sievers
2011-02-16systemctl: introduce --ignore-dependenciesLennart Poettering
2011-02-16systemctl: introduce --failed to show only failed servicesLennart Poettering
2011-02-13systemctl: minor optimizationsLennart Poettering
2011-02-13systemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so ↵Lennart Poettering
that locking by tty works
2011-02-09systemctl: fix opening paramsLennart Poettering
2011-02-09systemctl: don't start agent for --userLennart Poettering
2011-02-09systemctl: make sure the tty agent does not retain a copy of stdioLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=674916
2011-01-22clang: fix some issues found with clang-analyzersystemd/v17Lennart Poettering
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-20systemctl: show process type along process exit codesLennart Poettering
2011-01-18systemctl: before spawning pager cache number of columnsLennart Poettering
2011-01-04systemctl: Don't use Debian's 'sensible-pager', use 'pager' insteadLennart Poettering
2011-01-04systemctl: drop redundant getenv('LESS') checkLennart Poettering
2011-01-04systemctl: spawn pager only for commands that generates long outputLennart Poettering
2011-01-04systemctl: make the child the pager, leave systemctl as parentLennart Poettering
It's nicer if the child process gets reinitialized cleanly instead of the parent process.
2011-01-04systemctl: try harder to find a suitable pagerLennart Poettering
2011-01-02systemctl: implement auto-pager a la gitMiklos Vajna
2010-11-21systemctl: don't return LSB status error codes for systemctl showLennart Poettering
Use them only for systemctl status. https://bugzilla.redhat.com/show_bug.cgi?id=637183
2010-11-21systemctl: redirect enable/disable to chkconfig if applicableLennart Poettering
2010-11-15drop support for MANAGER_SESSION, introduce MANAGER_USER insteadLennart Poettering
2010-11-12ask-password: don't show wall message on ttys we are already running a tty ↵Lennart Poettering
agent on
2010-10-28systemctl: always show what and where for mount units in status outputLennart Poettering
2010-10-27service: when after startup only one process is in a service's cgroup, ↵Lennart Poettering
assume it is the main process
2010-10-26errors: refer to systemctl status when usefulLennart Poettering
2010-10-26systemctl: automatically spawn temporary password agent when we might need oneLennart Poettering
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-19systemctl: fix counting in list-units outputLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=643502
2010-10-14systemctl: accept -f as short for --forceLennart Poettering
2010-10-14systemctl: rework halt/reboot/poweroff/kexec/exit logic around --forceLennart Poettering
2010-10-13systemctl: warn if user enables unit with no installation instructionsLennart Poettering
2010-10-12systemctl: drop [] around date in status outputLennart Poettering