public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Jessie: Host configuration leakage around apt-get
@ 2017-06-27 17:38 Jan Kiszka
  2017-06-28 16:10 ` Baurzhan Ismagulov
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2017-06-27 17:38 UTC (permalink / raw)
  To: isar-users

Hi all,

for days, I was hunting a nasty bug around multistrap mystically failing
in a jessie docker container while working fine in a stretch container
as well as a regular jessie VM installation. It turned out that the
docker image (debian:jessie-slim) contains

/etc/apt/apt.conf.d/docker-gzip-indexes

which disables the unpacking of packages index files after downloading.
Due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774698, this
also affected the multistrap call of apt-get. So, everyone trying to
build Isar images with jessie can run into this bug. Maybe we should
detect the affect version (<2.2.1) and warn at least?

Considering to pull in 2.2.9 from stretch into my builder image now...

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Jessie: Host configuration leakage around apt-get
  2017-06-27 17:38 Jessie: Host configuration leakage around apt-get Jan Kiszka
@ 2017-06-28 16:10 ` Baurzhan Ismagulov
  2017-06-28 17:53   ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Baurzhan Ismagulov @ 2017-06-28 16:10 UTC (permalink / raw)
  To: isar-users

On Tue, Jun 27, 2017 at 07:38:46PM +0200, Jan Kiszka wrote:
> for days, I was hunting a nasty bug around multistrap mystically failing
> in a jessie docker container while working fine in a stretch container
> as well as a regular jessie VM installation. It turned out that the
> docker image (debian:jessie-slim) contains
> 
> /etc/apt/apt.conf.d/docker-gzip-indexes
> 
> which disables the unpacking of packages index files after downloading.
> Due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774698, this
> also affected the multistrap call of apt-get. So, everyone trying to
> build Isar images with jessie can run into this bug. Maybe we should
> detect the affect version (<2.2.1) and warn at least?

Good idea, thanks for the analysis! I've opened
https://github.com/ilbers/isar/issues/16.


> Considering to pull in 2.2.9 from stretch into my builder image now...

Did this help with gzipped indexes?


With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Jessie: Host configuration leakage around apt-get
  2017-06-28 16:10 ` Baurzhan Ismagulov
@ 2017-06-28 17:53   ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2017-06-28 17:53 UTC (permalink / raw)
  To: isar-users

On 2017-06-28 18:10, Baurzhan Ismagulov wrote:
> On Tue, Jun 27, 2017 at 07:38:46PM +0200, Jan Kiszka wrote:
>> for days, I was hunting a nasty bug around multistrap mystically failing
>> in a jessie docker container while working fine in a stretch container
>> as well as a regular jessie VM installation. It turned out that the
>> docker image (debian:jessie-slim) contains
>>
>> /etc/apt/apt.conf.d/docker-gzip-indexes
>>
>> which disables the unpacking of packages index files after downloading.
>> Due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774698, this
>> also affected the multistrap call of apt-get. So, everyone trying to
>> build Isar images with jessie can run into this bug. Maybe we should
>> detect the affect version (<2.2.1) and warn at least?
> 
> Good idea, thanks for the analysis! I've opened
> https://github.com/ilbers/isar/issues/16.
> 

I can try writing a patch. Do you have a suggestion where to hook up
this check best?

> 
>> Considering to pull in 2.2.9 from stretch into my builder image now...
> 
> Did this help with gzipped indexes?
> 

Yep, see my patch for the kas docker image.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-28 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 17:38 Jessie: Host configuration leakage around apt-get Jan Kiszka
2017-06-28 16:10 ` Baurzhan Ismagulov
2017-06-28 17:53   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox