[PKG-Openstack-devel] Non-free and contrib repositories enabled in the OpenStack image

Joonas Kylmälä joonas.kylmala at iki.fi
Wed Jun 21 22:52:00 UTC 2017


I did some more research and I have now a guess why you weren't able to
find the non-free repositories enabled. This is how I ran the image: I
issued "qemu-system-x86_64 debian-9.0.0-openstack-amd64.qcow2", waited
for it to boot with the default grub option and then waited a few
minutes more because there was some cloud-init problem. After that I got
the login prompt. So after this I wanted to see how the files in the
system looked. I rebooted the qemu virtual machine and edited with grub
the linux boot argument to have init=/bin/bash. Now I was able to see
the /etc/apt/sources.list file and it had entries like "deb
http://deb.debian.org/debian stretch main contrib non-free" + bunch of
comments probably from cloud-init (unfortunately it is quite tedious for
me to include the whole file because I don't know how to copy it from qemu).

If I don't boot the image first normally but instead use init=/bin/bash,
then the non-free repositories are not enabled. So from that I conclude
that something in the boot process enables them, and most likely it is

I have no experience with OpenStack software so I'm in really bad
position to debug this further. I only wrote to this mailing list
because I saw one VPS company providing these Debian 9 images with the
non-free repositories enabled (and their sources.list file have the same
comments as I got by running the image in the way as I described above).

Best regards,

Thomas Goirand:
> On 06/20/2017 06:22 PM, Joonas Kylmälä wrote:
>> Hi,
>> it has come to my knowledge that the OpenStack image provided from
>> <http://cdimage.debian.org/cdimage/openstack/9.0.0-20170617/debian-9.0.0-openstack-amd64.qcow2>
>> come enabled with non-free and contrib repositories by default. Isn't
>> this a bug that needs urgent fix? If it is not bug then I suggest moving
>> the OpenStack images that are not compliant with DFSG to be moved to the
>> misc and "unoffical" stuff section in <http://cdimage.debian.org/cdimage/>.
>> All the best,
>> Joonas
> Hi.
> The above is simply a false statement. I was first very much surprised,
> and then I checked. The image at:
> http://cdimage.debian.org/cdimage/openstack/current-9/debian-9-20170620-openstack-amd64.raw
> does not have contrib or non-free installed in the sources.list. I don't
> think it has ever been the case, even. I didn't check other images, but
> they are built using the same script which doesn't activate the non-free
> or contrib repo.
> Could you please check again, and come back to this list on this topic?
> Cheers,
> Thomas Goirand (zigo)
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel

More information about the Openstack-devel mailing list