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
Recently updated from Ubuntu 22.04 to 24.04. Was using virt-builder without issue before the upgrade. Now I'm running into several issues which have led me to just use an older host to make my images for now.
libguestfs: command: run: passt
libguestfs: command: run: \ --one-off
libguestfs: command: run: \ --socket /run/user/1582049248/libguestfsDZHSLw/passt.sock
libguestfs: command: run: \ --pid /run/user/1582049248/libguestfsDZHSLw/passt1.pid
libguestfs: command: run: \ --address 169.254.2.15
libguestfs: command: run: \ --netmask 16
libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02
libguestfs: command: run: \ --gateway 169.254.2.2
No routable interface for IPv6: IPv6 is disabled
Template interface: eno12399np0 (IPv4)
MAC:
host: 52:56:00:00:00:02
DHCP:
assign: 169.254.2.15
mask: 255.255.0.0
router: 169.254.2.2
DNS:
169.254.2.2
DNS search list:
mydomain.com
UNIX domain socket bound at /run/user/1582049248/libguestfsDZHSLw/passt.sock
You can now start qemu (>= 7.2, with commit 13c6be96618c):
kvm ... -device virtio-net-pci,netdev=s -netdev stream,id=s,server=off,addr.type=unix,addr.path=/run/user/1582049248/libguestfsDZHSLw/passt.sock
or qrap, for earlier qemu versions:
./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio
PID file open: Permission denied
libguestfs: trace: launch = -1 (error)
virt-builder: error: libguestfs error: passt exited with status 1
I've found several bug reports and suggested resolutions, but none worked for me. I ended up just turning off the passt AppArmor profile to make progress
Probably related to my AppArmor issue, but maybe not? When trying to install packages into the image, the debian servers won't resolve. Same command works fine on a 20.04 host.
Recently updated from Ubuntu 22.04 to 24.04. Was using virt-builder without issue before the upgrade. Now I'm running into several issues which have led me to just use an older host to make my images for now.
My question is rather generic.
Is libguestfs considered mature on Ubuntu 24.04?
Issues:
User Namespaces
Had to update the system configuration
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
AppArmor profiles do not allow passt to run
I've found several bug reports and suggested resolutions, but none worked for me. I ended up just turning off the passt AppArmor profile to make progress
No network access when creating image
Probably related to my AppArmor issue, but maybe not? When trying to install packages into the image, the debian servers won't resolve. Same command works fine on a 20.04 host.
The text was updated successfully, but these errors were encountered: