debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04572
[Bug 1966203] Re: journal shows "systemd-udevd[2837]: nvme0n1: Process ... failed with exit code 1."
Keep in mind that only the snapd deb is relevant here. Snapd snap does
not write or otherwise modify udev rules shipped by the deb.
--
You received this bug notification because you are a member of
Debcrafters 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:
Fix Released
Status in systemd package in Ubuntu:
Invalid
Status in snapd source package in Jammy:
Fix Committed
Status in snapd source package in Noble:
Fix Committed
Status in snapd source package in Plucky:
Fix Committed
Status in systemd source package in Plucky:
Confirmed
Status in snapd source package in Questing:
Fix Released
Status in systemd source package in Questing:
Invalid
Bug description:
[SRU] 2.68.5:
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.5 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