summaryrefslogtreecommitdiff
path: root/src/systemctl.c
AgeCommit message (Collapse)Author
2010-10-06systemctl: require correctly formed unit names when enabling unitsLennart Poettering
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-21manager: calculate progress value while bootingLennart Poettering
2010-09-21systemctl: make condrestart equivalent to try-restartMichal Schmidt
"condrestart" should be equivalent to "try-restart", i.e. it should be translated into "TryRestartUnit". See http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780
2010-09-15systemctl: use sizeof() instead of strlen() on literal stringsLennart Poettering
2010-09-15systemctl: split job list writing to a seperate functionZbyszek Szmek
On Tue, Sep 14, 2010 at 10:23:28PM +0200, Lennart Poettering wrote: > On Tue, 07.09.10 17:02, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote: > > Urks, now I commited the wrong one... Can you prep an updated patch against > current git? Once more sorry about that. Fix below. Zbyszek
2010-09-14systemctl: limit some column widths to widest actually usedZbigniew Jędrzejewski-Szmek
old UNIT LOAD ACTIVE SUB JOB dev-hugepages.automount loaded active running Huge Page dev-mqueue.automount loaded active waiting POSIX Mes proc-sys...misc.automount loaded active waiting Arbitrary sys-kern...ebug.automount loaded active running Debug Fil new UNIT LOAD ACTIVE SUB JOB dev-hugepages.automount loaded active running Huge Pages File System Automount Poi dev-mqueue.automount loaded active waiting POSIX Message Queue File System Auto systemd-shutdownd.socket loaded active listening systemd Delayed Shutdown Socket
2010-09-14systemctl: split job list writing to a seperate functionZbigniew Jędrzejewski-Szmek
2010-09-14systemctl: use on_tty() helper everywhereZbigniew Jędrzejewski-Szmek
2010-09-14systemctl: use isolate when called as telinit for a runlevelLennart Poettering
2010-09-06systemctl: make --version a little bit more verboseLennart Poettering
2010-09-06systemctl: implement --versionLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=29912
2010-09-02dbus: make sure to flush bus connection before disconnecting, so that no ↵Lennart Poettering
messages are lost
2010-09-01systemctl: make sure daemon-reexec and friends return a correct error codeLennart Poettering
2010-09-01systemctl: fix return value of systemctl start and friendsLennart Poettering
2010-09-01manager: reword some error messages regarding "logs"Lennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=627785
2010-08-31systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering
standards
2010-08-31systemctl: avoid wrapping of headers/footersLennart Poettering
This change makes sure that our output never exceeds 80ch on 80ch terminals. https://bugzilla.redhat.com/show_bug.cgi?id=626443
2010-08-31manager: add missing second part of s/maintenance/failed/Matthew Miller
2010-08-26systemctl: very very trivial typo patch :)Matthew Miller
2010-08-25dbus: simplify some dbus error messages a bitLennart Poettering
2010-08-25systemctl: rename a few status linesLennart Poettering
2010-08-25systemctl: show timestamps for state changesLennart Poettering
2010-08-25systemctl: add --sysv-compatLennart Poettering
2010-08-20dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering
2010-08-20service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵Lennart Poettering
decode exit codes in systemctl
2010-08-17systemctl: break output properly for 80ch terminalsLennart Poettering
2010-08-17shutdown: drop -f/-F switches again, simply because we don't want to condone ↵Lennart Poettering
non-ro root dirs Instead of using /forcefsck and /fastboot people should just kernel command line options to achieve the same.
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-16systemctl: sort case-insensitivelyLennart 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
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-14systemctl: skip writing of utmp if we booted using systemd, under the ↵Lennart Poettering
assumption that systemd-update-utmp is used
2010-08-14systemctl: sort 'list-units' outputLennart Poettering
2010-08-13systemctl: properly detect whether taling to systemd via D-Bus worked before ↵Lennart Poettering
falling back to upstart/initctl
2010-08-13man: document new 'systemctl status PID' syntaxLennart Poettering
2010-08-13systemctl: when calling 'status' accept a PIDLennart Poettering
2010-08-13systemctl: show sysv path if it is set if the fragment path isn't in ↵Lennart Poettering
systemctl status
2010-08-12systemctl: at full stop after last message before shutting downLennart Poettering
2010-08-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-08-11systemctl: beef up highlighting of service states a littleLennart Poettering
2010-08-11utmp: enable systemd-update-utmp by defaultLennart Poettering
2010-08-09manager: when two pending jobs conflict, keep the one that "conflicts", ↵Lennart Poettering
remove the one that is "conflicted" This gives the writer of units control which unit is kept and which is stopped when two units conflict.
2010-08-09systemctl: show exit code only if it is actually setLennart Poettering
2010-08-07systemctl: fix parsing of DBus reply in 'dot'Michal Schmidt
"systemctl dot" has been broken since the addition of the "Following=" property.
2010-08-05reboot: handle -p switch properlyMichal Schmidt
https://bugzilla.redhat.com/show_bug.cgi?id=618678
2010-07-24telinit: forward to upstart, if not booted with systemdsystemd/v4Lennart Poettering