Verification on Plucky LXD container
====================================

1. Prepare LXD container
------------------------

lxc launch -c security.privileged=true ubuntu:25.04 test2
lxc config set test security.nesting true <-- otherwise ipv4 does not work
lxc restart test

lxc list
+-------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| NAME  |  STATE  |        IPV4         |                     IPV6              
        |   TYPE    | SNAPSHOTS |
+-------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| test  | RUNNING | 10.193.75.82 (eth0) | fd42:c38e:94e8:5fca:216:3eff:fe96:231 
(eth0)  | CONTAINER | 0         |
+-------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| test2 | RUNNING | 10.193.75.86 (eth0) | 
fd42:c38e:94e8:5fca:216:3eff:fe4e:7a4b (eth0) | CONTAINER | 0         |
+-------+---------+---------------------+-----------------------------------------------+-----------+-----------+

lxc exec test -- bash

snap version
snap    2.67.1+25.04
snapd   2.67.1+25.04
series  16
ubuntu  25.04
kernel  6.15.0-4-generic

snap changes
ID   Status  Spawn               Ready               Summary
1    Done    today at 18:42 UTC  today at 18:42 UTC  Initialize system state

2. Install hello-world
-----------------------

snap install hello-world
error: cannot perform the following tasks:
- Setup snap "snapd" (24792) security profiles (cannot reload udev rules: exit 
status 1
udev output:
Failed to send reload request: No such file or directory
)

THE ISSUE COULD BE REPRODUCED

3. Install snapd 2.68.5 from plucky-proposed
-------------------------------------------

Modified /etc/apt/sources.list.d/ubuntu.sources: added plucky-proposed
sudo apt update

apt install snapd=2.68.5+ubuntu25.04.2

snap version
snap    2.68.5+ubuntu25.04.2
snapd   2.68.5+ubuntu25.04.2
series  16
ubuntu  25.04
kernel  6.15.0-4-generic

4. Install hello-world
-----------------------

snap install hello-world
2025-08-01T18:49:01Z INFO Waiting for automatic snapd restart...
hello-world 6.4 from Canonical✓ installed

snap changes
ID   Status  Spawn               Ready               Summary
1    Done    today at 18:42 UTC  today at 18:42 UTC  Initialize system state
2    Error   today at 18:46 UTC  today at 18:46 UTC  Install "hello-world" snap
3    Done    today at 18:46 UTC  today at 18:46 UTC  Initialize device
4    Done    today at 18:48 UTC  today at 18:49 UTC  Install "hello-world" snap

THE ISSUE IS SOLVED

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

Title:
  udev interface fails in privileged containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1712808/+subscriptions


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

Reply via email to