[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2020-01-13 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.408.57

---
livecd-rootfs (2.408.57) xenial; urgency=medium

  * Preserve apt preferences created by any package we install (i.e.
ubuntu-advantage-tools) against live-build's attempt to delete them.
(LP: #1855354)

 -- Michael Hudson-Doyle   Thu, 19 Dec 2019
22:42:12 +1300

** Changed in: livecd-rootfs (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2020-01-13 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.525.36

---
livecd-rootfs (2.525.36) bionic; urgency=medium

  * Preserve apt preferences created by any package we install (i.e.
ubuntu-advantage-tools) against live-build's attempt to delete them.
(LP: #1855354)

 -- Michael Hudson-Doyle   Thu, 19 Dec 2019
22:43:33 +1300

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2020-01-07 Thread Francis Ginther
** Tags added: id-5de5ca6eb07b3c125672fe4e

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-19 Thread Michael Hudson-Doyle
The autopkgtests for the update in both xenial and bionic passed, which
is all the verification we can sensibly do at this stage.

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-xenial
** Tags added: verification-done-bionic verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-19 Thread Ɓukasz Zemczak
Hello Michael, or anyone else affected,

Accepted livecd-rootfs into bionic-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.525.36 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic

** Changed in: livecd-rootfs (Ubuntu Xenial)
   Status: New => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-19 Thread Michael Hudson-Doyle
** Description changed:

  [impact]
  This breaks apt update in a trusty docker image that does not have ESM 
enabled.
  
  [test case]
- Build a livefs with image_format=plain, project=ubuntu-base. Unpack it, do 
the usual pre-chroot setup dance (copy resolv.conf, bind mount proc and dev) 
chroot into it and run apt update.
+ for trusty:
+ 
+ Build a livefs with image_format=plain, project=ubuntu-base. Unpack it,
+ do the usual pre-chroot setup dance (copy resolv.conf, bind mount proc
+ and dev) chroot into it and run apt update.
+ 
+ for the newer releases:
+ We have no seeded package that create apt preferences in their postinst yet, 
so let's just check the autopkgtest results.
  
  [regression potential]
  The change could conceivably leave apt preference files we want deleted in an 
image. But this seems very unlikely.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-16 Thread Michael Hudson-Doyle
Verification complete on trusty:

1) I started two trusty ubuntu-base livefs builds:

$ start-livefs-build 
--livefs=~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests --pocket 
Updates --metadata project='"ubuntu-base"' --metadata image_format='"plain"'
https://launchpad.net/~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests/+build/195865
$ start-livefs-build 
--livefs=~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests --pocket 
Proposed --metadata project='"ubuntu-base"' --metadata image_format='"plain"' 
https://launchpad.net/~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests/+build/195866

2) When they'd built, I downloaded the artifacts:

$ wget -O ubuntu-base-trusty-updates.tar.gz 
https://launchpad.net/~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests/+build/195865/+files/livecd.ubuntu-base.rootfs.tar.gz
$ wget -O ubuntu-base-trusty-proposed.tar.gz 
https://launchpad.net/~mwhudson/+livefs/ubuntu/trusty/docker-ubuntu-core-tests/+build/195866/+files/livecd.ubuntu-base.rootfs.tar.gz

3) I tested them using this silly script:

mwhudson@anduril:~/tmp/trusty-test$ cat test.sh
#!/bin/bash -eux

cleanup () {
for m in dev/pts dev proc sys; do
umount chroot/$m
done
rm -rf chroot
}
trap cleanup EXIT

mkdir chroot
tar -C chroot -xf "$1"
for m in dev dev/pts proc sys; do
mount --bind /$m chroot/$m
done
cp /etc/resolv.conf chroot/etc
chroot chroot apt update
chroot chroot apt install -y socat
$ 

The output is rather verbose so it's here:
https://paste.ubuntu.com/p/Mgf6qh2RGx/ but the upshot is that the
attempt to install socat failed with the -updates tarball and succeeded
with the -proposed tarball.


** Tags removed: verification-needed verification-needed-trusty
** Tags added: verification-done-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-16 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.208.18

---
livecd-rootfs (2.208.18) trusty; urgency=medium

  * Preserve ubuntu-advantage-tools' apt preferences against live-build's
attempt to delete them. (LP: #1855354)

 -- Michael Hudson-Doyle   Fri, 06 Dec 2019
14:03:11 +1300

** Changed in: livecd-rootfs (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-16 Thread Michael Hudson-Doyle
** Also affects: livecd-rootfs (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-16 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.635

---
livecd-rootfs (2.635) focal; urgency=medium

  * Preserve apt preferences created by any package we install (i.e.
ubuntu-advantage-tools) against live-build's attempt to delete them.
(LP: #1855354)

 -- Michael Hudson-Doyle   Sat, 14 Dec 2019
21:00:45 +1300

** Changed in: livecd-rootfs (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-12 Thread Michael Hudson-Doyle
** Changed in: livecd-rootfs (Ubuntu)
 Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)

** Changed in: livecd-rootfs (Ubuntu Trusty)
 Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-09 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/+merge/376544

** Merge proposal linked:
   
https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/+merge/376546

** Merge proposal linked:
   
https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/+merge/376548

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1855354] Re: lb chroot_archives eats apt preferences files

2019-12-09 Thread Steve Langasek
Hello Michael, or anyone else affected,

Accepted livecd-rootfs into trusty-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.208.18 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-trusty to verification-done-trusty. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-trusty. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: livecd-rootfs (Ubuntu Trusty)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855354

Title:
  lb chroot_archives eats apt preferences files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs