]>
git.ipfire.org Git - thirdparty/systemd.git/log
Yu Watanabe [Thu, 30 Jan 2020 15:03:38 +0000 (00:03 +0900)]
meson: fix feature list
Lennart Poettering [Sun, 2 Feb 2020 15:57:17 +0000 (16:57 +0100)]
Merge pull request #14719 from yuwata/sd-boot-fix-warnings
sd-boot: fix warnings
David Michael [Thu, 30 Jan 2020 19:04:14 +0000 (14:04 -0500)]
sysusers: support creating users with a specific primary group
This extends the "uid:gid" syntax for "u" lines so that a group
name can be given instead of a GID. This requires that the group
is either queued for creation by sysusers, or it is already defined
on the system.
Closes #14340
Yu Watanabe [Sun, 2 Feb 2020 13:46:04 +0000 (22:46 +0900)]
Merge pull request #14672 from yuwata/network-routing-policy-uidrange
network: support UID based routing policy
Yu Watanabe [Sun, 26 Jan 2020 13:39:32 +0000 (22:39 +0900)]
test-network: add test for UID based routing policy
Yu Watanabe [Sun, 26 Jan 2020 13:22:38 +0000 (22:22 +0900)]
network: support UID based routing policy
Closes #14666.
Yu Watanabe [Sun, 26 Jan 2020 12:51:12 +0000 (21:51 +0900)]
util: add parse_uid_range() helper function
Yu Watanabe [Sat, 1 Feb 2020 02:01:41 +0000 (11:01 +0900)]
meson, man: do not install pam_systemd_home(8) when pam or homed is disabled
Fixes #14725.
Frantisek Sumsal [Fri, 31 Jan 2020 10:51:05 +0000 (11:51 +0100)]
test: don't install /etc/securetty
Having /etc/securetty in test containers prevents root from logging into
them:
```
Jan 31 10:15:11 systemd-testsuite login[69]: pam_securetty(login:auth): access denied: tty 'pts/0' is not secure !
Jan 31 10:15:11 systemd-testsuite login[69]: FAILED LOGIN 1 FROM pts/0 FOR root, Authentication failure
```
Lennart Poettering [Sat, 1 Feb 2020 10:25:48 +0000 (11:25 +0100)]
Merge pull request #14178 from poettering/journal-namespace
journal: add concept of "journal namespaces"
Anita Zhang [Fri, 31 Jan 2020 20:02:51 +0000 (12:02 -0800)]
Merge pull request #14721 from yuwata/home-tiny-fixes
homed,nspawn,userdb: trivial tiny fixes
Yu Watanabe [Fri, 31 Jan 2020 14:31:19 +0000 (23:31 +0900)]
test: also check the result of merge_gid_lists()
Fixes CID#
1412354 .
Yu Watanabe [Fri, 31 Jan 2020 14:23:44 +0000 (23:23 +0900)]
user-util: fix use after free() on error path
Fixes CID#
1412356 .
Yu Watanabe [Fri, 31 Jan 2020 14:20:45 +0000 (23:20 +0900)]
userdbd: fix memleak
Fixes CID#
1412416 .
Lennart Poettering [Thu, 28 Nov 2019 10:07:15 +0000 (11:07 +0100)]
update TODO
Lennart Poettering [Thu, 28 Nov 2019 09:42:33 +0000 (10:42 +0100)]
man: document --namespace= switch of journalctl
Lennart Poettering [Thu, 28 Nov 2019 09:36:54 +0000 (10:36 +0100)]
man: document the new sd_journal_open_namespace() API
Lennart Poettering [Thu, 28 Nov 2019 09:02:02 +0000 (10:02 +0100)]
man: document LogNamespace= unit setting
Lennart Poettering [Wed, 27 Nov 2019 20:29:47 +0000 (21:29 +0100)]
man: document new _NAMESPACE= journal field
Lennart Poettering [Wed, 27 Nov 2019 20:38:07 +0000 (21:38 +0100)]
man: document journald@NAMESPACE.conf
Lennart Poettering [Wed, 27 Nov 2019 18:25:51 +0000 (19:25 +0100)]
man: document journald namespaces
Lennart Poettering [Thu, 28 Nov 2019 09:50:49 +0000 (10:50 +0100)]
journalctl: underline sections in --help
Yu Watanabe [Fri, 31 Jan 2020 14:10:26 +0000 (23:10 +0900)]
nspawn: voidify umount_verbose()
Fixes CID#
1415122 .
Yu Watanabe [Fri, 31 Jan 2020 14:08:53 +0000 (23:08 +0900)]
user-record-util: add missing error check
Fixes CID#
1415123 .
Yu Watanabe [Fri, 31 Jan 2020 14:07:07 +0000 (23:07 +0900)]
homework: fix errno in log_error_errno()
Fixes CID#
1415124 .
Yu Watanabe [Fri, 31 Jan 2020 14:04:38 +0000 (23:04 +0900)]
home: add missing variable initialization
Fixes CID#
1415126 .
Lennart Poettering [Wed, 27 Nov 2019 20:18:28 +0000 (21:18 +0100)]
units: define RuntimeDirectory= in systemd-journald.service
It doesn't get us much, but makes the differences between the templated
and non-templated versions a bit smaller.
Lennart Poettering [Wed, 27 Nov 2019 20:18:10 +0000 (21:18 +0100)]
units: sort settings in systemd-journald.service again
Lennart Poettering [Wed, 27 Nov 2019 18:15:11 +0000 (19:15 +0100)]
tmpfiles: apply ACLs to top-level journal directory in /run, too
We already apply them to the directory in /var. Let's do the same in
/run too. That's because due to the log namespace logic we nowadays can
gain additional subdirs there during regular operation.
Lennart Poettering [Wed, 27 Nov 2019 18:13:34 +0000 (19:13 +0100)]
tmpfiles: merge lines for the same inodes
Lennart Poettering [Wed, 27 Nov 2019 16:57:51 +0000 (17:57 +0100)]
test: add simple test for log namespaces
Lennart Poettering [Wed, 27 Nov 2019 13:47:37 +0000 (14:47 +0100)]
journald: add ability to activate by varlink socket
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)
Lennart Poettering [Wed, 27 Nov 2019 13:45:24 +0000 (14:45 +0100)]
journald: add exit on idle
Lennart Poettering [Wed, 27 Nov 2019 13:43:41 +0000 (14:43 +0100)]
varlink: add ability to register callback for disconnections
Lennart Poettering [Wed, 27 Nov 2019 12:04:33 +0000 (13:04 +0100)]
varlink: add API for determining number of current connections
Lennart Poettering [Wed, 27 Nov 2019 12:04:07 +0000 (13:04 +0100)]
journald: use structured initialization
Lennart Poettering [Wed, 27 Nov 2019 12:03:51 +0000 (13:03 +0100)]
journald: add logging for one error we lacked logging for
Lennart Poettering [Wed, 27 Nov 2019 11:13:59 +0000 (12:13 +0100)]
systemctl: show logs for correct namespace of service
Lennart Poettering [Wed, 27 Nov 2019 11:13:08 +0000 (12:13 +0100)]
journalctl: drop misplaced empty line
Lennart Poettering [Mon, 25 Nov 2019 17:49:52 +0000 (18:49 +0100)]
journalctl: add new --namespace= switch for showing logs for namespace
Lennart Poettering [Wed, 27 Nov 2019 11:13:36 +0000 (12:13 +0100)]
journal: make constant argument actually 'const'
Lennart Poettering [Wed, 27 Nov 2019 11:11:24 +0000 (12:11 +0100)]
journal: allow opening journal files specific to some namespace
Lennart Poettering [Wed, 27 Nov 2019 11:08:39 +0000 (12:08 +0100)]
journal: use structured initialization
Lennart Poettering [Tue, 26 Nov 2019 10:24:33 +0000 (11:24 +0100)]
journalctl: use an anonymous array when an array is needed
I am pretty sure this makes things more readable, since the expected
argument here is actually an array.
Lennart Poettering [Tue, 26 Nov 2019 10:23:52 +0000 (11:23 +0100)]
journal: properly mark two definitions that are deprecated with GCC attributes for that
Lennart Poettering [Mon, 25 Nov 2019 17:44:19 +0000 (18:44 +0100)]
journalctl: use automatic memory cleanup
Lennart Poettering [Mon, 25 Nov 2019 17:42:52 +0000 (18:42 +0100)]
journalctl: use log_error_errno() wherever we can
Lennart Poettering [Mon, 25 Nov 2019 17:31:44 +0000 (18:31 +0100)]
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.
Lennart Poettering [Mon, 25 Nov 2019 15:22:45 +0000 (16:22 +0100)]
core: add new LogNamespace= execution setting
Lennart Poettering [Mon, 25 Nov 2019 15:22:10 +0000 (16:22 +0100)]
string-util: add brief explanatory comment
Lennart Poettering [Mon, 25 Nov 2019 14:37:35 +0000 (15:37 +0100)]
units: add unit files for instantiated journal daemons
Lennart Poettering [Mon, 25 Nov 2019 14:00:38 +0000 (15:00 +0100)]
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:")
Lennart Poettering [Mon, 25 Nov 2019 11:52:42 +0000 (12:52 +0100)]
journald: when create journal directories use calculated paths
Lennart Poettering [Mon, 25 Nov 2019 11:50:36 +0000 (12:50 +0100)]
journald: minor coding style updates
Lennart Poettering [Fri, 22 Nov 2019 15:39:18 +0000 (16:39 +0100)]
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.
Lennart Poettering [Fri, 22 Nov 2019 15:24:57 +0000 (16:24 +0100)]
journald: simplify find_journal() a bit
Let's use the already precalculated persistent storage path instead of
deriving it again from the machine ID.
Lennart Poettering [Fri, 22 Nov 2019 15:11:20 +0000 (16:11 +0100)]
journald: hide current storage determination in helper call
Lennart Poettering [Fri, 22 Nov 2019 14:28:53 +0000 (15:28 +0100)]
journald: use structured initialization
Lennart Poettering [Fri, 22 Nov 2019 14:23:17 +0000 (15:23 +0100)]
journald: line break overly long function header
Lennart Poettering [Fri, 22 Nov 2019 14:22:40 +0000 (15:22 +0100)]
journald: let's use TAKE_PTR() and TAKE_FD() where appropriate
Lennart Poettering [Fri, 22 Nov 2019 14:22:24 +0000 (15:22 +0100)]
journald: let's use unlink_and_free() where we can
Lennart Poettering [Fri, 22 Nov 2019 14:21:31 +0000 (15:21 +0100)]
journald: specifying _pure_ on static functions is unnecessary, compiler can figure that out on its own
Lennart Poettering [Fri, 22 Nov 2019 14:21:06 +0000 (15:21 +0100)]
journald: don't bother with seqnum file if we don't read form /dev/kmsg anyway
Lennart Poettering [Fri, 22 Nov 2019 14:20:42 +0000 (15:20 +0100)]
journald: fix indentation
Lennart Poettering [Fri, 22 Nov 2019 13:09:35 +0000 (14:09 +0100)]
journald: use free_and_replace() where appropriate
Lennart Poettering [Fri, 22 Nov 2019 13:00:40 +0000 (14:00 +0100)]
journald: add missing logging for some errors
Lennart Poettering [Fri, 22 Nov 2019 12:59:59 +0000 (13:59 +0100)]
journald: why bitwise XOR when boolean != is easier to read?
Evgeny Vereshchagin [Fri, 31 Jan 2020 06:13:14 +0000 (06:13 +0000)]
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.
Yu Watanabe [Fri, 31 Jan 2020 10:21:11 +0000 (19:21 +0900)]
sd-boot: fix -Wpointer-sign warning
Michael Biebl [Fri, 31 Jan 2020 10:49:24 +0000 (11:49 +0100)]
Merge pull request #14718 from yuwata/man-repart-14716
man: do not install man pages for systemd-repart if it is disabled
Yu Watanabe [Fri, 31 Jan 2020 10:20:34 +0000 (19:20 +0900)]
sd-boot: fix warning about comparison is always true
Yu Watanabe [Fri, 31 Jan 2020 09:06:05 +0000 (18:06 +0900)]
man: do not install man pages for systemd-repart if it is disabled
Closes #14716.
Anita Zhang [Thu, 30 Jan 2020 20:57:21 +0000 (12:57 -0800)]
Merge pull request #14712 from wlhlm/root-storage-daemons-docs-fix
Tiny fix for example code in docs
Anita Zhang [Thu, 30 Jan 2020 20:46:03 +0000 (12:46 -0800)]
Merge pull request #14696 from poettering/dissect-tweaks
various tweaks to the image dissection logic
Wilhelm Schuster [Thu, 30 Jan 2020 20:27:05 +0000 (20:27 +0000)]
docs: Fix example code in ROOT_STORAGE_DAEMONS
Yu Watanabe [Thu, 30 Jan 2020 15:09:39 +0000 (00:09 +0900)]
Merge pull request #14701 from keszybz/homed-fixups
Trivial homed fixups
mtron [Thu, 30 Jan 2020 15:06:57 +0000 (16:06 +0100)]
docs: formatting fix (#14707)
fixes formatting in the last paragraph of the 'General Structure' chapter.
Piotr Drąg [Thu, 30 Jan 2020 14:14:32 +0000 (15:14 +0100)]
po: add src/home/org.freedesktop.home1.policy to POTFILES.in
mtron [Thu, 30 Jan 2020 14:45:52 +0000 (15:45 +0100)]
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/
mtron [Thu, 30 Jan 2020 14:26:02 +0000 (15:26 +0100)]
fix link to JSON User Records
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 12:46:19 +0000 (13:46 +0100)]
Various typo fixes and grammar corrections
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:34:05 +0000 (12:34 +0100)]
polkit: tweak grammar
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:27:45 +0000 (12:27 +0100)]
meson: fix type of homed option
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:32:06 +0000 (12:32 +0100)]
Merge pull request #14096 from poettering/homed
systemd-homed
Piotr Drąg [Wed, 29 Jan 2020 16:28:15 +0000 (17:28 +0100)]
po: update Polish translation
Lennart Poettering [Wed, 29 Jan 2020 18:32:39 +0000 (19:32 +0100)]
update TODO
Lennart Poettering [Wed, 29 Jan 2020 17:09:25 +0000 (18:09 +0100)]
update TODO
Lennart Poettering [Wed, 29 Jan 2020 18:21:44 +0000 (19:21 +0100)]
core: fsck images specified as RootImage= too before using them
Lennart Poettering [Wed, 29 Jan 2020 18:20:33 +0000 (19:20 +0100)]
nspawn: fsck all images when mounting things
Also, start logging about mount errors, things are hard to debug
otherwise.
Lennart Poettering [Wed, 29 Jan 2020 18:15:47 +0000 (19:15 +0100)]
dissect: add --fsck= option to systemd-dissect tool
Let's expose this fsck behaviour directly.
Lennart Poettering [Wed, 29 Jan 2020 18:13:24 +0000 (19:13 +0100)]
dissect: optionally, run fsck before mounting dissected images
Some file systems want us to run fsck before mounting, hence do so,
optionally.
Lennart Poettering [Wed, 29 Jan 2020 17:08:36 +0000 (18:08 +0100)]
dissect: complain if partition flags are set that we don't know
Yu Watanabe [Wed, 29 Jan 2020 11:39:12 +0000 (20:39 +0900)]
network: fix implicit type conversion warning by GCC-10
Fixes part of #14691.
Lennart Poettering [Wed, 29 Jan 2020 18:22:26 +0000 (19:22 +0100)]
update TODO
Lennart Poettering [Wed, 29 Jan 2020 15:55:59 +0000 (16:55 +0100)]
update TODO
Topi Miettinen [Sun, 26 Jan 2020 09:58:34 +0000 (11:58 +0200)]
pam_systemd: resolve the tty of display via /sys instead of /dev
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).
Lennart Poettering [Wed, 29 Jan 2020 13:13:03 +0000 (14:13 +0100)]
id128: change table header from "uuid" to just "id"
The tool deals with any kind of 128bit id, not just uuid, and by default
we display just a series of hex chars, hence let's not claim everything
was a "uuid", but just generically say "id"
Lennart Poettering [Wed, 29 Jan 2020 13:12:22 +0000 (14:12 +0100)]
NEWS: more v245 preparation
splantefeve [Tue, 28 Jan 2020 22:16:25 +0000 (23:16 +0100)]
po: update French translation
Lennart Poettering [Wed, 29 Jan 2020 10:44:32 +0000 (11:44 +0100)]
NEWS: start preparing v245