Subject: bug#459: autopkgtest-build-qemu does not set up /dev/ttyS[01]

From: Ryutaroh Matsumoto <[email-masked]>
Date: Sat, 16 May 2020 18:33:26 +0900 (JST)

Dear Mark, Thank you for your attention and response. But,

> autopkgtest is not a forked package and Devuan uses Debian's packages directly.
> Can you report this to Debian BTS, please?

I don't think this is a Debian issue.
Debian PID 1 is systemd,
and with systemd ttyS[01] are available
in autopkgtest-built qemu images.

I believe "tag debian" should be removed.

Best regards, Ryutaroh

From: Mark Hindley <[email-masked]>
Subject: Re: bug#459: autopkgtest-build-qemu does not set up /dev/ttyS[01]
Date: Sat, 16 May 2020 10:29:48 +0100

> Control: tags -1 debian
> 
> Ryutaroh,
> 
> Thanks for this
> 
> On Sat, May 16, 2020 at 05:03:18PM +0900, Ryutaroh Matsumoto wrote:
>> Package: autopkgtest
>> Version: 5.13.1
>> Severity: minor
>> Tags: beowulf ceres
>> Control: found -1 5.10
>> 
>> Dear Maintainer,
>> 
>> "man autopkgtest-virt-qemu" says:
>> REQUIREMENTS
>>        autopkgtest-virt-qemu  assumes  that you have already prepared a suitable Debian based QEMU image (see BUILDING IMAGES below for how to create them).
>>        But you can use any VM which has python3 or python installed and either
>> 
>>        *   opens a root shell on ttyS1, or
>> 
>>        *   has a serial console on ttyS0 where you can log in (getty or similar) with specified user and password. This will then be used to  start  a  root
>>            shell on ttyS1, to reduce this to the first case and to not assume that ttyS0 stays operational throughout the whole test.
>> 
>> But autopkgtest-build-qemu does not adjust /etc/inittab inside the qemu image,
>> and autopkgtest-virt-qemu always fails.
>> Workaround is easy, just modify /etc/inittab in the qemu image.
>> 
>> This issue is found in package versions 5.13.1 and 5.10.
> 
> autopkgtest is not a forked package and Devuan uses Debian's packages directly.
> 
> Can you report this to Debian BTS, please?
> 
> Thanks
> 
> Mark