After creating an Oracular image we boot it and connect to it:
$ kvm -m 4096 -display none -boot c -net nic -net user,hostfwd=tcp:127.0.0.1:10030-:22 -hda autopkgtest-oracular-amd64.img
Now we check:
$ mount -t tmpfs | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
$ stat /etc/systemd/system/tmp.mount
stat: cannot statx '/etc/systemd/system/tmp.mount': No such file or directory
We recreate the Oracular image and connect to it again:
$ kvm -m 4096 -display none -boot c -net nic -net user,hostfwd=tcp:127.0.0.1:10030-:22 -hda autopkgtest-oracular-amd64.img
Performing the verification on Jammy.
First, we check if we can reproduce the problem.
$ apt policy autopkgtest 37ubuntu3~ 22.04.1 400 archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages archive. ubuntu. com/ubuntu jammy-proposed/main i386 Packages archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages archive. ubuntu. com/ubuntu jammy-updates/main i386 Packages dpkg/status archive. ubuntu. com/ubuntu jammy/main amd64 Packages archive. ubuntu. com/ubuntu jammy/main i386 Packages
autopkgtest:
Installed: 5.32ubuntu3~22.04.1
Candidate: 5.32ubuntu3~22.04.1
Version table:
5.
400 http://
400 http://
*** 5.32ubuntu3~22.04.1 500
500 http://
500 http://
100 /var/lib/
5.20 500
500 http://
500 http://
After creating an Oracular image we boot it and connect to it: tcp:127. 0.0.1:10030- :22 -hda autopkgtest- oracular- amd64.img
$ kvm -m 4096 -display none -boot c -net nic -net user,hostfwd=
Now we check: nodev,nr_ inodes= 1048576, inode64) system/ tmp.mount system/ tmp.mount' : No such file or directory
$ mount -t tmpfs | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,
$ stat /etc/systemd/
stat: cannot statx '/etc/systemd/
So the bug is successfully replicated. archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages archive. ubuntu. com/ubuntu jammy-proposed/main i386 Packages dpkg/status 32ubuntu3~ 22.04.1 500 archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages archive. ubuntu. com/ubuntu jammy-updates/main i386 Packages archive. ubuntu. com/ubuntu jammy/main amd64 Packages archive. ubuntu. com/ubuntu jammy/main i386 Packages
Now we verify the fix.
$ apt policy autopkgtest
autopkgtest:
Installed: 5.37ubuntu3~22.04.1
Candidate: 5.37ubuntu3~22.04.1
Version table:
*** 5.37ubuntu3~22.04.1 400
400 http://
400 http://
100 /var/lib/
5.
500 http://
500 http://
5.20 500
500 http://
500 http://
We recreate the Oracular image and connect to it again: tcp:127. 0.0.1:10030- :22 -hda autopkgtest- oracular- amd64.img
$ kvm -m 4096 -display none -boot c -net nic -net user,hostfwd=
Now we check: system/ tmp.mount system/ tmp.mount
$ mount -t tmpfs | grep /tmp
$ stat /etc/systemd/
File: /etc/systemd/
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 8,1 Inode: 66 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-07-25 16:34:24.461607976 -0700
Modify: 2024-07-25 16:34:24.461607976 -0700
Change: 2024-07-25 16:34:24.461607976 -0700
Birth: 2024-07-25 16:34:24.460607752 -0700
As can be seen, systemd has been instructed to not make /tmp a tmpfs and has done so without issue.
This concludes the verification for Jammy.