*** This bug is a duplicate of bug 1966203 ***
https://bugs.launchpad.net/bugs/1966203
Thanks Nick, indeed! I'm closing this since 1966203 was reported first.
** This bug has been marked a duplicate of bug 1966203
Syslog shows "systemd-udevd[2837]: nvme0n1: Process ... failed with exit
** Changed in: snapd (Ubuntu)
Assignee: (unassigned) => Alberto Mardegan (mardy)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when
I think this a duplicate of, or closely related to bug 1966203.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when attaching nvme volume
To
Alberto,
there don't see the error anymore after applying latest change.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when attaching nvme volume
Hi again Vincent :-)
Please ignore the part about adding more attributes to the SystemCallFilter
list; I don't think it's a road we want to follow.
What would be more important for me to know, is whether things work if
you change the RUN line to just
RUN+="/usr/bin/snap auto-import
Thanks Vincent. I think I got some hints: I downloaded the package from
Jammy, I unpacked it and then ran a diff on the systemd unit file for
the udev service (since in the documentation of udev[1] it's written
that programs are executed in a sandbox) from the version in Focal:
==
---
Alberto,
I have exactly the same bug as Vincent on multiple Ubuntu 22.04
machines, so if there is anything I can provide you with to fix this
issue let me know!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Alberto,
here it is
# cat /tmp/set.log
ACTION=add
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
Mmm... I'm running out of ideas! Mayve it's something with the
environment?
Vincent, can you try changing the rule to
RUN+="/bin/bash -c 'set > /tmp/set.log'"
and attach set.log here?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
root@e2e-l4-094051:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/;
SUPPORT_URL="https://help.ubuntu.com/;
Vincent, maybe the udev rules are running under a user lacking some
privileges?
Can you please try changing the rule to
RUN+="/bin/bash -c 'id > /tmp/id.log'"
and then paste here the output of id.log? (hopefully I didn't mess up
the quoting in the command :-) )
--
You received this bug
Can you attach the contents of /etc/os-release?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when attaching nvme volume
To manage notifications
Maciej, please check the result. manually run the command has no problem.
the exist code is 0.
root@e2e-l4-094051:~# which unshare
/usr/bin/unshare
root@e2e-l4-094051:~# /usr/bin/unshare -m /bin/echo hello
hello
root@e2e-l4-094051:~# echo $?
0
--
You received this bug notification because
For the record, does /usr/bin/unshare exist in your system? Can you run
the command that Alberto provided in the console?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd
Alberto,
there still have error. yes. the log report exist status 1.
May 13 12:45:43 e2e-l4-094051 kernel: nvme nvme1: rescanning namespaces.
May 13 12:45:44 e2e-l4-094051 kernel: nvme nvme4: rescanning namespaces.
May 13 12:46:23 e2e-l4-094051 kernel: nvme nvme3: rescanning namespaces.
May 13
Hi Vincent, if I understand it correctly, this command scans the
inserted media for snapd assertions and imports them.
It's still not clear to me what's happening: even if you are running on
a classic system, the "auto-import is disabled on classic" is just a
notification and not an error: the
Hi, Alberto,
from the output below, auto-import is disabled. what this function is
used for?
# /usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n10
auto-import is disabled on classic
** Changed in: snapd (Ubuntu)
Status: Incomplete => In Progress
--
You received this
Hi Vincent, thanks for reporting this. There should be some message
printed by the "snap auto-import" command when it fails.
Can you please try to manually run (as root) the command
/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nvme0n239
and paste here the output?
** Changed
@snapd team, could someone take look at this issue?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when attaching nvme volume
To manage
Mauricio,
you are right, there is no function issue. just concern about the annoying
snap log entries
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare
** Also affects: dellserver
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971955
Title:
systemd-udevd call unshare process when attaching nvme volume
Reassigning to package snapd per ownership of rules file.
$ grep -r 'snap auto-import' /lib/udev/rules.d/
/lib/udev/rules.d/66-snapd-autoimport.rules:3:RUN+="/usr/bin/unshare -m
/usr/bin/snap auto-import --mount=/dev/%k"
$ dpkg -S /lib/udev/rules.d/66-snapd-autoimport.rules
snapd:
Hi Vincent,
Thanks for the bug report.
> when attaching new volume to host. systemd-udevd trigger
> unshare process to run snap import command on new volumes and it fail.
> volume finally map to host. it doesn't affect volume usage.
> but some udev rule need to check for this strange behavior.
apport information
** Tags added: apport-collected jammy uec-images
** Description changed:
env: PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
# lsb_release -rd
Description:Ubuntu 22.04 LTS
** Attachment added: "sosreport-e2e-l4-094051-1971955-2022-05-06-kfcxcun.tar.xz"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971955/+attachment/5587275/+files/sosreport-e2e-l4-094051-1971955-2022-05-06-kfcxcun.tar.xz
--
You received this bug notification because you are a member of
25 matches
Mail list logo