Skip to content
Snippets Groups Projects
Commit 3a06d85e authored by Guido Günther's avatar Guido Günther
Browse files

Add rules for older policy kit

(as in jessie/sid).

Thanks: Török Edwin, Wolodja Wentland and Michael Biebl
Closes: #765346
parent 114d7772
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,5 @@
/var/log/libvirt/uml
/var/log/libvirt/lxc
/etc/libvirt/hooks
/usr/share/polkit-1/rules.d/
\ No newline at end of file
/usr/share/polkit-1/rules.d/
/var/lib/polkit-1/localauthority/10-vendor.d/
[Allow group libvirt management permissions]
Identity=unix-group:libvirt
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
......@@ -148,6 +148,8 @@ override_dh_install:
# Add our backward compat polkit rule
cp debian/polkit/60-libvirt.rules \
debian/libvirt-daemon-system/usr/share/polkit-1/rules.d/
cp debian/polkit/60-libvirt.pkla \
debian/libvirt-daemon-system/var/lib/polkit-1/localauthority/10-vendor.d/
ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
# Linux supports more nice things:
dh_install -p libvirt-daemon-system usr/lib/systemd/system lib/systemd/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment