** Description changed: + [SRU] 2.68.3: + https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2098137 + + [ Impact ] + + Addition of block devices (ACTION=="add", SUBSYSTEM=="block") trigger snapd provided udev rule `udev/rules.d/66-snapd-autoimport.rules`, not intended + or required for classic systems, causing unwanted errors like `Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1' failed with exit code 1` + + [ Test Plan ] + + 1. Produce error with snapd 2.66.1 deb + + insert usb storage + journalctl -b | grep 'exit code 1' + expect to find '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdb' failed with exit code 1 + + 2. Change to snapd 2.68.3 deb + + insert and remove usb storage multiple times + journalctl -b | grep 'exit code 1' + should not find any new entries + + Repeat for all targeted Ubuntu releases. + + ---original--- + Configuration: - OS:jammy-live-server20220320-amd64.iso - CPU:AMD EPYC 7702 64-Core Processor - UEFI Version:D8E119A - BMC Version:D8BT19I - SSD:Intel 1.60TB NVMe SSD - Boot mode:legacy + OS:jammy-live-server20220320-amd64.iso + CPU:AMD EPYC 7702 64-Core Processor + UEFI Version:D8E119A + BMC Version:D8BT19I + SSD:Intel 1.60TB NVMe SSD + Boot mode:legacy Reproduce Steps: - 1.Boot into BIOS and set boot mode to legacy - 2.install ubuntu 22.04 on NVMe SSD - 3.Check syslog log + 1.Boot into BIOS and set boot mode to legacy + 2.install ubuntu 22.04 on NVMe SSD + 3.Check syslog log Current behaviors: syslog shows systemd-udevd errors in Ubuntu 22.04 Feb 9 10:16:19 len systemd-udevd[2837]: nvme0n1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2877]: nvme0n1p3: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p3' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2876]: nvme0n1p2: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p2' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2837]: nvme0n1p1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p1' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2828]: sr0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sr0' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2850]: dm-0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/dm-0' failed with exit code 1.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1966203 Title: journal shows "systemd-udevd[2837]: nvme0n1: Process ... failed with exit code 1." Status in snapd: Fix Committed Status in snapd package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Invalid Bug description: [SRU] 2.68.3: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2098137 [ Impact ] Addition of block devices (ACTION=="add", SUBSYSTEM=="block") trigger snapd provided udev rule `udev/rules.d/66-snapd-autoimport.rules`, not intended or required for classic systems, causing unwanted errors like `Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1' failed with exit code 1` [ Test Plan ] 1. Produce error with snapd 2.66.1 deb insert usb storage journalctl -b | grep 'exit code 1' expect to find '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdb' failed with exit code 1 2. Change to snapd 2.68.3 deb insert and remove usb storage multiple times journalctl -b | grep 'exit code 1' should not find any new entries Repeat for all targeted Ubuntu releases. ---original--- Configuration: OS:jammy-live-server20220320-amd64.iso CPU:AMD EPYC 7702 64-Core Processor UEFI Version:D8E119A BMC Version:D8BT19I SSD:Intel 1.60TB NVMe SSD Boot mode:legacy Reproduce Steps: 1.Boot into BIOS and set boot mode to legacy 2.install ubuntu 22.04 on NVMe SSD 3.Check syslog log Current behaviors: syslog shows systemd-udevd errors in Ubuntu 22.04 Feb 9 10:16:19 len systemd-udevd[2837]: nvme0n1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2877]: nvme0n1p3: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p3' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2876]: nvme0n1p2: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p2' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2837]: nvme0n1p1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n1p1' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2828]: sr0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sr0' failed with exit code 1. Feb 9 10:16:19 len systemd-udevd[2850]: dm-0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/dm-0' failed with exit code 1. To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1966203/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp