Re: bug#30706: Nginx service fails

2018-03-10 Thread Ludovic Courtès
Heya, Danny Milosavljevic skribis: >> If you run this on an “old” GuixSD, ‘find-long-options’ is undefined. > > How can it be that (gnu services base) with find-long-options call is present > but the (gnu build linux-boot)'s find-long options isn't present? The service-upgrade code loads new se

Re: bug#30706: Nginx service fails

2018-03-06 Thread Danny Milosavljevic
Hi Ludo, > If you run this on an “old” GuixSD, ‘find-long-options’ is undefined. How can it be that (gnu services base) with find-long-options call is present but the (gnu build linux-boot)'s find-long options isn't present? Aren't they either both added by "guix system reconfigure" (or both rem

Re: bug#30706: Nginx service fails

2018-03-05 Thread Ludovic Courtès
Andreas Enge skribis: > guix system: loading new services: user-homes term-auto nginx... > shepherd: Evaluating user expression (register-services (primitive-load > "/gnu/st?") ?). > guix system: error: exception caught while executing 'eval' on service 'root': > find-long-options: unbound varia

Re: Nginx service fails

2018-03-05 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > On Mon, Mar 05, 2018 at 12:43:35AM +0100, Andreas Enge wrote: >> $ guix system reconfigure AE/clementi.scm >> guix system: error: failed to load 'AE/clementi.scm': >> AE/clementi.scm:5:0: In procedure allocate-struct: Wrong type argument in >> position 2: 25 > > I th

Re: Nginx service fails

2018-03-04 Thread Andreas Enge
Hello, On Mon, Mar 05, 2018 at 12:43:35AM +0100, Andreas Enge wrote: > $ guix system reconfigure AE/clementi.scm > guix system: error: failed to load 'AE/clementi.scm': > AE/clementi.scm:5:0: In procedure allocate-struct: Wrong type argument in > position 2: 25 I think I know the answer: .cache

Re: bug#30706: Nginx service fails

2018-03-04 Thread Andreas Enge
On Mon, Mar 05, 2018 at 08:23:18AM +0100, Ricardo Wurmus wrote: > I had the same error when updating my i686 netbook after a long while. > After a reboot everything seemed to be fine, though. Ah, thanks for the information! A reboot made things worse in my case - I rebooted the virtual machine, an

Re: bug#30706: Nginx service fails

2018-03-04 Thread Ricardo Wurmus
Andreas Enge writes: > Well, I am turning this into a bug report, since it still occurs with > the latest git commit ac1a9ce8b07f3b80900ee08436ff6e683e8dc195 . > > This is the result of "./pre-inst-env guix system reconfigure ...", > where "..." is my configuration file: > > ... > creating nginx

Re: Nginx service fails

2018-03-04 Thread Andreas Enge
PS: I rebooted the virtual machine, and now it looks as if even the openssh service did not start: ... port 22: Connection refused :-(

Re: Nginx service fails

2018-03-04 Thread Andreas Enge
Hello Danny, thanks for your quick reply! On Mon, Mar 05, 2018 at 12:07:44AM +0100, Danny Milosavljevic wrote: > find-long-options is supposed to be in gnu/build/linux-boot.scm and > gnu/services/base.scm is using it. > > It's in there for some weeks now... > > You can find out where guix is by

Re: Nginx service fails

2018-03-04 Thread Danny Milosavljevic
Hi Andreas, > shepherd: Evaluating user expression (register-services (primitive-load > "/gnu/st?") ?). > guix system: error: exception caught while executing 'eval' on service 'root': > find-long-options: unbound variable find-long-options is supposed to be in gnu/build/linux-boot.scm and gnu/s

Re: Nginx service fails

2018-03-04 Thread Andreas Enge
Well, I am turning this into a bug report, since it still occurs with the latest git commit ac1a9ce8b07f3b80900ee08436ff6e683e8dc195 . This is the result of "./pre-inst-env guix system reconfigure ...", where "..." is my configuration file: ... creating nginx log directory '/var/log/nginx' creati

Nginx service fails

2018-03-04 Thread Andreas Enge
Hello, writing to guix-devel first, since I am not sure whether I should file a bug report. When reconfiguring my virtual machine today after I had added a virtual host to nginx, it failed with the following error message: ... creating nginx log directory '/var/log/nginx' creating nginx run direc