You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@instance-socket-test:~# lxc exec test1 -- ls -al /dev/lxd/sock
ls: cannot access '/dev/lxd/sock': No such file or directory
Steps to reproduce
Create an systom container instance, which wil have access to the instance socket [ /dev/lxd/sock ] by default
Upgrade LXD from 6.5 to either 6.7 or 6.8
The instance socket will be missing inside the isntance
Information to attach
Any relevant kernel output (dmesg)
Instance configuration (lxc config show <instance> --expanded)
Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
If a lxc command fails, output of the command with --debug
Output of the daemon with --debug (or use lxc monitor while reproducing the issue)
Please confirm
Distribution
Ubuntu
Distribution version
Noble
Output of
snap list --all lxd core20 core22 core24 snapdSystem info
api_extensions:
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
client_certificate: false
config:
images.auto_update_interval: "0"
volatile.uuid: 019dd085-d20a-7203-8558-4e7bf7b0548a
auth_user_name: root
auth_user_method: unix
environment:
addresses: []
architectures:
backup_metadata_version_range:
certificate: |
-----BEGIN CERTIFICATE-----
MIICDjCCAZSgAwIBAgIRAPzLTHtqXRRsycFHy4U4SCEwCgYIKoZIzj0EAwMwMjEM
MAoGA1UEChMDTFhEMSIwIAYDVQQDDBlyb290QGluc3RhbmNlLXNvY2tldC10ZXN0
MB4XDTI2MDQyNzE5NTU1MloXDTM2MDQyNDE5NTU1MlowMjEMMAoGA1UEChMDTFhE
MSIwIAYDVQQDDBlyb290QGluc3RhbmNlLXNvY2tldC10ZXN0MHYwEAYHKoZIzj0C
AQYFK4EEACIDYgAE9z2GjgPzrZvihf+FnbvV868j4pZNZJjvSIkDwqywpPNjd1i9
+J9Dl8wO365YlNqZvyoE6oB3IeNhv5h5VrWVTBQKFW8V4FKblQpqVkPK/8dVyVsv
7102q+FCs81oJCmAo24wbDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYB
BQUHAwEwDAYDVR0TAQH/BAIwADA3BgNVHREEMDAughRpbnN0YW5jZS1zb2NrZXQt
dGVzdIcEfwAAAYcQAAAAAAAAAAAAAAAAAAAAATAKBggqhkjOPQQDAwNoADBlAjB7
DLE3TENB0jAM01tfxOH/qsAgtd14X35Y6KYTnI3OGYHEhbppR4i44PKFBxNAGYEC
MQCRA53FsMVYgGBQNtLmxBdcTC2Dc1YFCc35pzY0kOEPzw1ugUYQkmppdhaKV7gp
PoQ=
-----END CERTIFICATE-----
certificate_fingerprint: 65c9c7f287d7de9ef27b2db4583a969fed5b3974d9e066d7bd1a379f252ad136
driver: lxc | qemu
driver_version: 6.0.6 | 10.2.1
instance_types:
firewall: nftables
kernel: Linux
kernel_architecture: x86_64
kernel_features:
bpf_token: "false"
idmapped_mounts: "true"
netnsid_getifaddrs: "true"
seccomp_listener: "true"
seccomp_listener_continue: "true"
uevent_injection: "true"
unpriv_binfmt: "true"
unpriv_fscaps: "true"
kernel_version: 6.8.0-106-generic
lxc_features:
cgroup2: "true"
core_scheduling: "true"
devpts_fd: "true"
idmapped_mounts_v2: "true"
mount_injection_file: "true"
network_gateway_device_route: "true"
network_ipvlan: "true"
network_l2proxy: "true"
network_phys_macvlan_mtu: "true"
network_veth_router: "true"
pidfd: "true"
seccomp_allow_deny_syntax: "true"
seccomp_notify: "true"
seccomp_proxy_send_notify_fd: "true"
os_name: Ubuntu
os_version: "24.04"
project: default
server: lxd
server_clustered: false
server_event_mode: full-mesh
server_name: instance-socket-test
server_pid: 8745
server_version: "6.8"
server_lts: false
storage: dir
storage_version: "1"
storage_supported_drivers:
version: 19.2.3
remote: true
version: 19.2.3
remote: true
version: 19.2.3
remote: true
version: 2.2.2-0ubuntu9.4
remote: false
version: "1"
remote: false
version: 2.03.16(2) (2022-05-18) / 1.02.185 (2022-05-18) / 4.48.0
remote: false
version: 2.8 (nvme-cli)
remote: true
version: 2.1.9 (iscsiadm) / 2.8 (nvme-cli)
remote: true
version: 2.8 (nvme-cli) / 2.1.9 (iscsiadm)
remote: true
version: 6.6.3
remote: false
Instance log
Name: test1
Status: RUNNING
Type: container
Architecture: x86_64
PID: 6953
Created: 2026/04/27 20:57 BST
Last Used: 2026/04/27 20:57 BST
Resources:
Processes: 24
Disk usage:
root: 0B
Disk total:
root: 0B
CPU usage:
CPU usage (in seconds): 4
Memory usage:
Memory (current): 46.86MiB
Network usage:
lo:
Type: loopback
State: UP
MTU: 65536
Bytes received: 1.22kB
Bytes sent: 1.22kB
Packets received: 12
Packets sent: 12
IP addresses:
inet: 127.0.0.1/8 (local)
inet6: ::1/128 (local)
eth0:
Type: broadcast
State: UP
Host interface: veth2718f785
MAC address: 00:16:3e:62:5f:fb
MTU: 1500
Bytes received: 11.19kB
Bytes sent: 4.72kB
Packets received: 26
Packets sent: 40
IP addresses:
inet: 10.0.255.189/24 (global)
inet6: fe80::216:3eff:fe62:5ffb/64 (link)
Log:
Expected behavior
root@instance-socket-test:~# lxc exec test1 -- ls -al /dev/lxd/sock
srw-rw-rw- 1 nobody nogroup 0 Apr 27 19:42 /dev/lxd/sock
Actual behavior
root@instance-socket-test:~# lxc exec test1 -- ls -al /dev/lxd/sock
ls: cannot access '/dev/lxd/sock': No such file or directory
Steps to reproduce
Create an systom container instance, which wil have access to the instance socket [
/dev/lxd/sock] by defaultUpgrade LXD from 6.5 to either 6.7 or 6.8
The instance socket will be missing inside the isntance
Information to attach
dmesg)lxc config show <instance> --expanded)/var/log/lxd/lxd.logor/var/snap/lxd/common/lxd/logs/lxd.log)--debug--debug(or uselxc monitorwhile reproducing the issue)