What are the contents of those rules? The names are very cryptic and
give me no indication of whether they are relevant here or not.

Maybe a red herring, but...

This is reminding me about
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/2044104. Are
those rules generated/managed/whatever by chzdev? Because udev's
initramfs hook specifically ignores those when copying rules into the
initramfs:

$ cat debian/extra/initramfs-tools/hooks/udev

...SNIP...

# See if chzdev can filter out generated rules, per LP: #2044104
ZDEV_FILTERING=0
if [ -e /usr/sbin/chzdev ] && \
  dpkg --compare-versions "$(dpkg-query -f '${Version}' -W s390-tools 2> 
/dev/null)" '>=' '2.33.0';
then
  ZDEV_FILTERING=1
fi

# now copy all custom udev rules which don't have an equivalent in /usr/lib (e. 
g.
# 70-persistent-net.rules or similar); They might contain network names or
# other bits which are relevant for the initramfs.
for rules in /etc/udev/rules.d/*.rules; do
  if [ ! -e "$rules" ]; then
      continue
  fi

  # Skip rules generated by chzdev as they are handled by its own hook.
  # See LP: #2044104
  if [ $ZDEV_FILTERING -eq 1 ] && /usr/sbin/chzdev --is-owner "$rules"; then
    continue;
  fi

  if [ ! -e "/usr/lib/${rules#/etc/}" ]; then
    cp -p "$rules" "$DESTDIR/usr/lib/udev/rules.d/"
  fi
done

...SNIP...

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

Title:
  plucky/s390x (with root disk on dm?) does not come up after kernel
  update + reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2102236/+subscriptions


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

Reply via email to