Bug 860275

Summary: kvm postinstall should reload udev rules
Product: [openSUSE] openSUSE 13.1 Reporter: Dirk Mueller <dmueller>
Component: BasesystemAssignee: Bruce Rogers <brogers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: achernikov, chuller
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Mueller 2014-01-24 10:01:32 UTC
On a minimal 13.1 install, kvm_* is autoloaded, and permissions of /dev/kvm are: 

0600 root:root /dev/kvm

when installing "kvm" package, a 80-kvm.rules is installed that fixes permissions to root:kvm, however that only has an effect after reboot. 

It would be nice if the %post script would try to reload and reapply the rules, something like : 


%post
if [ "$(readlink -f /proc/1/root)" = "/" ]; then
  /sbin/udevadm control --reload-rules  || :
  /sbin/udevadm trigger || :
fi
Comment 1 Bruce Rogers 2014-02-06 20:56:35 UTC
Thanks for this report.

Fix checked in to kvm package in Virtualization project. Submitted to Factory and for a Maintenance update.
Comment 2 Bernhard Wiedemann 2014-02-06 21:00:12 UTC
This is an autogenerated message for OBS integration:
This bug (860275) was mentioned in
https://build.opensuse.org/request/show/221180 13.1 / kvm
Comment 3 Swamp Workflow Management 2014-02-14 11:04:20 UTC
openSUSE-RU-2014:0234-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 860275
CVE References: 
Sources used:
openSUSE 13.1 (src):    kvm-1.6.0-3.4.1