Commit 127c3c3d authored by Jon Severinsson's avatar Jon Severinsson Committed by Sjoerd Simons
Browse files

Add new systemd service users in systemd postinst.

parent 3e45d941
......@@ -13,6 +13,8 @@ systemd (214-1) UNRELEASED; urgency=medium
- Add new symbols file for libsystemd0.
* Update symbols file for libgudev-1.0-0.
* Remove pre-generated rules and unit files in debian/rules clean target.
* Add new systemd service users in systemd postinst (systemd-timesync,
systemd-network, systemd-resolve)
[ Sjoerd Simons ]
* debian/patches/shared-include-stdbool.h-in-mkdir.h.patch
......
......@@ -95,6 +95,18 @@ if ! getent group systemd-journal >/dev/null; then
addgroup --system systemd-journal
fi
if ! getent passwd systemd-timesync >/dev/null; then
adduser --system --group --no-create-home --home /run/systemd systemd-timesync
fi
if ! getent passwd systemd-network >/dev/null; then
adduser --system --group --no-create-home --home /run/systemd/netif systemd-network
fi
if ! getent passwd systemd-resolve >/dev/null; then
adduser --system --group --no-create-home --home /run/systemd/resolve systemd-resolve
fi
# initial update of the Message Catalogs database
_update_catalog
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment