guix system reconfigure stops output after "Evaluating user expression..."

  • Open
  • quality assurance status badge
Details
4 participants
  • Bengt Richter
  • Ludovic Courtès
  • Pierre Neidhardt
  • Jakob L. Kreuze
Owner
unassigned
Submitted by
Pierre Neidhardt
Severity
normal
P
P
Pierre Neidhardt wrote on 21 Aug 2019 15:13
(address . bug-guix@gnu.org)
87mug2fypu.fsf@ambrevar.xyz
After a guix pull on 0fc235a, guix system reconfigure stop at

Toggle snippet (3 lines)
shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).

instead of

Toggle snippet (6 lines)
shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
shepherd: Service user-homes has been started.
shepherd: Service term-auto could not be started.
bootloader successfully installed on '/dev/sda’

The only change I've done to my config.scm is that now I have a btrfs
filesystem (just for storage, it's not /home).

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1dQ30ACgkQm9z0l6S7
zH+UIQf/aLCw8UVeOks3lsequ0VO2/DzxObCzGGJjwFgWoKrgmKs9w8f31sodPY8
AG3muOb/wNWTeC3ygZano/ICAn8u9P+y/PpQTmkuqrlcwpvIIlrPa8aPjxBYG/vg
LxlXzodJWPItAr3fAV9z5QP+CGMkG8yjxYdSu6q+ibJA5P/HyG92riw3O94leQAo
QZY6eeYE4u+nNpCf4dFFeA8GKCvb80MwycTL7xhbxsW1nrf3xgrdtrLKL6nxSXN2
z6WVwiscyfnARdYydmo72B2IuEVlgfKzCOXRBxRDZSQ815Sb93kzxuPUAahcdfu7
ehKeSXPbo0KxU8pAVmHGe3pY8eV3JA==
=wgUJ
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 28 Aug 2019 22:42
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 37128@debbugs.gnu.org)
87a7btf2cs.fsf@gnu.org
Hello,

Pierre Neidhardt <mail@ambrevar.xyz> skribis:

Toggle quote (15 lines)
> After a guix pull on 0fc235a, guix system reconfigure stop at
>
> shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
>
>
> instead of
>
> shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
> shepherd: Service user-homes has been started.
> shepherd: Service term-auto could not be started.
> bootloader successfully installed on '/dev/sda’
>
> The only change I've done to my config.scm is that now I have a btrfs
> filesystem (just for storage, it's not /home).

The “Evaluating user expression” started the ‘file-system’ service for
this btrfs file system, and it got stuck for some reason. Did
/var/log/messages or the console show anything?

I suppose you’d have to try again the experiment. Presumably there’s
some fsck-like process or something taking time or waiting for input.

Ludo’.
P
P
Pierre Neidhardt wrote on 29 Aug 2019 09:23
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 37128@debbugs.gnu.org)
87ef14toyu.fsf@ambrevar.xyz
This is the last message in /var/log/messages:

Toggle snippet (3 lines)
Aug 29 09:13:40 localhost shepherd[1]: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).

Toggle quote (3 lines)
> Did
> /var/log/messages or the console show anything?

What console?

Toggle quote (3 lines)
> I suppose you’d have to try again the experiment. Presumably there’s
> some fsck-like process or something taking time or waiting for input.

Note that everything works alright. But I'm worried that this would
fail on a new installation where the bootloader is missing :(

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1nfVkACgkQm9z0l6S7
zH95Agf/T9H5sHMjxAF/v/F/oW+puZPmvYRGOiEDlFpuEfPYuEKQax59ckEoswHt
XpVfVm5KdDk5cHq5ReDp59XANi5NUUdEvVUHjXdN7XIWymL1qAYXXt5+qDpTSVMX
ni2oLErDATuhTnEM+RQrdZTSEoCuUkyRWNr4MxC954QBdPZLPbqMjCJ/+Yg5dBX4
fX0uCqlFKoeoovS9+1YRfy64kQPccrUzwL63b4D4uuwU5tXV2zU9Njl28jjpbVU3
6sEZuYvIwsD7WJ2+EfBp9roYzAK2u9CI8OF3XXP3sv/Ghjlu7gnyp5KAqh1HJeCv
t55ZVrEUKK2WmbUF08A5OFgNdmUHCQ==
=VvNB
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 29 Aug 2019 14:41
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 37128@debbugs.gnu.org)
87a7bsi1o0.fsf@gnu.org
Pierre Neidhardt <mail@ambrevar.xyz> skribis:

Toggle quote (9 lines)
> This is the last message in /var/log/messages:
>
> Aug 29 09:13:40 localhost shepherd[1]: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
>
>> Did
>> /var/log/messages or the console show anything?
>
> What console?

/dev/console, so tty1, typically.

Toggle quote (6 lines)
>> I suppose you’d have to try again the experiment. Presumably there’s
>> some fsck-like process or something taking time or waiting for input.
>
> Note that everything works alright. But I'm worried that this would
> fail on a new installation where the bootloader is missing :(

Where the bootloader is missing? The bootloader cannot be missing or
the thing is not installed. :-)

Ludo’.
P
P
Pierre Neidhardt wrote on 29 Aug 2019 15:25
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 37128@debbugs.gnu.org)
87zhjs9k8e.fsf@ambrevar.xyz
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (3 lines)
> Where the bootloader is missing? The bootloader cannot be missing or
> the thing is not installed. :-)

No it's not missing, but I think the bootloader remained from the
previous working configs (before I configured the Btrfs file system).

Say I'd wipe the bootloader now and re-run `guix system reconfigure...',
I don't think it would get installed then.

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1n0lEACgkQm9z0l6S7
zH8T+Af+KOFXKTM9w3ZsZ0fCIgoIeUcI2nuE98xHkP3TM0/yI8iXWdtZEg8X/rtz
3xX975LIZ/RvrbRcqrJbVA015LsaLaenb01bj/CjXzXt5CkpCqHfaU4qWxPVxdFn
C6N6hug7LHTL6GHWbD/VWnhUshJO5bhyNuaCvOxh3ZUMM/whRZONULE3VxW85AEy
efKfmmyR1FpixLg22/5H9zS/JzJ8flF/3QYVx+DEKkdwR5UoIuMvgygVMcfFOMkC
TyQ9K4H6qbP7yYt4fRDlzCPsTgFLfM4z/mnNRHQWCjN3WNpthR9+jHXu8/sPvFgN
xhRvOHMIo6aRkTojyBcKz4jXG0MGlQ==
=rTBb
-----END PGP SIGNATURE-----

B
B
Bengt Richter wrote on 30 Aug 2019 00:53
(name . Ludovic Courtès)(address . ludo@gnu.org)
20190829225359.GB2437@PhantoNv4ArchGx.localdomain
On +2019-08-29 14:41:51 +0200, Ludovic Courtès wrote:
Toggle quote (25 lines)
> Pierre Neidhardt <mail@ambrevar.xyz> skribis:
>
> > This is the last message in /var/log/messages:
> >
> > Aug 29 09:13:40 localhost shepherd[1]: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
> >
> >> Did
> >> /var/log/messages or the console show anything?
> >
> > What console?
>
> /dev/console, so tty1, typically.
>
> >> I suppose you’d have to try again the experiment. Presumably there’s
> >> some fsck-like process or something taking time or waiting for input.
> >
> > Note that everything works alright. But I'm worried that this would
> > fail on a new installation where the bootloader is missing :(
>
> Where the bootloader is missing? The bootloader cannot be missing or
> the thing is not installed. :-)
>
> Ludo’.
>

Had you considered the case where someone[1] is running a binary install
on a foreign distro booted by refind or a bootloader not in your official list?

[1] guess who ;-)

Regards,
Bengt Richter
L
L
Ludovic Courtès wrote on 30 Aug 2019 01:27
(name . Bengt Richter)(address . bokr@bokr.com)
87r253h7rt.fsf@gnu.org
Hi Bengt,

Bengt Richter <bokr@bokr.com> skribis:

Toggle quote (3 lines)
> On +2019-08-29 14:41:51 +0200, Ludovic Courtès wrote:
>> Pierre Neidhardt <mail@ambrevar.xyz> skribis:

[...]

Toggle quote (12 lines)
>> > Note that everything works alright. But I'm worried that this would
>> > fail on a new installation where the bootloader is missing :(
>>
>> Where the bootloader is missing? The bootloader cannot be missing or
>> the thing is not installed. :-)
>>
>> Ludo’.
>>
>
> Had you considered the case where someone[1] is running a binary install
> on a foreign distro booted by refind or a bootloader not in your official list?

I hadn’t! If that’s the case, it’ll be more difficult for us to support
that someone. :-)

