all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix system reconfigure
@ 2017-05-27 13:11 Oleg Pykhalov
  2017-05-28 16:26 ` Oleg Pykhalov
  2017-05-30 14:43 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2017-05-27 13:11 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

Hello.

I have issue with: $ sudo guix system reconfigure /etc/config.scm


$ sudo guix pull # One warning

Some deprecated features have been used.  Set the environment variable
GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more
information.


$ sudo guix system build /etc/config.scm # No error or warning


$ guix system reconfigure /etc/config.scm

It hangs shell until kill.


[-- Attachment #2: guix system reconfigure /etc/config.scm --]
[-- Type: text/plain, Size: 1593 bytes --]

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/8a2h3fs5n30r2akn13ri9yzrnkq101pr-grub.cfg.drv
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system
/gnu/store/1b84ib011a3850flzgqvwxh1p6i6f6da-grub.cfg
/gnu/store/ipwgwqaarp304r82b97748shwzmwa9k0-grub-efi-2.02
/gnu/store/msm7xx7f7gs3rdg6qmbq7nbxkiy9y4a5-bootloader-installer
activating system...
;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
making '/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/hbygivm12yf9rjigxkk56lzhgnfibdwk-etc...
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
guix system: unloading service 'user-homes'...
shepherd: Removing service 'user-homes'...
shepherd: Done.
guix system: loading new services: file-system-/srv/videos user-homes...
shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).

[-- Attachment #3: Type: text/plain, Size: 40 bytes --]



After system reconfigure cannot boot.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix system reconfigure
  2017-05-27 13:11 guix system reconfigure Oleg Pykhalov
@ 2017-05-28 16:26 ` Oleg Pykhalov
  2017-05-30 14:43 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2017-05-28 16:26 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: help-guix

Oleg Pykhalov <go.wigust@gmail.com> writes:

> Hello.
>
> I have issue with: $ sudo guix system reconfigure /etc/config.scm
>
>
> $ sudo guix pull # One warning
>
> Some deprecated features have been used.  Set the environment variable
> GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more
> information.
>
>
> $ sudo guix system build /etc/config.scm # No error or warning
>
>
> $ guix system reconfigure /etc/config.scm
>
> It hangs shell until kill.
>
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivation will be built:
>    /gnu/store/8a2h3fs5n30r2akn13ri9yzrnkq101pr-grub.cfg.drv
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> /gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system
> /gnu/store/1b84ib011a3850flzgqvwxh1p6i6f6da-grub.cfg
> /gnu/store/ipwgwqaarp304r82b97748shwzmwa9k0-grub-efi-2.02
> /gnu/store/msm7xx7f7gs3rdg6qmbq7nbxkiy9y4a5-bootloader-installer
> activating system...
> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> making '/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system' the current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/hbygivm12yf9rjigxkk56lzhgnfibdwk-etc...
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> guix system: unloading service 'user-homes'...
> shepherd: Removing service 'user-homes'...
> shepherd: Done.
> guix system: loading new services: file-system-/srv/videos user-homes...
> shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).
>
>
>
> After system reconfigure cannot boot.
I boot in the first generation after installation and made:
$ sudo guix pull
$ sudo guix system reconfigure /etc/config.scm

It wasn't clear to me that I cannot build new system commits ontop of
"dirty" generations.  Warning $ sudo guix pull is gone.  I'm not sure
why it didn't work on last commmit.  May be because I experimented too
much as newbie and because of that had many dirty system commmits.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix system reconfigure
  2017-05-27 13:11 guix system reconfigure Oleg Pykhalov
  2017-05-28 16:26 ` Oleg Pykhalov
@ 2017-05-30 14:43 ` Ludovic Courtès
  2017-06-05 12:04   ` Oleg Pykhalov
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-05-30 14:43 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: help-guix

Hi Oleg,

Apologies for the late reply.

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> $ guix system reconfigure /etc/config.scm
>
> It hangs shell until kill.
>
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivation will be built:
>    /gnu/store/8a2h3fs5n30r2akn13ri9yzrnkq101pr-grub.cfg.drv
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> /gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system
> /gnu/store/1b84ib011a3850flzgqvwxh1p6i6f6da-grub.cfg
> /gnu/store/ipwgwqaarp304r82b97748shwzmwa9k0-grub-efi-2.02
> /gnu/store/msm7xx7f7gs3rdg6qmbq7nbxkiy9y4a5-bootloader-installer
> activating system...
> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> making '/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system' the current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/hbygivm12yf9rjigxkk56lzhgnfibdwk-etc...
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> guix system: unloading service 'user-homes'...
> shepherd: Removing service 'user-homes'...
> shepherd: Done.
> guix system: loading new services: file-system-/srv/videos user-homes...
> shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).

What does /var/log/shepherd.log contain around that time?

There’s an open bug that might be the culprit:

  https://bugs.gnu.org/23697

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix system reconfigure
  2017-05-30 14:43 ` Ludovic Courtès
