After creating an Oracular image we start a sample test:
$ autopkgtest -BU --shell gzip -- qemu -c 1 --ram 1024 autopkgtest-oracular-amd64.img
Then connect to the running Oracular instance and 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
So the bug is successfully replicated.
Now we verify the fix.
Performing the verification on Noble.
First, we check if we can reproduce the problem.
$ apt policy autopkgtest 37ubuntu3~ 24.04.1 100 archive. ubuntu. com/ubuntu noble-proposed/main amd64 Packages archive. ubuntu. com/ubuntu noble/main amd64 Packages dpkg/status
autopkgtest:
Installed: 5.34ubuntu2
Candidate: 5.34ubuntu2
Version table:
5.
100 http://
*** 5.34ubuntu2 500
500 http://
100 /var/lib/
After creating an Oracular image we start a sample test: oracular- amd64.img
$ autopkgtest -BU --shell gzip -- qemu -c 1 --ram 1024 autopkgtest-
Then connect to the running Oracular instance and 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.
Now we verify the fix.
$ apt policy autopkgtest archive. ubuntu. com/ubuntu noble-proposed/main amd64 Packages dpkg/status archive. ubuntu. com/ubuntu noble/main amd64 Packages
autopkgtest:
Installed: 5.37ubuntu3~24.04.1
Candidate: 5.37ubuntu3~24.04.1
Version table:
*** 5.37ubuntu3~24.04.1 100
100 http://
100 /var/lib/
5.34ubuntu2 500
500 http://
We recreate the Oracular image and rerun the sample test: oracular- amd64.img
$ autopkgtest -BU --shell gzip -- qemu -c 1 --ram 1024 autopkgtest-
Then connect to the running instance and 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: 253,1 Inode: 66 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-07-25 10:11:45.596093680 -0700
Modify: 2024-07-25 10:11:45.596093680 -0700
Change: 2024-07-25 10:11:45.596093680 -0700
Birth: 2024-07-25 10:11:45.595093432 -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 Noble.