FS#47393 - [qemu] setfacl -m g::rw /dev/kvm in post_install

Attached to Project: Arch Linux
Opened by Tom Yan (tom.ty89) - Tuesday, 15 December 2015, 20:45 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 16 November 2017, 14:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/65-kvm.rules?h=packages/qemu#n1

The MODE="0660" here will not have expected effect since systemd ships a rule adding ACLs to /dev/kvm (uaccess). It would only touch the ACL mask entry like chmod does. So libvirt will get permission denied on kvm before a reboot or setfacl.

I reported about this issue here but closed it after a while because I consider it a defect of udev. However I am starting to doubt whether upstream is ever gonna fix it: https://github.com/systemd/systemd/issues/1677

So I think it's better we add this workaround to the install file.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 16 November 2017, 14:01 GMT
Reason for closing:  Upstream

Loading...