I investigated this issue again and it is more tricky than I initially
thought.

The rules (see attachment) are supposed to create a symbolic link  in
/etc/X11/ (it worked ALWAYS perfectly in Ubuntu 12.04 on the same
hardware). The problem seems to be due to a race condition (and not due
to naming. I initially assumed it is due to naming because the symlink
was succesfully created when I renamed the file from graphics-
xorg.config.rules to graphics-xorg-config.rules and started the system.
Then I deleted the symlink renamed it back to graphics-xorg.config.rules
and the symlink was not created after the next boot).

After much more tries it turns out that the symlink in /etc/X11/ is
sometimes created after booting and sometimes not. I assume that the
symlink is created (not created) when the udev event for my rule is
triggered after (before) the root files system is mounted.

In the meantime I hit a similar issue with another udev rule for an USB
sound device. This rule's action also requires root to be mounted for
its successful execution. When the USB device is cold plugged the action
is sometimes executed successfully and sometimes not. When the device is
hot plugged the action is always executed successfully.

So the subject of the bug should be rephrased to "udev events for cold
plug devices are often triggered before root fs is mounted breaking
compatibility to Ubuntu 12.04"

** Attachment added: "Rules file in /etc/udev/rules.d/"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1319047/+attachment/4201557/+files/graphics-xorg-config.rules

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1319047

Title:
  udev rule file naming requirements changed breaking compatibility to
  Ubuntu 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1319047/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to