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@10-13-3-10:/var/log# cat /sys/devices/qeth/0.0.c003/bridge_role 
none
root@10-13-3-10:/var/log# echo primary > /sys/devices/qeth/0.0.c003/bridge_role
root@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618463

Title:
  udev race condition with qeth device and bridge_role

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to