Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | journald: add ability to activate by varlink socket | Lennart Poettering | 2020-01-31 | 2 | -10/+26 |
| | | | | | | | | | If we have exit on idle, then operations such as "journalctl --namespace=foo --rotate" should work even if the journal daemon is currently not running. (Note that we don't do activation by varlink for the main instance of journald, I am not sure the deadlocks it might introduce are worth it) | ||||
* | journald: add exit on idle | Lennart Poettering | 2020-01-31 | 3 | -2/+146 |
| | |||||
* | varlink: add ability to register callback for disconnections | Lennart Poettering | 2020-01-31 | 2 | -2/+23 |
| | |||||
* | varlink: add API for determining number of current connections | Lennart Poettering | 2020-01-31 | 2 | -0/+8 |
| | |||||
* | journald: use structured initialization | Lennart Poettering | 2020-01-31 | 1 | -3/+5 |
| | |||||
* | journald: add logging for one error we lacked logging for | Lennart Poettering | 2020-01-31 | 1 | -1/+3 |
| | |||||
* | systemctl: show logs for correct namespace of service | Lennart Poettering | 2020-01-31 | 5 | -1/+10 |
| | |||||
* | journalctl: drop misplaced empty line | Lennart Poettering | 2020-01-31 | 1 | -1/+0 |
| | |||||
* | journalctl: add new --namespace= switch for showing logs for namespace | Lennart Poettering | 2020-01-31 | 1 | -4/+34 |
| | |||||
* | journal: make constant argument actually 'const' | Lennart Poettering | 2020-01-31 | 1 | -1/+1 |
| | |||||
* | journal: allow opening journal files specific to some namespace | Lennart Poettering | 2020-01-31 | 4 | -19/+102 |
| | |||||
* | journal: use structured initialization | Lennart Poettering | 2020-01-31 | 1 | -8/+11 |
| | |||||
* | journalctl: use an anonymous array when an array is needed | Lennart Poettering | 2020-01-31 | 1 | -4/+3 |
| | | | | | I am pretty sure this makes things more readable, since the expected argument here is actually an array. | ||||
* | journal: properly mark two definitions that are deprecated with GCC ↵ | Lennart Poettering | 2020-01-31 | 5 | -5/+24 |
| | | | | attributes for that | ||||
* | journalctl: use automatic memory cleanup | Lennart Poettering | 2020-01-31 | 1 | -2/+1 |
| | |||||
* | journalctl: use log_error_errno() wherever we can | Lennart Poettering | 2020-01-31 | 1 | -45/+29 |
| | |||||
* | journalctl: move pcre function code down | Lennart Poettering | 2020-01-31 | 1 | -29/+27 |
| | | | | | We usually put the static arguments at the top of each source files, do so here too, and thus move the first code down. | ||||
* | core: add new LogNamespace= execution setting | Lennart Poettering | 2020-01-31 | 12 | -12/+155 |
| | |||||
* | string-util: add brief explanatory comment | Lennart Poettering | 2020-01-31 | 1 | -0/+2 |
| | |||||
* | journald: allow running multiple instances of journald | Lennart Poettering | 2020-01-31 | 13 | -77/+275 |
| | | | | | | | | | | | | | | If we do, we operate on a separate set of logs and runtime objects The namespace is configured via argv[1]. Fixes: #12123 Fixes: #10230 #9519 (These latter two issues ask for slightly different stuff, but the usecases generally can be solved by running separate instances of journald now, hence also declaring that as "Fixes:") | ||||
* | journald: when create journal directories use calculated paths | Lennart Poettering | 2020-01-31 | 1 | -16/+10 |
| | |||||
* | journald: minor coding style updates | Lennart Poettering | 2020-01-31 | 1 | -1/+8 |
| | |||||
* | journald: let's simplify rotating of offline user journals | Lennart Poettering | 2020-01-31 | 1 | -104/+96 |
| | | | | | | Let's just use the path that is already stored in JournalStorage, instead of generating our own. While we are at it, split out the loop into its own function. | ||||
* | journald: simplify find_journal() a bit | Lennart Poettering | 2020-01-31 | 1 | -25/+12 |
| | | | | | Let's use the already precalculated persistent storage path instead of deriving it again from the machine ID. | ||||
* | journald: hide current storage determination in helper call | Lennart Poettering | 2020-01-31 | 1 | -2/+8 |
| | |||||
* | journald: use structured initialization | Lennart Poettering | 2020-01-31 | 1 | -14/+15 |
| | |||||
* | journald: line break overly long function header | Lennart Poettering | 2020-01-31 | 1 | -1/+6 |
| | |||||
* | journald: let's use TAKE_PTR() and TAKE_FD() where appropriate | Lennart Poettering | 2020-01-31 | 1 | -3/+2 |
| | |||||
* | journald: let's use unlink_and_free() where we can | Lennart Poettering | 2020-01-31 | 1 | -5/+4 |
| | |||||
* | journald: specifying _pure_ on static functions is unnecessary, compiler can ↵ | Lennart Poettering | 2020-01-31 | 1 | -1/+1 |
| | | | | figure that out on its own | ||||
* | journald: don't bother with seqnum file if we don't read form /dev/kmsg anyway | Lennart Poettering | 2020-01-31 | 1 | -4/+6 |
| | |||||
* | journald: fix indentation | Lennart Poettering | 2020-01-31 | 1 | -5/+5 |
| | |||||
* | journald: use free_and_replace() where appropriate | Lennart Poettering | 2020-01-31 | 1 | -2/+1 |
| | |||||
* | journald: add missing logging for some errors | Lennart Poettering | 2020-01-31 | 1 | -3/+3 |
| | |||||
* | journald: why bitwise XOR when boolean != is easier to read? | Lennart Poettering | 2020-01-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #14696 from poettering/dissect-tweaks | Anita Zhang | 2020-01-30 | 6 | -6/+122 |
|\ | | | | | various tweaks to the image dissection logic | ||||
| * | core: fsck images specified as RootImage= too before using them | Lennart Poettering | 2020-01-29 | 1 | -1/+1 |
| | | |||||
| * | nspawn: fsck all images when mounting things | Lennart Poettering | 2020-01-29 | 1 | -4/+8 |
| | | | | | | | | | | Also, start logging about mount errors, things are hard to debug otherwise. | ||||
| * | dissect: add --fsck= option to systemd-dissect tool | Lennart Poettering | 2020-01-29 | 1 | -1/+15 |
| | | | | | | | | Let's expose this fsck behaviour directly. | ||||
| * | dissect: optionally, run fsck before mounting dissected images | Lennart Poettering | 2020-01-29 | 2 | -0/+51 |
| | | | | | | | | | | Some file systems want us to run fsck before mounting, hence do so, optionally. | ||||
| * | dissect: complain if partition flags are set that we don't know | Lennart Poettering | 2020-01-29 | 2 | -0/+47 |
| | | |||||
* | | Various typo fixes and grammar corrections | Zbigniew Jędrzejewski-Szmek | 2020-01-30 | 2 | -5/+5 |
| | | |||||
* | | polkit: tweak grammar | Zbigniew Jędrzejewski-Szmek | 2020-01-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #14096 from poettering/homed | Zbigniew Jędrzejewski-Szmek | 2020-01-30 | 50 | -1/+19774 |
|\ \ | |/ |/| | systemd-homed | ||||
| * | sleep: automatically lock all home directories when suspending | Lennart Poettering | 2020-01-28 | 1 | -1/+46 |
| | | |||||
| * | home: add pam_systemd_home.so PAM hookup | Lennart Poettering | 2020-01-28 | 3 | -0/+972 |
| | | | | | | | | In a way fixes: https://bugs.freedesktop.org/show_bug.cgi?id=67474 | ||||
| * | home: add homectl client tool | Lennart Poettering | 2020-01-28 | 4 | -0/+3665 |
| | | |||||
| * | home: add new systemd-homed service that can manage LUKS homes | Lennart Poettering | 2020-01-28 | 46 | -0/+15091 |
| | | | | | | | | Fixes more or less: https://bugs.freedesktop.org/show_bug.cgi?id=67474 | ||||
* | | network: fix implicit type conversion warning by GCC-10 | Yu Watanabe | 2020-01-29 | 1 | -2/+2 |
| | | | | | | | | Fixes part of #14691. | ||||
* | | pam_systemd: resolve the tty of display via /sys instead of /dev | Topi Miettinen | 2020-01-29 | 1 | -2/+10 |
| | | | | | | | | | | | | | | Rely on information provided by /proc/*/stat and /sys/dev/char for resolving the controlling tty for the display server, instead of trying to access the tty device in /dev (which may not be accessible for example due to PrivateDevices=yes). |