]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
logind: don't apply RemoveIPC= to system users
authorLennart Poettering <lennart@poettering.net>
Wed, 21 May 2014 00:31:22 +0000 (09:31 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 May 2014 00:36:49 +0000 (09:36 +0900)
commitf7dc3ab9f43b67abcbd34062b9352ab42debec49
tree0a797055292a0741ef3f1cf473e3933926b42a74
parentf5c0c00f400e6f1fa58c5faf8bc93ca9057d4463
logind: don't apply RemoveIPC= to system users

We shouldn't destroy IPC objects of system users on logout.

http://lists.freedesktop.org/archives/systemd-devel/2014-April/018373.html

This introduces SYSTEM_UID_MAX defined to the maximum UID of system
users. This value is determined compile-time, either as configure switch
or from /etc/login.defs. (We don't read that file at runtime, since this
is really a choice for a system builder, not the end user.)

While we are at it we then also update journald to use SYSTEM_UID_MAX
when we decide whether to split out log data for a specific client.
Makefile.am
configure.ac
src/core/systemd.pc.in
src/journal/journald-server.c
src/shared/clean-ipc.c