Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-12 | unit-name: rework unit_name_replace_instance function() | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=855863 | |||
2012-09-11 | util: rm_rf_children_dangerous: delete all descendants dangerously | Tom Gundersen | |
Call rm_rf_children_dangerous() recursively rather than falling back to rm_rf_children(). This fixes a bug in systemd-tmpfiles. The problem can easily be reproduced by: # mount /dev/sda1 /mnt # mkdir /mnt/test # echo "D /mnt" > /root/test.conf # systemd-tmpfiles --remove /root/test.conf Attempted to remove disk file system, and we can't allow that. rm_rf(/root/test): Operation not permitted Reported-by: Lukas Jirkovsky <l.jirkovsky@gmail.com> | |||
2012-09-11 | when determining unit file list, include invalid unit names in an "invalid" ↵ | Lennart Poettering | |
state | |||
2012-09-10 | dbus: minor coding style fixes | Lennart Poettering | |
2012-09-10 | path-util: fall back to stat() if kernel does not support name_to_handle_at() | Mantas Mikulėnas | |
Fixes instant hang on kernels that do not have CONFIG_FHANDLE enabled. | |||
2012-09-10 | path-util: do not fail in path_is_mountpoint() if path doesn't exist | Mantas Mikulėnas | |
This was accidentally lost in commit 1640a0b6b05b. | |||
2012-09-05 | nspawn: handle poweroff/reboot nicely in containers | Lennart Poettering | |
2012-09-05 | journalctl: rework JSON output mode | Lennart Poettering | |
This splits the JSON output mode into different modes: json and json-pretty. The former printing one entry per line, the latter showing JSON objects nicely indented and in multiple lines to make it easier to read for humans. | |||
2012-09-04 | path: fix invalid variable access in path_is_mount_point() | Lennart Poettering | |
2012-09-04 | path-util: in path_is_mount_point() fall back to the classic stat() test if ↵ | Lennart Poettering | |
fs does not support name_to_handle_at() | |||
2012-09-04 | missing: define name_to_handle_at on our own if it is missing | Lennart Poettering | |
2012-09-03 | shared: logs-show: fflush after each output type | Brandon Philips | |
journalctl -f redirected to a pipe or file wasn't working for some output formats but was working for json. It turns out only json was doing an fflush. Make all output formats flush. | |||
2012-09-03 | journalctl: include logs from PID 1 about services in systemctl status | Lennart Poettering | |
2012-09-03 | util: make path_is_mount_point() recognize bind mounts, too | Lennart Poettering | |
2012-09-03 | journal: suppress structured messages if they'd go to the console | Lennart Poettering | |
2012-09-03 | journal: generate structured journal messages for a number of events | Lennart Poettering | |
2012-09-03 | shared: in code that might get called from suid programs use ↵ | Lennart Poettering | |
__secure_getenv() rather than getenv() It's better to be safe than sorry. | |||
2012-08-23 | hashmap: hashmap_contains does not need hashmap_entry | Lukas Nykryn | |
2012-08-22 | journal: move syslog specific calls out of util.c | Lennart Poettering | |
2012-08-22 | journald: split /dev/kmsg related stuff into its own .c file | Lennart Poettering | |
2012-08-21 | shared/util: add fstab support for partuuid/partlabel | Dave Reisner | |
udev has supported this since 172, so it should be a safe (and welcome) addition for users of GPT partitioned disks. | |||
2012-08-21 | shared/util: refactor fstab_node_to_udev_node | Dave Reisner | |
Since this is purely duplicated logic, separate it out into a small static function. | |||
2012-08-21 | dev-setup: make NULL as parameter for dev_setup() equivalent to "" | Lennart Poettering | |
2012-08-21 | dev-setup: allow a path prefix for use in chroots | Dave Reisner | |
With this adjustment, we can reuse this code elsewhere, such as in nspawn. | |||
2012-08-21 | journalctl: really include .journal~ files in listing | Lennart Poettering | |
2012-08-20 | journalctl: output FSS key as QR code on generating | Lennart Poettering | |
2012-08-16 | conf-parser: make parsing exit status lists non-fatal | Lennart Poettering | |
2012-08-14 | conf-parser: simplify a few things by using set_ensure_allocated() rather ↵ | Lennart Poettering | |
than set_new() | |||
2012-08-14 | service: add options RestartPreventExitStatus and SuccessExitStatus | Lukas Nykryn | |
In some cases, like wrong configuration, restarting after error does not help, so administrator can specify statuses by RestartPreventExitStatus which will not cause restart of a service. Sometimes you have non-standart exit status, so this can be specified by SuccessfulExitStatus. | |||
2012-08-13 | namespace: rework namespace support | Lennart Poettering | |
- don't use pivot_root() anymore, just reuse root hierarchy - first create all mounts, then mark them read-only so that we get the right behaviour when people want writable mounts inside of read-only mounts - don't pass invalid combinations of MS_ constants to the kernel | |||
2012-08-10 | systemctl: fix issue with systemctl daemon-reexec | Simon Peeters | |
2012-08-10 | shared/utf8: mark char* as const | Dave Reisner | |
Avoids compiler warning: src/shared/utf8.c: In function 'ascii_filter': src/shared/utf8.c:278:16: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] | |||
2012-08-09 | journald: properly unescape messages from /dev/kmsg | Lennart Poettering | |
2012-08-08 | fix a couple of issues found with llvm-analyze | Lennart Poettering | |
2012-08-08 | move bus_method_call_with_reply() to dbus-common | Simon Peeters | |
2012-08-03 | logs-show: fix off-by-one error | Shawn Landen | |
Ellipsize lines that are one character too long. | |||
2012-07-28 | systemctl: append .service to unit names lacking suffix | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=39386 | |||
2012-07-26 | cgtop: use full terminal width | Zbigniew Jędrzejewski-Szmek | |
2012-07-26 | journalctl: hightlight log lines by priority | Lennart Poettering | |
warn/notice = bright white < error = red | |||
2012-07-26 | logs-show: fix OOM path | Lennart Poettering | |
2012-07-26 | log: out-of-line __log_oom() | Michal Schmidt | |
The callers' code gets smaller. | |||
2012-07-26 | log: log_oom() must be a macro | Michal Schmidt | |
2012-07-26 | log.h: new log_oom() -> int -ENOMEM, use it | Shawn Landden | |
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera | |||
2012-07-26 | unit-name: style fix in unit_name_is_template() | Michal Schmidt | |
to make it look like the newly added unit_name_is_instance() | |||
2012-07-26 | systemd: enable/disable instances of template | Michal Sekletar | |
https://bugzilla.redhat.com/show_bug.cgi?id=752774 | |||
2012-07-25 | use "Out of memory." consistantly (or with "\n") | Shawn Landden | |
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id | |||
2012-07-25 | main: set PR_SET_CHILD_REAPER for MANAGER_USER | Auke Kok | |
Become the reaper for all children part of the user session. Tested with several forking services. | |||
2012-07-24 | conf-files: continue searching if one dir fails | Michal Schmidt | |
A problem with systemd-tmpfiles has been observed where the service failed just because one of the configuration directories could not be read due to SELinux policy. Complain about the failure, but try to go on. https://bugzilla.redhat.com/show_bug.cgi?id=839736 | |||
2012-07-23 | journalctl: fix ellipsization with PAGER=cat | Zbigniew Jedrzejewski-Szmek | |
There are other reasons for not opening the pager then the --no-pager or --follow options (described below). If the pager is not used, messages must be ellipsized. On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote: > "Pager to use when --no-pager is not given; overrides $PAGER. > Setting this to an empty string or the value cat is equivalent to passing --no-pager." | |||
2012-07-20 | journalctl: fix assertion failure in ellipsize_mem() | Eelco Dolstra | |
When showing the journal through "journalctl --no-pager", if the prefix of the log message (i.e. the date and syslog identifier) is less than 3 characters shorter than the width of the terminal, you get: Assertion 'new_length >= 3' failed at src/shared/util.c:3859, function ellipsize_mem(). Aborting. because there is not enough space for the "...". This patch add the necessary check. |