Ludo’.
P
P
Pierre Neidhardt wrote on 30 Aug 2019 11:56
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 37128@debbugs.gnu.org)
87blw7f02y.fsf@ambrevar.xyz
Just checked: no messages in the /dev/tty1.
Isn't there a more extensive log for "guix system reconfigure"?
Something seems to be wrong with btrfs.

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1o8tUACgkQm9z0l6S7
zH/gGwgAj+prdXeZ04fw3miYcpytyyIZ2rcU36pzdl46XwivVkX6/cSG9luFT+Bw
CiXrEaOHR7xfXTB+0rDmuCK5oQzKUnvLZxfzl98hmgalbQCEkxMSZdkJGnYlSP+x
oV1qmrBJaJYMqz8GhF45kGzgabmMorl9VIEYRbic5WVO4Ud9XqtUcjh15l/K5Gf5
2hqj8XhFVvvoiND2PQ+aOAeLDL2obSn+5BpPeiU+4B9bQT12kH8xd5RANTWB7r3e
JMlk83FoiTn+nyjyPZaGaLsYYkimZ7uRnQZFZVZ0QK76JaEbQNnjl0uZG4fNFX0O
0q0ez0JRXoqmA0IV9YIIlzRP+raGmQ==
=t8ql
-----END PGP SIGNATURE-----

J
J
Jakob L. Kreuze wrote on 30 Aug 2019 23:55
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)
87d0gms4gz.fsf@sdf.lonestar.org
Pierre Neidhardt <mail@ambrevar.xyz> writes:

Toggle quote (2 lines)
> Isn't there a more extensive log for "guix system reconfigure"?

You could look at the .scm files produced by "guix system reconfigure"
(the store paths should be printed to stdout). I'm afraid that, aside
from Shepherd's own messages, the console output is the canonical log
for "guix system reconfigure" right now.

Regards,
Jakob
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1pm1wACgkQ9Qb9Fp2P
2Vrzow/+OIDrqZRt3aonmj46QKynNtCETlSPBFEnVoOP6XFom9wiEPWCqyNcd/XH
GjFw6GQFU2N6/RYPum+57d3tnKY23YYomYSAuvj7Vt0Xe3fIXzmcmgttjw9XAveQ
BOiAkCgnOGibfcHMsIdmdyllZ71uP0TUz95fz7GAd9fTt5LdTGbSWj0PehDKeiUX
6EYAu3zK1z6e4spQZLUI7RZgJR+3ldEbKBlALDlyCDxsXX/YzO5qFgOuAmrlceYh
G/L/A9qwptt8p2t7VlM3wpgyoHDM3Aa79+8DcmC3zkacte2ry8O8iddV4PXtMigX
0dsr49iCt0Wr4e0o3N2J3c+XhD4humqr39yohzOQFPMy1paH8ZfRpaSUk8UTn+ZV
DwAZVkMzPRDtgQLkdrdd1zP+RJoIeJkNRJkoSDRBJLhTbIFif2dpLdalnks3Apfw
6wCgSxaXYl/jzGyMq1gPcs/MMqFBTxh0oEEIXElRzfjC2TATFT4Ip5sbfXRdWqhJ
QMQRJlld7cRumkj4095/h4HHgHXrDzG92tmTmzElAG3dOE1U4wCF4vqP5hhKbMRf
57QxVHc+EdutF0kRi6F/ALZVfAroW/KTzQC4iN275xx0hhjSDcA7V7YE/2HMa22W
JLA5MiF+V6Aww9bryi2zQ6UxV2MbYMpeEO3ukGzLFCEOWBXyOE0=
=LjJ3
-----END PGP SIGNATURE-----

P
P
Pierre Neidhardt wrote on 22 Sep 2019 18:13
(name . Jakob L. Kreuze)(address . zerodaysfordays@sdf.lonestar.org)
87ftko2tsm.fsf@ambrevar.xyz
With today's guix commit

4cd9de6068f439c52f6874f00ec608c41156d095

guix system reconfigure worked flawlessly with the same config.scm.

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2HnakACgkQm9z0l6S7
zH9OCQf+Ix/R5v7+DqV0zBBu6GSODovU6c6gEc+mLa4m6WxeBpYeXMMcZAMKF7sT
+sB26CZ5Ni5GQ/BCD5JFMYdk9/srsUiPbm7t+Ngr9g13wIhigJ6gkGhYCM7UBrTm
xLcD4JgQNyrOR7kbIalB66D7Sphep1K6SIsx+hZ4V/zlyt68njUZiHBGgX20zhjY
ZKdSMYr3J2PKOzsBOgkfjOMsjdNVP3yFVCydaRTuc9eibrV1w5USWJG/ggqjs8qw
e4VJdJWPowOPiSlLcfRN00GiYcjU/p7mZh5nApiULLCt+OdFAviXY04zYHDNdYXr
KZdAX8MPGynKaSEGdP0llquBG4gEfg==
=suNG
-----END PGP SIGNATURE-----

?