[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] KQEMU docs fedora udev rules

From: Tony Nelson
Subject: [Qemu-devel] KQEMU docs fedora udev rules
Date: Tue, 16 Jan 2007 01:36:29 -0000

In the KQEMU docs at <http://fabrice.bellard.free.fr/qemu/kqemy-doc.html>
section 2.2 "QEMU Accelerator Installation for Linux", references to
/etc/udev/permissions.d/50-udev.permissions no longer apply to Fedora Core
4 and up, as permissions are now part of the regular rules.  Instead of a
line "kqemu:root:root:0666" in a .permissions file, the udev-rules entry
'KERNEL=="kqemu", NAME="%k", MDOE="0666"' is needed:

    []# echo 'KERNEL=="kqemu", NAME="%k", MDOE="0666"'\

I've read that udev used to stop at the first matching rule, so at that
time, a "10-" rule would have been needed.  Udev now processes all matching
rules unless an OPTIONS="last_rule" is found, so this rule file must follow
50-udev.rules in order not to be overridden by 'KERNEL=="*", OWNER="root"
GROUP="root", MODE="0600"'.

Don't confuse the udev rules with /etc/security/console.perms.d.
Console.perms* only apply to the user logged in at the console, while qemu
can be used remotely or at the console.  At present, on FC6, no rule in
console.perms* will match kqemu, so no rule needs to be added there.

Note that I am an absolute novice at writing udev rules, and that as I sent
this from my old Mac, I have retyped everything from the linux box.
TonyN.:'                       <mailto:address@hidden>
      '                              <http://www.georgeanelson.com/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]