[Bug 1618463] [NEW] udev race condition with qeth device and bridge_role

Andrew McLeod andrew.mcleod at canonical.com
Tue Aug 30 13:38:01 UTC 2016


Public bug reported:

Attempting to set bridge_role = primary with the following command in
preseed:

in-target chzdev --no-root-update -pVe c003 bridge_role=primary;

...works, and generates the following udev rule for this device:

https://pastebin.canonical.com/164271/

However, after reboot:

systemd-udevd[2634]: error opening
ATTR{/sys/devices/qeth/0.0.c003/bridge_role} for writing: Permission
denied

More logging:

https://pastebin.canonical.com/164272/

after the system has booted, we are able to write to the file and set
bridge_role to primary:

root at 10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
none
root at 10-13-3-10:/var/log# echo primary > /sys/devices/qeth/0.0.c003/bridge_role
root at 10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
primary

** Affects: s390-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: s390x

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

Title:
  udev race condition with qeth device and bridge_role

Status in s390-tools package in Ubuntu:
  New

Bug description:
  Attempting to set bridge_role = primary with the following command in
  preseed:

  in-target chzdev --no-root-update -pVe c003 bridge_role=primary;

  ...works, and generates the following udev rule for this device:

  https://pastebin.canonical.com/164271/

  However, after reboot:

  systemd-udevd[2634]: error opening
  ATTR{/sys/devices/qeth/0.0.c003/bridge_role} for writing: Permission
  denied

  More logging:

  https://pastebin.canonical.com/164272/

  after the system has booted, we are able to write to the file and set
  bridge_role to primary:

  root at 10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
  none
  root at 10-13-3-10:/var/log# echo primary > /sys/devices/qeth/0.0.c003/bridge_role
  root at 10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
  primary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1618463/+subscriptions



More information about the foundations-bugs mailing list