Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-12 | logind: Avoid unnecesary rewrite of user file when switching sessions of the ↵ | Colin Guthrie | |
same user. | |||
2012-09-12 | logind: Ensure the user, seat and session files are updated when the session ↵ | Colin Guthrie | |
is closing. | |||
2012-09-12 | logind: Add a two new variables to the user session tracking file. | Colin Guthrie | |
This counts 'online sessions' in addition to 'active sessions' and 'sessions'. In this context, an 'online session' covers all session in the 'active' state in addition to the explicit 'online' state. This provides an easy machanism to determin all relevant sessions easily (i.e. those that are not 'closing') and adds new semantics to the sd-login.c APIs sd_uid_get_sessions() and sd_uid_get_seats() where the require_active argument can be supplied as a value 2 which only lists sessions which are 'online'. This functionality should allow client applications to avoid deadlocks where they only exit when all sessions are complete, such as a the problem where PulseAudio will not exit until all sessions are gone, but in itself prevents the session from exiting. | |||
2012-09-12 | logind: Properly list the ACTIVE_SEATS in the user session tracking file. | Colin Guthrie | |
Prevsiouly the first active seat for a user would never be listed and any subsequent seats would be concatenated on without any spaces. | |||
2012-09-12 | logind: If all user sessions are in closing state, set the overall status to ↵ | Colin Guthrie | |
closing. PulseAudio for example will keep a client connection open provided at least one session exists. However, if all sessions are currently in the process of closing, we should flag that as the overall state appropriately to better reflect what is happening. Although this does better reflect the status for any given user, it does not actually solve the overall problem of PulseAudio still finding some sessions active and thus not exiting and therefore actually preventing the session from closing. Future commits will extend sd-login to cope with this situation. | |||
2012-09-12 | pam: Add session class to the debug log. | Colin Guthrie | |
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 | journal: don't set seal flag if we don't have gcrypt built-in | Lennart Poettering | |
2012-09-11 | journal: don't try to compress without XZ | Michael Olbrich | |
otherwise the header contains the HEADER_INCOMPATIBLE_COMPRESSED flag even though the data is not compressed and reading the journal fails. | |||
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 | update TODO | Lennart Poettering | |
2012-09-11 | build-sys: perform autodetection of quota-tools binaries | Dave Reisner | |
Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, falling back on hardcoded defaults when they can't be found. | |||
2012-09-11 | condition: add ConditionFileNotEmpty= | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=54448 | |||
2012-09-11 | when determining unit file list, include invalid unit names in an "invalid" ↵ | Lennart Poettering | |
state | |||
2012-09-11 | update TODO | Lennart Poettering | |
2012-09-10 | update TODO | Lennart Poettering | |
2012-09-10 | man: document that assignemnts of devices to seats are persistent | Lennart Poettering | |
2012-09-10 | journald: don't do debug logging by default | Lennart Poettering | |
2012-09-10 | journald: don't complain if fss key does not exist | Lennart Poettering | |
2012-09-10 | selinux: close stdin/stdout/stderr before loading selinux policy | Lennart Poettering | |
Let's make sure libselinux doesn't spew to stderr | |||
2012-09-10 | journald: detect invalid header pointers correctly | Lennart Poettering | |
2012-09-10 | unit: don't allow units to be gc'ed that still are referenced via UnitRef | Lennart Poettering | |
2012-09-10 | inhibit: close all fds when invoking inhibited tool | Lennart Poettering | |
2012-09-10 | dbus: minor coding style fixes | Lennart Poettering | |
2012-09-10 | Make systemd-inhibit --list work | Matthias Clasen | |
The code in the print_inhibitors function had an unintended unconditional early exit, causing it to never print any inhibitors. | |||
2012-09-10 | build-sys: add libsystemd-id128-internal.la as dep to libsystemd-core.la | Lennart Poettering | |
condition.c makes use of sd_id128_get_machine() after all. Spotted by Khem Raj. | |||
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-07 | journald: make splitting up of journal files per-user configurable | Lennart Poettering | |
2012-09-07 | journal: add call to determine current journal file disk usage | Lennart Poettering | |
2012-09-07 | main: fix syntax of net_prio cgroup controller | Lennart Poettering | |
2012-09-06 | journald: avoid logging to kmsg in the normal paths | Lennart Poettering | |
2012-09-05 | localed: system-setup-keyboard is no more on fedora | Lennart Poettering | |
2012-09-05 | man: document that ExecStart= doesn't understand shell command lines | Lennart Poettering | |
2012-09-05 | tmpfiles: don't attempt creation of device nodes when we run in a container | Lennart Poettering | |
2012-09-05 | systemctl: properly build flags for show_journal_by_unit() | Lennart Poettering | |
2012-09-05 | journalctl: show "Reboot" markers in output only when showing local-only entries | Lennart Poettering | |
2012-09-05 | journalctl: replace --local by --merge, i.e. don't interleave remote ↵ | Lennart Poettering | |
journals by default | |||
2012-09-05 | nspawn: handle poweroff/reboot nicely in containers | Lennart Poettering | |
2012-09-05 | shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if ↵ | Lennart Poettering | |
CAP_SYS_BOOT is missing The kernel's PID namespaces support reboot(2) just fine, so let's make use of it if possible. | |||
2012-09-05 | shutdown: remove explicit sync() invocations | Lennart Poettering | |
The kernel implicitly does sync() anyway, hence there is no need to do that in userspace explicitly. This makes the "-n" switch to halt(8) a noop. | |||
2012-09-05 | nspawn: don't provide /dev/rtc0 in the container | Lennart Poettering | |
Since RTCs are hardware devices and are very much shared resources we should avoid to provide them in each container. | |||
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-05 | nspawn: generate a new randomized boot ID for each container | Lennart Poettering | |
2012-09-05 | nspawn: if a file system comes pre-mounted, still do the read-only remounts | Lennart Poettering | |
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 | nspawn: skip mounts if already mounted | Lennart Poettering | |
2012-09-04 | nspawn: mount a clean instance of sysfs | Lennart Poettering | |
2012-09-04 | missing: define name_to_handle_at on our own if it is missing | Lennart Poettering | |