Bug 863481 - udev rule causes conflict with system-config-printer-udev
Summary: udev rule causes conflict with system-config-printer-udev
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 862186
TreeView+ depends on / blocked
 
Reported: 2012-10-05 15:01 UTC by Tim Waugh
Modified: 2012-12-20 16:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:02:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2012-10-05 15:01:18 UTC
Description of problem:
One of the udev rules conflicts with a new rule needed to solve bug #862186.

Version-Release number of selected component (if applicable):
systemd-194-1.fc18

This is the line in question:

$ grep -n device.*printer\.target /lib/udev/rules.d/99-systemd.rules
48:SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"

The presence of this rule causes the system-config-printer "add" rule not to take effect:

# Low-level USB device add trigger
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="configure-printer@usb-$env{BUSNUM}-$env{DEVNUM}.service"
# Low-level USB device remove trigger
ACTION=="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", RUN+="udev-configure-printer remove %p"

Comment 1 Kay Sievers 2012-10-08 22:22:50 UTC
Oh, funny issue; we never really thought about overwriting earlier values with
our own rules.

This is supposed to fix it:
  http://cgit.freedesktop.org/systemd/systemd/commit/?id=07845c142b41083bc759a18e601123aa5f6864f1

Comment 2 Fedora Update System 2012-10-23 01:04:01 UTC
systemd-195-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-195-1.fc18

Comment 3 Fedora Update System 2012-10-23 06:47:20 UTC
Package systemd-195-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-195-1.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16709/systemd-195-1.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-10-26 19:36:51 UTC
Package systemd-195-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-195-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16709/systemd-195-2.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-12-20 16:02:51 UTC
systemd-195-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.