Your message dated Mon, 24 Jul 2017 01:22:55 +0200
with message-id <[email protected]>
and subject line Fixed
has caused the Debian Bug report #865648,
regarding Does not include security sources for all releases
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
865648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openstack-debian-images
Version: 1.19
Severity: serious
Tags: patch

The code is currently *only* adding security sources into
apt/sources.list when building for wheezy or jessie. This is clearly
wrong. I've just had to rebuild our stretch images again (9.0.1 to
9.0.2) to get expected updates in.

Trivial fix is to *always* include security:

diff --git a/build-openstack-debian-image b/build-openstack-debian-image
index 3a8d7d6..e0e670a 100755
--- a/build-openstack-debian-image
+++ b/build-openstack-debian-image
@@ -484,13 +484,11 @@ echo "debian.example.com" >${MOUNT_DIR}/etc/hostname
 echo "deb ${SOURCE_LIST_MIRROR} ${RELEASE} main
 deb-src ${SOURCE_LIST_MIRROR} ${RELEASE} main" 
>${MOUNT_DIR}/etc/apt/sources.list
 
-if [ "${RELEASE}" = "wheezy" ] || [ "${RELEASE}" = "jessie" ] ; then
-       echo "deb ${SOURCE_LIST_MIRROR} ${RELEASE}-updates main
+echo "deb ${SOURCE_LIST_MIRROR} ${RELEASE}-updates main
 deb-src ${SOURCE_LIST_MIRROR} ${RELEASE}-updates main
 deb http://security.debian.org/ ${RELEASE}/updates main
 deb-src http://security.debian.org/ ${RELEASE}/updates main
 " >>${MOUNT_DIR}/etc/apt/sources.list
-fi
 
 if [ "${RELEASE}" = "wheezy" ] ; then
        echo "deb ${SOURCE_LIST_MIRROR} wheezy-backports main


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openstack-debian-images depends on:
ii  debootstrap      1.0.89
ii  dosfstools       4.1-1
ii  extlinux         3:6.03+dfsg-14.1
ii  initramfs-tools  0.130
ii  kpartx           0.6.4-5
ii  mbr              1.1.11-5.1
ii  parted           3.2-17
ii  qemu-utils       1:2.8+dfsg-6

openstack-debian-images recommends no packages.

openstack-debian-images suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
This was fixed in 1.20~deb9u1 for Stretch, and 1.20 for Sid/Buster, plus
images were generated for Stretch 9.1. Therefore, this bug can be closed.

Cheers,

Thomas

--- End Message ---

Reply via email to