Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-16 | install: treat non-existent directory as empty | Zbigniew Jędrzejewski-Szmek | |
When looking for symlinks, it doesn't make sense to error-out if the directory is missing. The user might delete an empty directory. This check caused test-unit-file to fail when run before installation. | |||
2012-09-14 | timedate: assorted improvements | Lennart Poettering | |
- Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT - Introduce symlink_atomic() after all, and use it - Use relative symlink for /etc/localtime | |||
2012-09-14 | systemctl: show unit name when a job fails | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=845028 https://bugzilla.redhat.com/show_bug.cgi?id=846483 | |||
2012-09-14 | util: more modernizations | Lennart Poettering | |
2012-09-14 | util: various additional modernizations | Lennart Poettering | |
2012-09-14 | util: modernize a few functions with automatic cleanup variables | Lennart Poettering | |
Just trying to get the feel for it. And it's pretty cool. | |||
2012-09-13 | macro: introduce _cleanup_free_ macro for automatic freeing of scoped vars ↵ | Lennart Poettering | |
and make use of it | |||
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 |