Mailinglist Archive: opensuse-bugs (10021 mails)

< Previous Next >
[Bug 235059] /etc/resmgr.conf.d/99-avrdude_parport.conf is out of date
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 16 Jan 2007 02:53:46 -0700 (MST)
  • Message-id: <20070116095346.E04CC25C889@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=235059





------- Comment #11 from lnussel@xxxxxxxxxx 2007-01-16 02:53 MST -------
Yes, for parport* hal needs to be patched so resmgr can do anything in the
first place. Robert is right however. His request for matching a device name is
probably so simple I didn't even think about it. Here's an example for a
fictional device that is known to hal:

# mkdir /etc/hal/fdi/policy/20user
# cat <<EOF > /etc/hal/fdi/policy/20user/50-missilelauncher.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="linux.device_file" string="/dev/missilelauncher">
<merge key="resmgr.class" type="string">wmd</merge>
</match>
</device>
</deviceinfo>
EOF
# cat <<EOF > /etc/resmgr.conf.d/50-wmd.conf
## define a new class 'wmd'
class wmd

## grant access to class 'wmd' when access to 'desktop' is granted
## (ie everyone on a local console)
class desktop includes wmd

## maybe you want to restrict access to 'wmd' to members of a group instead
#allow wmd group=generals
EOF
# rcresmgr restart
# rchal restart


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References