From 71fa831da59a3a50d38165d9963dc2bc5b8a488b Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 11 Feb 2016 20:14:51 +0100 Subject: [PATCH] systemd-coredump.postinst: Create systemd-coredump system user --- debian/changelog | 1 + debian/systemd-coredump.postinst | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 74012df2a..248bf7d5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ systemd (229-1) UNRELEASED; urgency=medium - Do not warn about Wants depencencies on masked units. (LP: #1543282) * debian/systemd.install: Ship the new systemd-resolve. * libsystemd0.symbols: Add new symbols from this release. + * systemd-coredump.postinst: Create systemd-coredump system user. * debian/tests/systemd-fsckd: Tame overly strict test for failed plymouth unit, which is a race condition with plymouthd auto-stopping. (LP: #1543144) diff --git a/debian/systemd-coredump.postinst b/debian/systemd-coredump.postinst index 5b837de29..323e34578 100644 --- a/debian/systemd-coredump.postinst +++ b/debian/systemd-coredump.postinst @@ -2,6 +2,9 @@ set -e if [ "$1" = configure ]; then + adduser --quiet --system --group --no-create-home --home /run/systemd \ + --gecos "systemd Time Synchronization" systemd-timesync + # enable systemd-coredump right after package installation /lib/systemd/systemd-sysctl /usr/lib/sysctl.d/50-coredump.conf || true fi