[Bug 1930686] Autopkgtest regression report (livecd-rootfs/2.525.55)
Ubuntu SRU Bot
1930686 at bugs.launchpad.net
Wed Jun 9 02:20:45 UTC 2021
All autopkgtests for the newly accepted livecd-rootfs (2.525.55) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:
ubuntu-image/1.11+18.04ubuntu1 (arm64)
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].
https://people.canonical.com/~ubuntu-archive/proposed-
migration/bionic/update_excuses.html#livecd-rootfs
[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions
Thank you!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1930686
Title:
Do not include /dev device node filles in OCI rootfs tarballs
Status in livecd-rootfs package in Ubuntu:
Invalid
Status in livecd-rootfs source package in Bionic:
Fix Committed
Bug description:
[Impact]
Note: this only affects bionic - all other release don't have this
problem.
Currently, the official Ubuntu docker images are based on the core rootfs tarballs from https://partner-images.canonical.com/core/ .
We want to switch to the newly created OCI tarballs from (https://partner-images.canonical.com/oci). See also LP:#1926732 for details about the OCI rootfs tarballs.
While trying to switch the official ubuntu docker images on dockerhub
to the newly created OCI rootfs tarballs, it poped up that for the
bionic containers, there are device node entries in the rootfs (/dev
files).
The diff (see https://github.com/docker-library/official-
images/pull/10287) looks like:
--- a/ubuntu_bionic/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz 'tar -t'
+++ b/ubuntu_bionic/ubuntu-bionic-oci-amd64-root.tar.gz 'tar -t'
@@ -86,6 +86,19 @@ bin/zmore
bin/znew
boot/
dev/
+dev/fd
+dev/full
+dev/null
+dev/ptmx
+dev/pts/
+dev/random
+dev/shm/
+dev/stderr
+dev/stdin
+dev/stdout
+dev/tty
+dev/urandom
+dev/zero
This causes problems (see https://github.com/tianon/docker-brew-
ubuntu-core/issues/62 ) and would be a regression when switching from
the core rootfs tarballs to the oci rootfs tarball.
Expected is that there are not /dev files in the rootfs tarball.
[Test Plan]
1) build ubuntu-oci project with launchpad
2) do some basic tests with the rootfs tarball:
cat << EOF > Dockerfile
FROM scratch
ADD hirsute-minimal-cloudimg-amd64-root.tar.gz /
CMD ["/bin/bash"]
EOF
$ docker build .
docker run -it $image-id uname -a
3) check the tarball size (should not change significantly)
4) check that there are not /dev files in the tarball
[Where problems could occur]
This change could break other livecd-rootfs projects which might lead to failed builds. But beside that, there is nothing I can think of that would be affected by this change. And it's very unlikely to break other livecd-rootfs builds.
[Other Info]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1930686/+subscriptions
More information about the foundations-bugs
mailing list