mirror of
https://git.proxmox.com/git/systemd
synced 2026-02-02 02:09:31 +00:00
Drop long-obsolete systemd-bus-proxy system user
systemd-bus-proxy hasn't been shipped since before stretch and never created any files. Thus clean up the obsolete system user on upgrades. Closes: #878182
This commit is contained in:
parent
f887d11fc0
commit
a83ced86d4
7
debian/systemd.postinst
vendored
7
debian/systemd.postinst
vendored
@ -102,8 +102,6 @@ adduser --quiet --system --group --no-create-home --home /run/systemd/netif \
|
||||
--gecos "systemd Network Management" systemd-network
|
||||
adduser --quiet --system --group --no-create-home --home /run/systemd/resolve \
|
||||
--gecos "systemd Resolver" systemd-resolve
|
||||
adduser --quiet --system --group --no-create-home --home /run/systemd \
|
||||
--gecos "systemd Bus Proxy" systemd-bus-proxy
|
||||
|
||||
# Initial update of the Message Catalogs database
|
||||
_update_catalog
|
||||
@ -143,4 +141,9 @@ if dpkg --compare-versions "$2" lt-nl "228-5~"; then
|
||||
done
|
||||
fi
|
||||
|
||||
if dpkg --compare-versions "$2" lt-nl "235-3~"; then
|
||||
# systemd-bus-proxyd got dropped before stretch, and never created any file
|
||||
deluser --system systemd-bus-proxy || true
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user