Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-28 | logs-show: various cleanups | Lennart Poettering | |
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all. | |||
2012-09-24 | macro: increase VA_FORMAT_ADVANCE type array and hit assert when it is reached | Lennart Poettering | |
2012-09-24 | log: fix repeated invocation of vsnprintf()/vaprintf() in log_struct() | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=55213 | |||
2012-09-24 | util: don't export parsed_columns | Lennart Poettering | |
2012-09-24 | journalctl: reset cached column count on SIGWINCH | Dave Reisner | |
This requires a little bit of tip-toeing around to explicitly avoid touching the environment from a sig handler. Instead, simply create a function to reset the var to its "unset" state, allowing the next call to columns() to recalculate and cache the new value. | |||
2012-09-21 | missing: Fix compilation error due to wrong __NR_name_to_handle_at definition | Eelco Dolstra | |
"__NR_name_to_handle" should read "__NR_name_to_handle_at". This fixes a compilation error on systems with older kernel headers. | |||
2012-09-21 | hwclock: add missing OOM check | Lennart Poettering | |
2012-09-21 | shared: call va_end in all cases | Lukas Nykryn | |
2012-09-20 | util: fix overflow checks | Lennart Poettering | |
2012-09-20 | util: overflow hardening | Lennart Poettering | |
2012-09-20 | util: make sure heap allocators fail when array allocations are out of bounds | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=858777 | |||
2012-09-19 | util: define union dirent_storage and make use of it everywhere | Lennart Poettering | |
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754 | |||
2012-09-19 | util: fix bad strstrip() return value in normalize_env_assignment() | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=858780 | |||
2012-09-19 | systemctl: use automatic cleanup | Zbigniew Jędrzejewski-Szmek | |
Introduce a helper method to unref dbus messages and use it. | |||
2012-09-18 | core: move ManagerRunningAs to shared | Zbigniew Jędrzejewski-Szmek | |
Note: I did s/MANAGER/SYSTEMD/ everywhere, even though it makes the patch quite verbose. Nevertheless, keeping MANAGER prefix in some places, and SYSTEMD prefix in others would just lead to confusion down the road. Better to rip off the band-aid now. | |||
2012-09-18 | journalctl: don't choke on entries with no MESSAGE= field | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=50177 | |||
2012-09-18 | util: introduce get_process_gid() | Lennart Poettering | |
2012-09-17 | log: avoid function loop | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=54766 | |||
2012-09-17 | conf-parser: don't unescape parsed configuration strings by default | Lennart Poettering | |
In many cases this might have a negative effect since we drop escaping from strings where we better shouldn't have dropped it. If unescaping makes sense for some settings we can readd it later again, on a per-case basis. https://bugs.freedesktop.org/show_bug.cgi?id=54522 | |||
2012-09-17 | util: various cleanups for printing boot status | Lennart Poettering | |
2012-09-17 | main: when transitioning from initrd to the main system log to kmsg | Lennart Poettering | |
When the new PID is invoked the journal socket from the initrd might still be around. Due to the default log target being journal we'd log to that initially when the new main systemd initializes even if the kernel command line included a directive to redirect systemd's logging elsewhere. With this fix we initially always log to kmsg now, if we are PID1, and only after parsing the kernel cmdline try to open the journal if that's desired. (The effective benefit of this is that SELinux performance data is now logged again to kmsg like it used to be.) | |||
2012-09-17 | hwclock: always set the kernel's timezone | Kay Sievers | |
Properly tell the kernel at bootup, and any later time zone changes, the actual system time zone. Things like the kernel's FAT filesystem driver needs the actual time zone to calculate the proper local time to use for the on-disk time stamps. https://bugzilla.redhat.com/show_bug.cgi?id=802198 | |||
2012-09-17 | build-sys: __secure_getenv lost dunder in libc 2.17 | Zbigniew Jędrzejewski-Szmek | |
2012-09-16 | nspawn: use automatic cleanup for umask | Zbigniew Jędrzejewski-Szmek | |
2012-09-16 | install: use automatic cleanup | Zbigniew Jędrzejewski-Szmek | |
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 | |