bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-30 Thread Jakob L. Kreuze
Pierre Neidhardt  writes:

> 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


signature.asc
Description: PGP signature


bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-29 Thread Ludovic Courtès
Hi Bengt,

Bengt Richter  skribis:

> On +2019-08-29 14:41:51 +0200, Ludovic Courtès wrote:
>> Pierre Neidhardt  skribis:

[...]

>> > 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’.





bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-29 Thread Bengt Richter
On +2019-08-29 14:41:51 +0200, Ludovic Courtès wrote:
> Pierre Neidhardt  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





bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-29 Thread Pierre Neidhardt
Ludovic Courtès  writes:

> 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
https://ambrevar.xyz/


signature.asc
Description: PGP signature


bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-29 Thread Ludovic Courtès
Pierre Neidhardt  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’.





bug#37128: guix system reconfigure stops output after "Evaluating user expression..."

2019-08-28 Thread Ludovic Courtès
Hello,

Pierre Neidhardt  skribis:

> 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’.