ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Андрей Черепанов" <cas@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Evgeny Sinelnikov <sin@altlinux.org>
Subject: Re: [devel] Работа udev-acl
Date: Wed, 30 Nov 2011 19:49:09 +0400
Message-ID: <201111301949.10024.cas@altlinux.ru> (raw)
In-Reply-To: <201111301931.46151.cas@altlinux.ru>


[-- Attachment #1.1: Type: Text/Plain, Size: 687 bytes --]

30 ноября 2011 Андрей Черепанов написал:
> 30 ноября 2011 Андрей Черепанов написал:
> > Собственно, проблема:
> > при подключении сканера он не работает под обычным пользователем.
> 
> Обнаружен нарушитель спокойствия:
> 
> /etc/udev/rules.d/90-virtualbox.rules
За RUN= надо кастрировать, потому что весь стек вылетает в трубу и не 
отрабатывает. Используйте RUN+=

Правильный файл во вложении. Остальные правила написаны нормально.
Исправьте, пожалуйста. Версия в Сизифе подвержена тоже (ибо это прикладываемый  
Source4 согласно 
http://git.altlinux.org/gears/v/virtualbox.git?p=virtualbox.git;a=tree;h=refs/heads/sisyphus;hb=sisyphus).

-- 
Андрей Черепанов
ALT Linux
cas@altlinux.ru

[-- Attachment #1.2: 90-virtualbox.rules --]
[-- Type: text/plain, Size: 868 bytes --]

# This file will be replaced during the virtualbox-common package upgrade; any
# modifications except the ones made by "control virtualbox ..." will be lost.

# The following line can be modified by /etc/control.d/facilities/virtualbox;
# do not change it in a way not supported by that script.
KERNEL=="vboxdrv", MODE="0660", GROUP="vboxusers"

SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2011-11-30 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 12:51 Андрей Черепанов
2011-11-30 15:31 ` Андрей Черепанов
2011-11-30 15:49   ` Андрей Черепанов [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201111301949.10024.cas@altlinux.ru \
    --to=cas@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=sin@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git