yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56198
[Bug 1621180] Re: specifying apt_mirror of '' renders empty entries in /etc/apt/sources.list for uri
This bug was fixed in the package cloud-init -
0.7.7-26-g058dd75-0ubuntu1
---------------
cloud-init (0.7.7-26-g058dd75-0ubuntu1) yakkety; urgency=medium
* New upstream snapshot.
- apt config conversion: treat empty string as not provided. (LP: #1621180)
- Fix typo in default keys for phone_home [Roland Sommer] (LP: #1607810)
- salt minion: update default pki directory for newer salt minion.
(LP: #1609899)
- bddeb: add --release flag to specify the release in changelog.
-- Scott Moser <smoser@xxxxxxxxxx> Thu, 08 Sep 2016 09:36:52 -0400
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1621180
Title:
specifying apt_mirror of '' renders empty entries in
/etc/apt/sources.list for uri
Status in cloud-init:
Confirmed
Status in cloud-init package in Ubuntu:
Fix Released
Status in juju-core package in Ubuntu:
New
Bug description:
$ cat /tmp/foo.ud
#cloud-config
apt_mirror: ''
$ lxc launch ubuntu-daily:yakkety sm-y0 "--config=user.user-data=$(cat
/tmp/foo.ud)"
$ sleep 10
$ lxc exec sm-y0 grep yakkety /etc/apt/sources.list | head -n 3
deb yakkety main restricted
deb-src yakkety main restricted
deb yakkety-updates main restricted
basically if you provide an empty apt_mirror in the old format, then it is taken as providing an apt mirror. This non-true value should just be the same as not providing it.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: cloud-init 0.7.7-22-g763f403-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Wed Sep 7 17:12:11 2016
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1621180/+subscriptions
References