summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-18systemctl: add new "get-cgroup-attr" to query current cgroup attribute valueLennart Poettering
Also adds a pair of bus calls for this to the daemon.
2013-01-18systemctl: it's probably a good idea not to alter return parameters if we failLennart 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-18systemctl: no need to check this explicitly, we already checked it a few ↵Lennart Poettering
lines up anyway, so let's just assert
2013-01-18systemctl: 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-18strv: make strv_extend() smarterLennart Poettering
2013-01-18systemctl: make list-dependencies default to default.targetLennart Poettering
2013-01-18systemctl: we can use nulstr_contains() for this lookupLennart Poettering
It's a bit easier to read...
2013-01-17systemctl add command list-dependenciesLukas 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-17util: fix bad memory accessLennart Poettering
2013-01-17core: corrects check of strduped controller stringNestor 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-17service: properly signal permanent failure of a service to its socketLennart 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-17udev: net_id - suppress bcma core == 0Kay Sievers
2013-01-17units: 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-17dbus: add Unit's PartOf and ConsistsOf deps to introspection XMLLennart Poettering
2013-01-17udev: net_id - handle "bcma" busesKay Sievers
2013-01-17udev: path_id - clarify comment about the kernel ATA naming problemKay Sievers
2013-01-16service: ignore dependencies on $syslog and $local_fs in LSB scriptsLennart 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-16systemctl,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-16logs-show: automatic cleanupZbigniew Jędrzejewski-Szmek
2013-01-16shutdown: ignore loop devices without a backing fileKay Sievers
2013-01-16service: sysv - remove distribution specific targetsKay 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-16shutdown: in the final umount loop don't use MNT_FORCELennart 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-15systemctl: fix assertion hit by incorrect comparisonDave Reisner
2013-01-15load-fragment: fix bad memory accessLennart Poettering
2013-01-15load-fragment: replace specifiers in path unit's Unit= settingLennart Poettering
2013-01-15core: do not make sockets dependent on loMichał Bartoszkiewicz
/sys/subsystem/net/devices/lo is never considered active, so sockets with BindToDevice=lo would never be activated.
2013-01-15journalctl: quit on I/O errorDavid 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-15logind: remove unused variableMichal Sekletar
2013-01-15core: use correct argument of type JobResultMichal Sekletar
2013-01-15vconsole: use /dev/vcsa1-15 to check for allocated VTsKay Sievers
2013-01-15vconsole: copy font to tty1-15Kay Sievers
2013-01-15Typo fixOleksii Shevchuk
2013-01-15systemctl: when inhibiting shutdown/suspend also check for other login sessionsLennart Poettering
2013-01-15login: introduce sd_session_get_tty()Lennart Poettering
2013-01-15vconsole: upload font to /dev/tty1 and copy it to all allocated VTsKay Sievers
2013-01-14logind: 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-14systemctl: drop compat with really really old systemd versionsLennart Poettering
2013-01-14systemctl: be smarter when mangling snapshot namesLennart 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-14systemctl: numerous modernizationsLennart Poettering
2013-01-14bootchart: no need for memset hereLennart Poettering
2013-01-14core: add bus API and systemctl commands for altering cgroup parameters ↵Lennart Poettering
during runtime
2013-01-14systemctl: honour inhibitors only when running unprivilegedLennart Poettering
2013-01-14systemctl: don't hit an assert if we try to reboot and dbus is deadLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=889624
2013-01-14systemctl: rework is-active and is-failed codeLennart Poettering
2013-01-14core: fix double freeLennart Poettering
2013-01-14service: 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-14locale: make sense of "dvorak-alt-intel" X variant in mapping databaseLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=873634
2013-01-12service: remove distribution specific comments, the code runs unconditional nowKay Sievers
2013-01-12service: remove distribution specific comments, the code run unconditional nowKay Sievers
2013-01-11nspawn: add --versionZbigniew Jędrzejewski-Szmek