[UBUNTU 22.04] OS guest boot issues on 9p filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
New
|
Undecided
|
Skipper Bug Screeners | ||
qemu (Ubuntu) |
New
|
Undecided
|
Sergio Durigan Junior |
Bug Description
=== Reported by <email address hidden> - 2024-05-13 03:53:01 ===
---Problem Description---
OS guest boot issues on 9p filesystem due to unix domain sockets open failure
Contact Information = <email address hidden>
Machine Type = 3931-7G4
---uname output---
5.15.0-92-generic #102-Ubuntu SMP Wed Jan 10 09:35:24 UTC 2024 s390x s390x s390x GNU/Linux
---Steps to Reproduce---
#!/bin/bash
# Cleanup target dir
[ -d ./target ] && rm -rf target
mkdir target
# Add configuration updates
mkdir -p ./target/
echo 9p >> ./target/
echo 9pnet_virtio >> ./target/
# Add the test script
cat > ./target/test_init << EOF
#!/bin/bash
echo "Test for unix domain sockets"
nc -Ul /socket &
sleep 1
echo "Sockets work" | nc -UN /socket || echo "Sockets fail"
echo o > /proc/sysrq-trigger
sleep 999
EOF
chmod 700 ./target/test_init
# Create an Ubuntu 23.10 around it
echo "Creating Ubuntu target OS"
debootstrap --variant=minbase\
mantic ./target > /dev/null || exit 1
# Run the test in 9p forwarded filesystem
echo "Running OS in qemu"
qemu-system-s390x \
-m 8192 \
-smp 4 \
-nodefaults -nographic -no-reboot -no-user-config \
-kernel ./target/
-initrd ./target/
-append 'root=fsRoot rw rootfstype=9p rootflags=
-fsdev local,security_
-device virtio-
-device virtio-serial-ccw -device sclpconsole,
-chardev stdio,id=
---Debugger---
A debugger is not configured
Userspace rpm: qemu-(current).deb
Userspace tool common name: qemu
Userspace tool obtained from project website: na
The userspace tool has the following bit modes: both
*Additional Instructions for <email address hidden>:
-Attach ltrace and strace of userspace application.
CVE References
affects: | linux (Ubuntu) → qemu (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in qemu (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
------- Comment From <email address hidden> 2024-05-13 06:24 EDT------- /gitlab. com/qemu- project/ qemu/-/ issues/ 2337
This bug is also described at:
https:/
created in the qemu project bugtracker.