@ 2017-06-05 12:04   ` Oleg Pykhalov
  2017-06-06 23:24     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Oleg Pykhalov @ 2017-06-05 12:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

Hi Ludovic,

Apologies for the late reply too.

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Oleg,
>
> Apologies for the late reply.
>
> Oleg Pykhalov <go.wigust@gmail.com> skribis:
>
>> $ guix system reconfigure /etc/config.scm
>>
>> It hangs shell until kill.
>>
>> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
>> The following derivation will be built:
>>    /gnu/store/8a2h3fs5n30r2akn13ri9yzrnkq101pr-grub.cfg.drv
>> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
>> /gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system
>> /gnu/store/1b84ib011a3850flzgqvwxh1p6i6f6da-grub.cfg
>> /gnu/store/ipwgwqaarp304r82b97748shwzmwa9k0-grub-efi-2.02
>> /gnu/store/msm7xx7f7gs3rdg6qmbq7nbxkiy9y4a5-bootloader-installer
>> activating system...
>> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
>> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
>> ;;; WARNING: loading compiled file /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go failed:
>> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
>> making '/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system' the current system...
>> setting up setuid programs in '/run/setuid-programs'...
>> populating /etc from /gnu/store/hbygivm12yf9rjigxkk56lzhgnfibdwk-etc...
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> usermod: no changes
>> guix system: unloading service 'user-homes'...
>> shepherd: Removing service 'user-homes'...
>> shepherd: Done.
>> guix system: loading new services: file-system-/srv/videos user-homes...
>> shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).
>
> What does /var/log/shepherd.log contain around that time?
>
Sorry, I lost logs around that time.  I restored my previous system
without saving logs because I had some issues with printer cups
configuration.

But now I have fully functional guixsd system except two things:

1. Scanner.  I configured it with hplip in previous system.  But now I
need to use sane as I understand.

2. libvirtd.  There is a guix package, but there is no service for
this.  I'm not sure how to use libvirt without service.  Will check it
or use qemu directly.
> There’s an open bug that might be the culprit:
>
>   https://bugs.gnu.org/23697
>
> HTH,
> Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix system reconfigure
  2017-06-05 12:04   ` Oleg Pykhalov
@ 2017-06-06 23:24     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-06-06 23:24 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: help-guix

Hi Oleg,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> But now I have fully functional guixsd system except two things:
>
> 1. Scanner.  I configured it with hplip in previous system.  But now I
> need to use sane as I understand.

Our ‘sane-backends’ package depends on ‘hplip’, so I would expect
packages such as ‘simple-scan’ to work correctly with those scanners.  I
haven’t tried it though, so I can’t really tell.

> 2. libvirtd.  There is a guix package, but there is no service for
> this.  I'm not sure how to use libvirt without service.  Will check it
> or use qemu directly.

Right, it’s currently missing.  Maybe you could follow
<https://gnu.org/s/guix/manual/html_node/Defining-Services.html> and
help write a service for it?  People on #guix and this list could
provide guidance.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-06 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-27 13:11 guix system reconfigure Oleg Pykhalov
2017-05-28 16:26 ` Oleg Pykhalov
2017-05-30 14:43 ` Ludovic Courtès
2017-06-05 12:04   ` Oleg Pykhalov
2017-06-06 23:24     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.