Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-18 | journal-gatewayd: unify two code paths | Zbigniew Jędrzejewski-Szmek | |
In preparation for adding more options, split out the option handling code. | |||
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 | strv: make strv_extend() smarter | Lennart Poettering | |
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-17 | util: fix bad memory access | Lennart Poettering | |
2013-01-17 | core: corrects check of strduped controller string | Nestor Ovroy | |
In commit 246aa6d (core: add bus API and systemctl commands for altering cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup to prefered style, the check of strduped b->controller was incorrectly changed to check the containing structure. Correct it. | |||
2013-01-17 | service: properly signal permanent failure of a service to its socket | Lennart Poettering | |
This makes sure that a service is not indefinitely restarted in a tight loop if it fails before it is able to process its socket. This corrects the breakage introduced with 8d1b002a2e389e79a2414491523de549783abf73. Shame on me. | |||
2013-01-17 | udev: net_id - suppress bcma core == 0 | Kay Sievers | |
2013-01-17 | units: for all unit settings that take lists, allow the empty string for ↵ | Lennart Poettering | |
resetting the lists https://bugzilla.redhat.com/show_bug.cgi?id=756787 | |||
2013-01-17 | dbus: add Unit's PartOf and ConsistsOf deps to introspection XML | Lennart Poettering | |
2013-01-17 | udev: net_id - handle "bcma" buses | Kay Sievers | |
2013-01-17 | udev: path_id - clarify comment about the kernel ATA naming problem | Kay Sievers | |
2013-01-16 | service: ignore dependencies on $syslog and $local_fs in LSB scripts | Lennart Poettering | |
We no longer allow early-boot init scripts, however in late boot the syslog socket and local mounts are established anyway, so let's simplify our dep graph a bit. If $syslog doesn't resolve to syslog.target anymore there's no reason to keep syslog.target around anymore. Let's remove it. Note that many 3rd party service unit files order themselves after syslog.target. These will be dangling dependencies now, which should be unproblematic, however. | |||
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-16 | logs-show: automatic cleanup | Zbigniew Jędrzejewski-Szmek | |
2013-01-16 | shutdown: ignore loop devices without a backing file | Kay Sievers | |
2013-01-16 | service: sysv - remove distribution specific targets | Kay Sievers | |
Systemd should not introduce any new facilities. Distributions which still need to support their non-standard/legacy facilities should add them as patches to their packaging. The following facilities are no longer recognized: $x-display-manager $mail-transfer-agent $mail-transport-agent $mail-transfer-agent $smtp $null This target is no longer available: mail-transfer-agent.target | |||
2013-01-16 | shutdown: in the final umount loop don't use MNT_FORCE | Lennart Poettering | |
MNT_FORCE is honoured by NFS and FUSE and allows unmounting of the FS even if consumers still use it. For our brute-force loop we rely on EBUSY being reported as long as a file system is still used by a loopback device or suchlike. Hence, drop MNT_FORCE to make EBUSY reliable. | |||
2013-01-15 | systemctl: fix assertion hit by incorrect comparison | Dave Reisner | |
2013-01-15 | load-fragment: fix bad memory access | Lennart Poettering | |
2013-01-15 | load-fragment: replace specifiers in path unit's Unit= setting | Lennart Poettering | |
2013-01-15 | core: do not make sockets dependent on lo | Michał Bartoszkiewicz | |
/sys/subsystem/net/devices/lo is never considered active, so sockets with BindToDevice=lo would never be activated. | |||
2013-01-15 | journalctl: quit on I/O error | David Herrmann | |
This makes journalctl quit on ferror() conditions on stdout. It fixes an annoying bug if you pipe its output through 'less' and press 'q'. Without this fix journalctl will continue reading all journal data until EOF which can take quite some time. For instance on my machine: david-nb ~ # time journalctl | wc -l 327240 real 1m13.039s user 1m0.217s sys 0m10.467s However, expected behavior is journalctl to quit when its pager closed the output pipe. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> | |||
2013-01-15 | logind: remove unused variable | Michal Sekletar | |
2013-01-15 | core: use correct argument of type JobResult | Michal Sekletar | |
2013-01-15 | vconsole: use /dev/vcsa1-15 to check for allocated VTs | Kay Sievers | |
2013-01-15 | vconsole: copy font to tty1-15 | Kay Sievers | |
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-15 | login: introduce sd_session_get_tty() | Lennart Poettering | |
2013-01-15 | vconsole: upload font to /dev/tty1 and copy it to all allocated VTs | Kay Sievers | |
2013-01-14 | logind: ignore non-tty/non-x11 session when checking if there are other ↵ | Lennart Poettering | |
sessions before shutting down https://bugzilla.redhat.com/show_bug.cgi?id=890827 | |||
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 | bootchart: no need for memset here | 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-14 | core: fix double free | Lennart Poettering | |
2013-01-14 | service: for Type=forking services, ignore exit status of main process ↵ | Lennart Poettering | |
depending on ExecStart's ignore setting https://bugzilla.redhat.com/show_bug.cgi?id=860464 | |||
2013-01-14 | locale: make sense of "dvorak-alt-intel" X variant in mapping database | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=873634 | |||
2013-01-12 | service: remove distribution specific comments, the code runs unconditional now | Kay Sievers | |
2013-01-12 | service: remove distribution specific comments, the code run unconditional now | Kay Sievers | |