debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04568
[Bug 1966203] Re: journal shows "systemd-udevd[2837]: nvme0n1: Process ... failed with exit code 1."
root@prod:/home/bernie22/fw# uname -a
Linux prod 6.8.0-64-generic #67~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 24 15:19:46 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
root@prod:/home/bernie22/fw# snap list --all |grep snap
mesa-2404 24.2.8-snap183 887 latest/stable canonical** -
signal-desktop 7.63.0 807 latest/stable snapcrafters* -
snap-store 41.3-72-g80e7130 1216 latest/stable/… canonical** -
snapd 2.70 24792 latest/stable canonical** snapd
snapd-desktop-integration 0.9 315 latest/stable/… canonical** -
root@prod:/home/bernie22/fw# cd /lib/udev/rules.d
root@prod:/lib/udev/rules.d# ll 66-*
-rw-r--r-- 1 root root 190 Jan 15 2025 66-snapd-autoimport.rules
-rw-r--r-- 1 root root 190 Apr 24 2024 66-snapd-autoimport-rules.OFF
root@prod:/lib/udev/rules.d# journalctl -b |grep 'exit code 1'
Jul 28 07:46:16 prod systemd-udevd[482]: sda: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[475]: sr0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sr0' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[489]: sda4: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda4' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[479]: sda2: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda2' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[491]: sda5: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda5' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[482]: sda1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda1' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[488]: sda9: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda9' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[480]: sda3: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda3' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[478]: sda6: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda6' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[485]: sda8: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda8' failed with exit code 1.
Jul 28 07:46:17 prod systemd-udevd[490]: sda7: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda7' failed with exit code 1.
still here at platform 22.04.1LTS with snapd 2.70
--
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