Commit 9ca5df38 authored by Balint Reczey's avatar Balint Reczey Committed by Simon McVittie
Browse files

Import Debian changes 237-3ubuntu10

systemd (237-3ubuntu10) bionic; urgency=medium

  * Create tmpfiles for persistent journal in postinst only when running
    systemd (LP: #1748659)
parent 3a4e59ae
systemd (237-3ubuntu10) bionic; urgency=medium
* Create tmpfiles for persistent journal in postinst only when running
systemd (LP: #1748659)
-- Balint Reczey <rbalint@ubuntu.com> Fri, 20 Apr 2018 18:55:56 +0200
systemd (237-3ubuntu9) bionic; urgency=medium
* networkd: if RA was implicit, do not await ndisc_configured.
......
......@@ -125,7 +125,10 @@ addgroup --quiet --system systemd-journal
# Enable persistent journal, in auto-mode, by default on new installs installs and upgrades
if dpkg --compare-versions "$2" lt "235-3ubuntu3~"; then
mkdir -p /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal
# create tmpfiles only when running systemd, otherwise %b substitution fails
if [ -d /run/systemd/system ]; then
systemd-tmpfiles --create --prefix /var/log/journal
fi
fi
adduser --quiet --system --group --no-create-home --home /run/systemd/netif \
......
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