From mboxrd@z Thu Jan 1 00:00:00 1970 From: julien lepiller Subject: bug#28752: openvpn-client-service error Date: Mon, 09 Oct 2017 13:41:33 +0200 Message-ID: <9848dda76b124fbfd0add50cdbccf6db@lepiller.eu> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_4815170a805a4eb1bc554c0ce39d34bb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1WRi-0003Zt-1F for bug-guix@gnu.org; Mon, 09 Oct 2017 07:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1WRe-0007WC-Ty for bug-guix@gnu.org; Mon, 09 Oct 2017 07:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1WRe-0007W8-Ot for bug-guix@gnu.org; Mon, 09 Oct 2017 07:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1WRe-0006S7-CV for bug-guix@gnu.org; Mon, 09 Oct 2017 07:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: john herrlin Cc: 28752@debbugs.gnu.org --=_4815170a805a4eb1bc554c0ce39d34bb Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Le 2017-10-08 22:03, john herrlin a écrit : > 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: # …)) > 592:29 18 (map1 (#< type: # …)) > 592:29 17 (map1 (#< type: # …)) > 592:29 16 (map1 (#< type: # …)) > 592:29 15 (map1 (#< type: # …)) > 592:29 14 (map1 (#< type: # …)) > 592:29 13 (map1 (#< type: # …)) > 592:29 12 (map1 (#< type: # …)) > 592:29 11 (map1 (#< type: # …)) > 592:29 10 (map1 (#< type: # …)) > 592:29 9 (map1 (#< type: # …)) > 592:29 8 (map1 (#< type: # …)) > 592:17 7 (map1 (#< type: # …)) > 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 # > …) > 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! --=_4815170a805a4eb1bc554c0ce39d34bb Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-services-vpn-Fix-bug-with-default-tls-auth-configura.patch Content-Disposition: attachment; filename=0001-services-vpn-Fix-bug-with-default-tls-auth-configura.patch; size=1209 RnJvbSAxNzk3Mjc1NTNjOTE5ODdhMTE1NDg2MGY5NTJkNGQ4MzM4M2E0OGQ1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKdWxpZW4gTGVwaWxsZXIgPGp1bGllbkBsZXBpbGxlci5ldT4K RGF0ZTogTW9uLCA5IE9jdCAyMDE3IDEyOjA5OjExICswMjAwClN1YmplY3Q6IFtQQVRDSF0gc2Vy dmljZXM6IHZwbjogRml4IGJ1ZyB3aXRoIGRlZmF1bHQgdGxzLWF1dGggY29uZmlndXJhdGlvbi4K CiogZ251L3NlcnZpY2VzL3Zwbi5zY20gKHNlcmlhbGl6ZS10bHMtYXV0aCk6IEZpeCBzZXJpYWxp emF0aW9uIGVycm9yIHdoZW4KdGxzLWF1dGggaXMgZGlzYWJsZWQuCi0tLQogZ251L3NlcnZpY2Vz L3Zwbi5zY20gfCAxMCArKysrKystLS0tCiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCsp LCA0IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2dudS9zZXJ2aWNlcy92cG4uc2NtIGIvZ251 L3NlcnZpY2VzL3Zwbi5zY20KaW5kZXggODY4YTIyN2ZjLi5jYmI0YTc5YTcgMTAwNjQ0Ci0tLSBh L2dudS9zZXJ2aWNlcy92cG4uc2NtCisrKyBiL2dudS9zZXJ2aWNlcy92cG4uc2NtCkBAIC0xMDgs MTAgKzEwOCwxMiBAQAogICAgICAgI2YpKQogCiAoZGVmaW5lIChzZXJpYWxpemUtdGxzLWF1dGgg cm9sZSBsb2NhdGlvbikKLSAgKHNlcmlhbGl6ZS1maWVsZCAndGxzLWF1dGgKLSAgICAgICAgICAg ICAgICAgICAoc3RyaW5nLWFwcGVuZCBsb2NhdGlvbiAiICIgKG1hdGNoIHJvbGUKLSAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoJ3NlcnZlciAiMCIpCi0g ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKCdjbGllbnQg IjEiKSkpKSkKKyAgKGlmIGxvY2F0aW9uCisgICAgICAoc2VyaWFsaXplLWZpZWxkICd0bHMtYXV0 aAorICAgICAgICAgICAgICAgICAgICAgICAoc3RyaW5nLWFwcGVuZCBsb2NhdGlvbiAiICIgKG1h dGNoIHJvbGUKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKCdzZXJ2ZXIgIjAiKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAoJ2NsaWVudCAiMSIpKSkpCisgICAgICAjZikpCiAoZGVmaW5lICh0 bHMtYXV0aD8gdmFsKQogICAob3IgKGVxPyB2YWwgI2YpCiAgICAgICAoc3RyaW5nPyB2YWwpKSkK LS0gCjIuMTQuMgoK --=_4815170a805a4eb1bc554c0ce39d34bb--