Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-13 | systemctl: use parse_unit_info | Marc-Antoine Perennou | |
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | |||
2013-02-13 | dbus: import struct unit_info from systemctl | Marc-Antoine Perennou | |
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | |||
2013-01-30 | systemctl: Fix wrong assertion test | Mauro Dreissig | |
2013-01-19 | unit: optionally allow making cgroup attribute changes persistent | Lennart Poettering | |
2013-01-18 | systemctl: print the user session journal for user session units. | Mirco Tischler | |
2013-01-18 | systemctl: add new "get-cgroup-attr" to query current cgroup attribute value | Lennart Poettering | |
Also adds a pair of bus calls for this to the daemon. | |||
2013-01-18 | systemctl: it's probably a good idea not to alter return parameters if we fail | Lennart Poettering | |
We generally follow the rule not to touch return values unless we succeed, so for the sake of uniformity do the same here. | |||
2013-01-18 | systemctl: no need to check this explicitly, we already checked it a few ↵ | Lennart Poettering | |
lines up anyway, so let's just assert | |||
2013-01-18 | systemctl: we can make this faster and shorten it a bit with strv_extend() | Lennart Poettering | |
Now that strv_extend() is not so slow anymore, we can make use of it, to shorten our code a bit. | |||
2013-01-18 | systemctl: make list-dependencies default to default.target | Lennart Poettering | |
2013-01-18 | systemctl: we can use nulstr_contains() for this lookup | Lennart Poettering | |
It's a bit easier to read... | |||
2013-01-17 | systemctl add command list-dependencies | Lukas Nykryn | |
systemctl list-dependencies lists all unit's dependecies and recursively expands all subsidiary target units into a tree. Primary purpose for this command is to show all units which are enabled in specified target. | |||
2013-01-16 | systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is ↵ | Lukas Nykryn | |
specified New file output.h with output flags and modes. --full parameter also for cgls and loginctl. Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup, show_cgroup_and_extra, show_cgroup_and_extra_by_spec). get_process_cmdline with max_length == 0 will not ellipsize output. Replace LINE_MAX with 0 in some calls of get_process_cmdline. [zj: Default to --full when under pager for clgs. Drop '-f' since it wasn't documented and didn't actually work. Reindent a bit. ] | |||
2013-01-15 | systemctl: fix assertion hit by incorrect comparison | Dave Reisner | |
2013-01-15 | Typo fix | Oleksii Shevchuk | |
2013-01-15 | systemctl: when inhibiting shutdown/suspend also check for other login sessions | Lennart Poettering | |
2013-01-14 | systemctl: drop compat with really really old systemd versions | Lennart Poettering | |
2013-01-14 | systemctl: be smarter when mangling snapshot names | Lennart Poettering | |
For "systemctl snapshot" it makes no sense to complete an incomplete name with ".service" as we previously did, use ".snapshot" instead. Also, don't bother with mount units or suchlike, we know that this must be a snapshot and hence is the only sane way for completion. | |||
2013-01-14 | systemctl: numerous modernizations | Lennart Poettering | |
2013-01-14 | core: add bus API and systemctl commands for altering cgroup parameters ↵ | Lennart Poettering | |
during runtime | |||
2013-01-14 | systemctl: honour inhibitors only when running unprivileged | Lennart Poettering | |
2013-01-14 | systemctl: don't hit an assert if we try to reboot and dbus is dead | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=889624 | |||
2013-01-14 | systemctl: rework is-active and is-failed code | Lennart Poettering | |
2013-01-11 | systemctl: honour inhibitors when shutting down or entering sleep state | Lennart Poettering | |
2013-01-10 | dbus: duplicate Job.Cancel() as CancelJob() and Snapshot.Remove() as ↵ | Lennart Poettering | |
RemoveSnapshot() on the Manager interface For all other object mehtods there are already counterparts on the manager object, as they help us reduce round-trips. So let's complete this, and reduce complexity on the client side a bit. As a side effect this also makes "systemctl snapshot" without arguments work again. | |||
2013-01-04 | build-sys: drop all distribution specfic checks | Lennart Poettering | |
Yay, we now have a completely generic systemd. No distribution specific checks anymore! | |||
2013-01-04 | systemctl: enable chkconfig compat only if chkconfig is found rather than ↵ | Lennart Poettering | |
based on distro | |||
2013-01-04 | systemctl: add is-failed | Thomas Hindoe Paaboel Andersen | |
Adds is-failed to join is-active and is-enabled. I grabbed this one from the todo list. Most of the functionality was already there for is-active. I just needed to make check_one_unit take the states to check for as an argument instead of the hardcoded "active" and "reloading". is-failed will return 1 if none of the units given are failed. This is different from is-active which will return 3 if none of the units given are active. It returns 3 with this comment: /* According to LSB: "program is not running" */ As that does not make sense when looking for failed units I simply chose 1 instead. | |||
2012-12-28 | systemctl: switch-root - read init= from /proc/cmdline | Tom Gundersen | |
If the path to init is not specified as an argumnt to systemctl, but init= is given on the kernel commandline, use that. This means the initrd does not need glue code to parse the kernel commandline before passing on init= to systemctl. Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Reisner <dreisner@archlinux.org> | |||
2012-12-24 | systemctl: don't show cgroup field for a unit if cgroup is empty | Lennart Poettering | |
2012-12-06 | systemctl: verbose message on missing [Install] | Michal Schmidt | |
People still don't understand what the message implies. We have to be more verbose (or more intelligent and detect some of the cases automatically, but that's not so easy). https://bugzilla.redhat.com/show_bug.cgi?id=884438 | |||
2012-12-03 | systemctl: fix typos in help text | Umut Tezduyar | |
2012-11-23 | time-util: also rename FORMAT_TIMESTAMP_PRETTY → _MAX | Lennart Poettering | |
2012-11-23 | util: rename format_timestamp_pretty() to format_timestamp_relative() ↵ | Lennart Poettering | |
because that describes much better what it does | |||
2012-11-16 | journal: recommend journalctl -x more often | Lennart Poettering | |
2012-11-15 | systemctl: add help for --type/-t | Zbigniew Jędrzejewski-Szmek | |
The list of types and load states if lengthy, so a little reminder can be sometimes useful. | |||
2012-11-15 | systemctl: remove empty line in case of no units | Zbigniew Jędrzejewski-Szmek | |
2012-11-12 | enable localization for common *ctl commands | Dave Reisner | |
2012-10-28 | systemctl: skip JOBS column if no jobs | Zbigniew Jędrzejewski-Szmek | |
Output is very constrained. This change saves 4 columns in the common case. | |||
2012-10-28 | logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) | Lennart Poettering | |
2012-10-23 | systemctl: refer to systemctl -n, to not overwhelm the admin | Lennart Poettering | |
2012-10-19 | systemctl: fix return code in chroot | Christian Hesse | |
If 'systemctl enable' (and friends) is run inside chroot it always exits with a bad return code. unit_file_enable() returns the number of symlink rules that were supposed to be created. So resetting r to 0 and exiting gracefully should be the correct way. | |||
2012-10-19 | systemctl: modernization | Lennart Poettering | |
2012-10-19 | systemctl: remove --follow option | Lennart Poettering | |
Given that "journalctl -u" exists now there's no need to duplicate this functionality in systemctl, so let's drop this, especially given that it always felt a bit awkward to overload "-f" to both --force and --follow, and to have continues output with a status header for this. systemctl status -f avahi-daemon now becomes: journalctl -fu avahi-daemon Which is shorter and a lot less redundant. | |||
2012-10-19 | util: unify usage of on_tty() in util.c | Lennart Poettering | |
2012-10-18 | journalctl: unify ellipsation handling between journalctl and systemctl | Lennart Poettering | |
2012-10-15 | systemctl: don't mangle name when it is a path | Lukas Nykryn | |
systemctl enable, disable, ... can also accept full path and in this case we don't need to alter it. https://bugzilla.redhat.com/show_bug.cgi?id=866346 | |||
2012-10-11 | journal: support epxorting the journal in a format suitable for ↵ | Lennart Poettering | |
text/event-stream | |||
2012-10-04 | systemctl: colorize number of units listed | Zbigniew Jędrzejewski-Szmek | |
2012-10-04 | systemctl: do not print header if no units listed | Zbigniew Jędrzejewski-Szmek | |