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

Dimitri John Ledkov launchpad at surgut.co.uk
Mon Oct 3 14:13:21 UTC 2016


sudo add-apt-repository ppa:ci-train-ppa-service/2038
sudo apt update
sudo apt dist-upgrade

After that please regenerate persistent configuration for your qeth
device, e.g.:

$ sudo chzdev -p -d 600
$ sudo chzdev -p -e 600 bridge_role=primary
$ sudo update-initramfs -u

undo any other manual changes to set bridge_role to primary, and finally
reboot to test the packages with a proposed fix for your issue.

Please note packages are pending publication, however should be
available shortly.

** Changed in: s390-tools (Ubuntu)
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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