[Bug 1828118] Re: docker tarballs contain /dev/null

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Fri May 10 20:47:45 UTC 2019


Well ok but those are currently deleted downstream anyway by
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh#L91.
Do you want to submit a patch there and then we can patch it here too? In
the mean time I still would like to release this change.

On Fri, 10 May 2019, 19:30 Julian Andres Klode, <julian.klode at canonical.com>
wrote:

> Namely partial/ is an _apt owned sandbox arena. I think there is some
> code to restore a missing one and fixup permissions but that's super
> ugly.
>
> The correct change to make for cleaning apt would be to run apt-get
> clean with -o dir::etc::sourcelist=/dev/null, same with sourceparts.
>
> That will take care of cleaning everything up that should be cleaned up
> and stop messing with internals.
>
> --
> You received this bug notification because you are a member of Canonical
> Cloudware, which is subscribed to livecd-rootfs in Ubuntu.
> https://bugs.launchpad.net/bugs/1828118
>
> Title:
>   docker tarballs contain /dev/null
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828118/+subscriptions
>

-- 
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/1828118

Title:
  docker tarballs contain /dev/null

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Bionic:
  Fix Committed
Status in livecd-rootfs source package in Cosmic:
  Fix Committed
Status in livecd-rootfs source package in Disco:
  Fix Committed

Bug description:
  [impact]

  This causes problems for some users as reported in
  https://github.com/tianon/docker-brew-ubuntu-core/issues/62. We don't
  want to regress those users.

  [test case]
  Build a livefs with PROJECT=ubuntu-base SUBPROJECT=minimized. Check that /dev is empty in the resulting tarball.

  [regression potential]
  The change pretty clearly only affects ubuntu-base:minimized builds, so checking that all of /var/cache/apt, /var/lib/apt/lists and /dev are empty should be sufficient, no other build types should regress.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828118/+subscriptions



More information about the foundations-bugs mailing list