Lennart Poettering
68312977db
journal: properly mark two definitions that are deprecated with GCC attributes for that
2020-01-31 15:02:00 +01:00
Lennart Poettering
e7238caf0c
journalctl: use automatic memory cleanup
2020-01-31 15:01:57 +01:00
Lennart Poettering
0491150b5c
journalctl: use log_error_errno() wherever we can
2020-01-31 15:01:53 +01:00
Lennart Poettering
a6214d9643
journalctl: move pcre function code down
...
We usually put the static arguments at the top of each source files, do
so here too, and thus move the first code down.
2020-01-31 15:01:50 +01:00
Lennart Poettering
91dd5f7cbe
core: add new LogNamespace= execution setting
2020-01-31 15:01:43 +01:00
Lennart Poettering
839d1b2014
string-util: add brief explanatory comment
2020-01-31 15:01:39 +01:00
Lennart Poettering
1ee51fbd70
units: add unit files for instantiated journal daemons
2020-01-31 15:01:30 +01:00
Lennart Poettering
b1852c48c1
journald: allow running multiple instances of journald
...
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:")
2020-01-31 15:01:18 +01:00
Lennart Poettering
d6f46470f5
journald: when create journal directories use calculated paths
2020-01-31 15:01:14 +01:00
Lennart Poettering
4f60310373
journald: minor coding style updates
2020-01-31 15:01:09 +01:00
Lennart Poettering
4e00337b16
journald: let's simplify rotating of offline user journals
...
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.
2020-01-31 15:01:05 +01:00
Lennart Poettering
46e2348a58
journald: simplify find_journal() a bit
...
Let's use the already precalculated persistent storage path instead of
deriving it again from the machine ID.
2020-01-31 15:01:01 +01:00
Lennart Poettering
b42b9479a8
journald: hide current storage determination in helper call
2020-01-31 15:00:57 +01:00
Lennart Poettering
74dd8f5759
journald: use structured initialization
2020-01-31 15:00:53 +01:00
Lennart Poettering
8548f4f09b
journald: line break overly long function header
2020-01-31 15:00:49 +01:00
Lennart Poettering
7e7ef3bfb2
journald: let's use TAKE_PTR() and TAKE_FD() where appropriate
2020-01-31 15:00:45 +01:00
Lennart Poettering
a30e35f85a
journald: let's use unlink_and_free() where we can
2020-01-31 15:00:41 +01:00
Lennart Poettering
2066f4fe30
journald: specifying _pure_ on static functions is unnecessary, compiler can figure that out on its own
2020-01-31 15:00:37 +01:00
Lennart Poettering
a2735a4549
journald: don't bother with seqnum file if we don't read form /dev/kmsg anyway
2020-01-31 15:00:33 +01:00
Lennart Poettering
dbac262578
journald: fix indentation
2020-01-31 15:00:29 +01:00
Lennart Poettering
99d0d05a10
journald: use free_and_replace() where appropriate
2020-01-31 15:00:25 +01:00
Lennart Poettering
659a77bec6
journald: add missing logging for some errors
2020-01-31 15:00:21 +01:00
Lennart Poettering
d83f7e4c92
journald: why bitwise XOR when boolean != is easier to read?
2020-01-31 14:59:41 +01:00
Evgeny Vereshchagin
9a1862bfa6
tests: unset LD_PRELOAD in testsuite.service when it's run under ASan
...
This should help to address the "grep" issue we ran into in
https://github.com/systemd/systemd-centos-ci/pull/217 .
2020-01-31 13:13:04 +01:00
Yu Watanabe
efda8aebcb
sd-boot: fix -Wpointer-sign warning
2020-01-31 19:59:34 +09:00
Michael Biebl
99860f1f8d
Merge pull request #14718 from yuwata/man-repart-14716
...
man: do not install man pages for systemd-repart if it is disabled
2020-01-31 11:49:24 +01:00
Yu Watanabe
a614aa1985
sd-boot: fix warning about comparison is always true
2020-01-31 19:20:34 +09:00
Yu Watanabe
2d37ea5ca9
man: do not install man pages for systemd-repart if it is disabled
...
Closes #14716 .
2020-01-31 18:06:09 +09:00
Yu Watanabe
3ae01632f2
dhcp6: coding style fixes
2020-01-31 14:44:40 +09:00
Yu Watanabe
9de8a4259e
dhcp6: do not use T1 and T2 longer than one provided by the lease
...
Fixes #12623 .
2020-01-31 14:44:32 +09:00
Anita Zhang
80d48995f3
Merge pull request #14712 from wlhlm/root-storage-daemons-docs-fix
...
Tiny fix for example code in docs
2020-01-30 12:57:21 -08:00
Anita Zhang
1b9d61bcee
Merge pull request #14696 from poettering/dissect-tweaks
...
various tweaks to the image dissection logic
2020-01-30 12:46:03 -08:00
Wilhelm Schuster
faec9de87f
docs: Fix example code in ROOT_STORAGE_DAEMONS
2020-01-30 20:27:05 +00:00
Yu Watanabe
4d2db005d8
Merge pull request #14701 from keszybz/homed-fixups
...
Trivial homed fixups
2020-01-31 00:09:39 +09:00
mtron
58345a2332
docs: formatting fix ( #14707 )
...
fixes formatting in the last paragraph of the 'General Structure' chapter.
2020-01-31 00:06:57 +09:00
Piotr Drąg
258adeca3c
po: add src/home/org.freedesktop.home1.policy to POTFILES.in
2020-01-30 23:53:14 +09:00
mtron
56b3eddb70
fix links to GROUP_RECORD and USER_GROUP_API
...
fix 2 more broken links.
GROUP_RECORD now points to https://systemd.io/GROUP_RECORD/ and
USER_GROUP_API to https://systemd.io/USER_GROUP_API/
2020-01-30 23:48:44 +09:00
mtron
e5e529c30a
fix link to JSON User Records
2020-01-30 23:32:17 +09:00
Zbigniew Jędrzejewski-Szmek
f770b7e084
man: document man/sd_bus_message_dump.xml
2020-01-30 14:33:05 +01:00
Zbigniew Jędrzejewski-Szmek
2a4be3c52b
Various typo fixes and grammar corrections
2020-01-30 13:48:01 +01:00
Zbigniew Jędrzejewski-Szmek
402058dc3a
polkit: tweak grammar
2020-01-30 12:34:05 +01:00
Zbigniew Jędrzejewski-Szmek
ec74f47e56
meson: fix type of homed option
2020-01-30 12:33:06 +01:00
Zbigniew Jędrzejewski-Szmek
4119d1e60a
Merge pull request #14096 from poettering/homed
...
systemd-homed
2020-01-30 12:32:06 +01:00
Piotr Drąg
ce306dd872
po: update Polish translation
2020-01-30 09:28:36 +01:00
Lennart Poettering
70e9d9a56c
update TODO
2020-01-29 19:39:02 +01:00
Lennart Poettering
ed2d966152
update TODO
2020-01-29 19:30:02 +01:00
Lennart Poettering
8d251485fa
core: fsck images specified as RootImage= too before using them
2020-01-29 19:29:59 +01:00
Lennart Poettering
4fcb96ce25
nspawn: fsck all images when mounting things
...
Also, start logging about mount errors, things are hard to debug
otherwise.
2020-01-29 19:29:55 +01:00
Lennart Poettering
e475f72977
dissect: add --fsck= option to systemd-dissect tool
...
Let's expose this fsck behaviour directly.
2020-01-29 19:29:52 +01:00
Lennart Poettering
cf32c48657
dissect: optionally, run fsck before mounting dissected images
...
Some file systems want us to run fsck before mounting, hence do so,
optionally.
2020-01-29 19:29:44 +01:00