summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* journald: add ability to activate by varlink socketLennart Poettering2020-01-312-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 idleLennart Poettering2020-01-313-2/+146
|
* varlink: add ability to register callback for disconnectionsLennart Poettering2020-01-312-2/+23
|
* varlink: add API for determining number of current connectionsLennart Poettering2020-01-312-0/+8
|
* journald: use structured initializationLennart Poettering2020-01-311-3/+5
|
* journald: add logging for one error we lacked logging forLennart Poettering2020-01-311-1/+3
|
* systemctl: show logs for correct namespace of serviceLennart Poettering2020-01-315-1/+10
|
* journalctl: drop misplaced empty lineLennart Poettering2020-01-311-1/+0
|
* journalctl: add new --namespace= switch for showing logs for namespaceLennart Poettering2020-01-311-4/+34
|
* journal: make constant argument actually 'const'Lennart Poettering2020-01-311-1/+1
|
* journal: allow opening journal files specific to some namespaceLennart Poettering2020-01-314-19/+102
|
* journal: use structured initializationLennart Poettering2020-01-311-8/+11
|
* journalctl: use an anonymous array when an array is neededLennart Poettering2020-01-311-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 Poettering2020-01-315-5/+24
| | | | attributes for that
* journalctl: use automatic memory cleanupLennart Poettering2020-01-311-2/+1
|
* journalctl: use log_error_errno() wherever we canLennart Poettering2020-01-311-45/+29
|
* journalctl: move pcre function code downLennart Poettering2020-01-311-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 settingLennart Poettering2020-01-3112-12/+155
|
* string-util: add brief explanatory commentLennart Poettering2020-01-311-0/+2
|
* journald: allow running multiple instances of journaldLennart Poettering2020-01-3113-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 pathsLennart Poettering2020-01-311-16/+10
|
* journald: minor coding style updatesLennart Poettering2020-01-311-1/+8
|
* journald: let's simplify rotating of offline user journalsLennart Poettering2020-01-311-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 bitLennart Poettering2020-01-311-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 callLennart Poettering2020-01-311-2/+8
|
* journald: use structured initializationLennart Poettering2020-01-311-14/+15
|
* journald: line break overly long function headerLennart Poettering2020-01-311-1/+6
|
* journald: let's use TAKE_PTR() and TAKE_FD() where appropriateLennart Poettering2020-01-311-3/+2
|
* journald: let's use unlink_and_free() where we canLennart Poettering2020-01-311-5/+4
|
* journald: specifying _pure_ on static functions is unnecessary, compiler can ↵Lennart Poettering2020-01-311-1/+1
| | | | figure that out on its own
* journald: don't bother with seqnum file if we don't read form /dev/kmsg anywayLennart Poettering2020-01-311-4/+6
|
* journald: fix indentationLennart Poettering2020-01-311-5/+5
|
* journald: use free_and_replace() where appropriateLennart Poettering2020-01-311-2/+1
|
* journald: add missing logging for some errorsLennart Poettering2020-01-311-3/+3
|
* journald: why bitwise XOR when boolean != is easier to read?Lennart Poettering2020-01-311-1/+1
|
* Merge pull request #14696 from poettering/dissect-tweaksAnita Zhang2020-01-306-6/+122
|\ | | | | various tweaks to the image dissection logic
| * core: fsck images specified as RootImage= too before using themLennart Poettering2020-01-291-1/+1
| |
| * nspawn: fsck all images when mounting thingsLennart Poettering2020-01-291-4/+8
| | | | | | | | | | Also, start logging about mount errors, things are hard to debug otherwise.
| * dissect: add --fsck= option to systemd-dissect toolLennart Poettering2020-01-291-1/+15
| | | | | | | | Let's expose this fsck behaviour directly.
| * dissect: optionally, run fsck before mounting dissected imagesLennart Poettering2020-01-292-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 knowLennart Poettering2020-01-292-0/+47
| |
* | Various typo fixes and grammar correctionsZbigniew Jędrzejewski-Szmek2020-01-302-5/+5
| |
* | polkit: tweak grammarZbigniew Jędrzejewski-Szmek2020-01-301-1/+1
| |
* | Merge pull request #14096 from poettering/homedZbigniew Jędrzejewski-Szmek2020-01-3050-1/+19774
|\ \ | |/ |/| systemd-homed
| * sleep: automatically lock all home directories when suspendingLennart Poettering2020-01-281-1/+46
| |
| * home: add pam_systemd_home.so PAM hookupLennart Poettering2020-01-283-0/+972
| | | | | | | | In a way fixes: https://bugs.freedesktop.org/show_bug.cgi?id=67474
| * home: add homectl client toolLennart Poettering2020-01-284-0/+3665
| |
| * home: add new systemd-homed service that can manage LUKS homesLennart Poettering2020-01-2846-0/+15091
| | | | | | | | Fixes more or less: https://bugs.freedesktop.org/show_bug.cgi?id=67474
* | network: fix implicit type conversion warning by GCC-10Yu Watanabe2020-01-291-2/+2
| | | | | | | | Fixes part of #14691.
* | pam_systemd: resolve the tty of display via /sys instead of /devTopi Miettinen2020-01-291-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).