[pkg-lxc-devel] Bug#1073131: Bug#1073131: LXC debian template do a mandatory debian repository check on Bookworm and fails without network

Eppii eppii at gandi.net
Thu Jun 13 11:52:58 BST 2024


Thx,

Would be great! x2 :)

Eppii

> On 13 Jun 2024, at 11:32, Pierre-Elliott Bécue <peb at debian.org> wrote:
> 
> Control: severity -1 important
> 
> Hi,
> 
> Eppii <eppii at gandi.net> wrote on 13/06/2024 at 09:54:52+0200:
> 
>> Package: lxc-templates
>> Version: 3.0.4.48.g4765da8-1
>> 
>> ||/ Name           Version             Architecture Description
>> +++-==============-===================-============-============================================
>> ii  lxc-templates  3.0.4.48.g4765da8-1 amd64        Linux Containers userspace tools (templates)
>> 
>> Hello !
>> 
>> Context: we want to create a lxc with the lxc-debian template on a
>> bookworm server without any access to internet.
>> 
>> We identified following bug preventing to achieve our goal and had to
>> edit the /usr/share/lxc/templates/lxc-debian to succeed.
>> 
>> Description:
>> 
>> The wget line 829 does not use the $MIRROR variable but the hardcoded
>> debian repository. This check, newly implemented cannot be escaped and
>> last the default wget timeout when device does not have internet
>> access, which is SOOOOOOOOOO long: 900s!!!!!
>> 
>> Solution may be to set it to 10s, adding a switch to disable the
>> public check or check against the $MIRROR variable.
>> 
>> Regards
> 
> So this has been spotted upstream and fixed in a later version.
> 
> There's an upcoming minor release of bookworm, let's see if I can
> squeeze this in.
> 
> Thanks for the report.
> -- 
> PEB



More information about the Pkg-lxc-devel mailing list