From mboxrd@z Thu Jan 1 00:00:00 1970 From: john herrlin Subject: bug#28752: openvpn-client-service error Date: Mon, 9 Oct 2017 18:22:24 +0200 Message-ID: References: <9848dda76b124fbfd0add50cdbccf6db@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045d61f88c6298055b1f9893" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1bIf-0002nK-Hy for bug-guix@gnu.org; Mon, 09 Oct 2017 12:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1bIc-0001fY-DO for bug-guix@gnu.org; Mon, 09 Oct 2017 12:53:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1bIc-0001fE-9W for bug-guix@gnu.org; Mon, 09 Oct 2017 12:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1bIb-0008B7-QY for bug-guix@gnu.org; Mon, 09 Oct 2017 12:53:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <9848dda76b124fbfd0add50cdbccf6db@lepiller.eu> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: julien lepiller Cc: 28752@debbugs.gnu.org --f403045d61f88c6298055b1f9893 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable With some help from the wonderful people in #guix, IRC I managed to get this far. ``` git am guix environment guix ./bootstrap && ./configure --sysconfdir=3D/etc --localstatedir=3D/var make guix system vm config.scm # failed on grub/efi guix system build config.scm # succeeded ``` I dont know how to proceed further. 2017-10-09 13:41 GMT+02:00 julien lepiller : > Le 2017-10-08 22:03, john herrlin a =C3=A9crit : > >> Hey, >> >> I am facing a problem with (openvpn-client-service) when trying to >> reconfigure the system. >> Its GuixSD on a x86-64, the system config is attached. >> >> Backtrace: >> In srfi/srfi-1.scm: >> 592:29 19 (map1 (#< type: # =E2=80=A6)) >> 592:29 18 (map1 (#< type: # =E2=80=A6)) >> 592:29 17 (map1 (#< type: # =E2=80=A6)) >> 592:29 16 (map1 (#< type: # =E2=80=A6)) >> 592:29 15 (map1 (#< type: # =E2=80=A6)) >> 592:29 14 (map1 (#< type: # =E2=80=A6)) >> 592:29 13 (map1 (#< type: # =E2=80=A6)) >> 592:29 12 (map1 (#< type: # =E2=80=A6)) >> 592:29 11 (map1 (#< type: # =E2=80=A6)) >> 592:29 10 (map1 (#< type: # =E2=80=A6)) >> 592:29 9 (map1 (#< type: # =E2=80=A6)) >> 592:29 8 (map1 (#< type: # =E2=80=A6)) >> 592:17 7 (map1 (#< type: # =E2=80=A6)) >> In gnu/services/vpn.scm: >> 409:24 6 (_ #< openvpn: #) >> 379:9 5 (openvpn-config-file client #<) >> In ice-9/ports.scm: >> 549:4 4 (call-with-output-string _) >> 473:4 3 (with-output-to-port _ _) >> In ice-9/boot-9.scm: >> 268:13 2 (for-each # =E2=80=A6) >> In gnu/services/vpn.scm: >> 112:19 1 (serialize-tls-auth client #f) >> In unknown file: >> 0 (string-append #f " " "1") >> >> ERROR: In procedure string-append: >> ERROR: In procedure string-append: Wrong type (expecting string): #f >> > > Although I won't be able to check it before tomorrow evening, here is a > patch that should solve your issue. Are you able to test it and tell me > whether it works? > > Thank you for reporting this! --=20 MVH John Herrlin --f403045d61f88c6298055b1f9893 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With some help from the wonderful people in= #guix, IRC I managed to get this far.

```
git am <= ;patch>
guix environment guix
./bootstrap && ./configure -= -sysconfdir=3D/etc --localstatedir=3D/var
make
guix system vm config.= scm =C2=A0=C2=A0 # failed on grub/efi
guix system build config.scm=C2=A0= # succeeded
```

I dont know how to proceed further.

2017-10-09 13:= 41 GMT+02:00 julien lepiller <julien@lepiller.eu>:
Le 2017-1= 0-08 22:03, john herrlin a =C3=A9crit=C2=A0:
Hey,

I am facing a problem with (openvpn-client-service) when trying to
reconfigure the system.
Its GuixSD on a x86-64, the system config is attached.

Backtrace:
In srfi/srfi-1.scm:
=C2=A0 =C2=A0592:29 19 (map1 (#<<service> type: #<service-type = nscd 22f74b0=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 18 (map1 (#<<service> type: #<service-type = guix 22f73c0=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 17 (map1 (#<<service> type: #<service-type = urandom-seed=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 16 (map1 (#<<service> type: #<service-type = syslog 22f74=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 15 (map1 (#<<service> type: #<service-type = static-netwo=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 14 (map1 (#<<service> type: #<service-type = mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 13 (map1 (#<<service> type: #<service-type = mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 12 (map1 (#<<service> type: #<service-type = mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 11 (map1 (#<<service> type: #<service-type = mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29 10 (map1 (#<<service> type: #<service-type = mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29=C2=A0 9 (map1 (#<<service> type: #<service-= type mingetty 22f=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:29=C2=A0 8 (map1 (#<<service> type: #<service-= type console-font=E2=80=A6> =E2=80=A6))
=C2=A0 =C2=A0592:17=C2=A0 7 (map1 (#<<service> type: #<service-= type openvpn-clie=E2=80=A6> =E2=80=A6))
In gnu/services/vpn.scm:
=C2=A0 =C2=A0409:24=C2=A0 6 (_ #<<openvpn-client-configuration&g= t; openvpn: #<package =E2=80=A6>)
=C2=A0 =C2=A0 379:9=C2=A0 5 (openvpn-config-file client #<<openvpn-cl= ient-configura=E2=80=A6>)
In ice-9/ports.scm:
=C2=A0 =C2=A0 549:4=C2=A0 4 (call-with-output-string _)
=C2=A0 =C2=A0 473:4=C2=A0 3 (with-output-to-port _ _)
In ice-9/boot-9.scm:
=C2=A0 =C2=A0268:13=C2=A0 2 (for-each #<procedure 2636d40 at gnu/service= s/configur=E2=80=A6> =E2=80=A6)
In gnu/services/vpn.scm:
=C2=A0 =C2=A0112:19=C2=A0 1 (serialize-tls-auth client #f)
In unknown file:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (string-append #f " " = "1")

ERROR: In procedure string-append:
ERROR: In procedure string-append: Wrong type (expecting string): #f

Although I won't be able to check it before tomorrow evening, here is a= patch that should solve your issue. Are you able to test it and tell me wh= ether it works?

Thank you for reporting this!



-= -
MVH=
John Herrlin
--f403045d61f88c6298055b1f9893--