systemd-coredump user is created by something other than its derived systemd packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Debian) |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Bionic |
Won't Fix
|
Wishlist
|
Unassigned | ||
Focal |
Won't Fix
|
Wishlist
|
Unassigned | ||
Groovy |
Won't Fix
|
Wishlist
|
Unassigned | ||
Hirsute |
Won't Fix
|
Wishlist
|
Unassigned | ||
Impish |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
systemd-coredump binary package is instructed as follows:
#debian/
adduser --quiet --system --group --no-create-home --home /run/systemd \
--gecos "systemd Core Dumper" systemd-coredump
But one doesn't need this package to be installed to have the systemd-coredump user created. This was taken from a focal 20.04.2 fresh installation (Right after a vanilla installation):
# cat /etc/passwd:
...
systemd-
...
# dpkg -l | grep -i systemd
ii dbus-user-session 1.12.16-2ubuntu2.1 amd64 simple interprocess messaging system (systemd --user integration)
ii libnss-
ii libpam-
ii libsystemd0:amd64 245.4-4ubuntu3.4 amd64 systemd utility library
ii networkd-dispatcher 2.0.1-1 all Dispatcher service for systemd-networkd connection status changes
ii python3-systemd 234-3build2 amd64 Python 3 bindings for systemd
ii systemd 245.4-4ubuntu3.4 amd64 system and service manager
ii systemd-sysv 245.4-4ubuntu3.4 amd64 system and service manager - SysV links
ii systemd-timesyncd 245.4-4ubuntu3.4 amd64 minimalistic service to synchronize local time with NTP servers
# /var/log/syslog
syslog:Feb 17 15:31:56 test systemd-
syslog:Feb 17 15:31:56 test systemd-
Additionnally, you may notice the home directory during the user creation at installation sets it to "/" as opposed to "/run/systemd" directive in the appropriate postint. It is contradictory.
* Why systemd-coredump user is created at installation time and/or without 'systemd-coredump' package installed ?
* Why this early creation set the home directory to "/" ?
description: | updated |
summary: |
- systemd-coredump user is create by something other than a derived + systemd-coredump user is create by something other than its derived systemd packages |
summary: |
- systemd-coredump user is create by something other than its derived + systemd-coredump user is created by something other than its derived systemd packages |
Changed in systemd (Debian): | |
status: | Unknown → New |
Changed in systemd (Ubuntu Hirsute): | |
importance: | Undecided → Wishlist |
Changed in systemd (Ubuntu Groovy): | |
importance: | Undecided → Wishlist |
Changed in systemd (Ubuntu Focal): | |
importance: | Undecided → Wishlist |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Wishlist |
Changed in systemd (Debian): | |
status: | New → Confirmed |
Changed in systemd (Debian): | |
status: | Confirmed → Fix Released |
Changed in systemd (Ubuntu Impish): | |
status: | New → Won't Fix |
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
sudo /bin/systemd- sysusers --cat-config
# /usr/lib/ sysusers. d/systemd. conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
g systemd-journal - -
u systemd-network - "systemd Network Management"
u systemd-resolve - "systemd Resolver"
u systemd-timesync - "systemd Time Synchronization"
u systemd-coredump - "systemd Core Dumper"