Commit 73b71c7f authored by Michael Stapelberg's avatar Michael Stapelberg
Browse files

set capabilities cap_dac_override,cap_sys_ptrace=ep for systemd-detect-virt

parent 4359627a
......@@ -10,6 +10,9 @@ systemd (204-8) UNRELEASED; urgency=low
file-rc will not be satisfied with file-rc. We need the invoke-rc.d and
update-rc.d from sysv-rc, file-rcs doesnt have support for systemd.
(Closes: #739679)
* set capabilities cap_dac_override,cap_sys_ptrace=ep for
systemd-detect-virt, so that it works for unprivileged users.
(Closes: #739699)
[ Michael Biebl ]
* do a one-time migration of RAMTMP= from /etc/default/rcS and
......
......@@ -54,7 +54,8 @@ Depends: ${shlibs:Depends},
sysv-rc,
udev,
acl,
adduser
adduser,
libcap2-bin
Breaks: lvm2 (<< 2.02.84-1),
lsb-base (<< 4.1+Debian4)
Conflicts: klogd
......
......@@ -112,4 +112,6 @@ if [ -d /var/log/journal ]; then
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal || true
fi
setcap cap_dac_override,cap_sys_ptrace=ep /usr/bin/systemd-detect-virt || true
#DEBHELPER#
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