Subject: Re: bug#35806: Login passwords incorrect on some newly installed 1.0.1 systems

From: Ludovic Courtès <[email-masked]>
Date: Mon, 20 May 2019 17:01:40 +0200

Hi!

"pelzflorian (Florian Pelz)" <[email-masked]> skribis:

> on a system newly installed from the 1.0.1 ISO image — on only some
> reinstalls.  Maybe it was my fault, but maybe not, it is kind of
> spooky.  Can others reproduce?

No.  (I did many installs in VMs before the release…  :-))

Note that you can check by doing an install in a VM using the attached
script.

> The content of /etc/shadow was
>
> root:$6$vWBy92HZjt$P.g83qzyyuZ0AebfKjsS/gZV.1SlaMkUqsmsO9cP1yXtpsCIE.9gDNDtMVwZWa..wmvVNqjqgjg7OFhKadshF.:18036::::::

So a password was set, as expected.  Maybe you tried the wrong password,
or with the wrong keyboard layout?

Thanks,
Ludo’.

#!/bin/sh
set -e
set -x
ISO="$(./pre-inst-env guix system disk-image --file-system-type=iso9660 gnu/system/install.scm)"
qemu-img create -f qcow2  /tmp/t.img 10G

#EFI_OPTS="-bios $(guix build ovmf)/share/firmware/ovmf_x64.bin"

exec qemu-system-x86_64 -enable-kvm -hda /tmp/t.img -cdrom "$ISO" -m 1024 -boot d -net user -net nic,model=virtio -no-reboot $EFI_OPTS