From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#40572: installer networking: Connman detects no technologies on Acer Aspire Date: Sun, 12 Apr 2020 18:52:34 +0200 Message-ID: <20200412185234.189f5199@scratchpost.org> References: <878sj1qcw7.fsf@gnu.org> <20200412120918.bcl5yc37f4fq2gzr@pelzflorian.localdomain> <87wo6klr2u.fsf@gmail.com> <20200412151454.m5xsma6ckltoqsb5@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/sm/LPR9Mf0deYWY1.MQ/y7J"; protocol="application/pgp-signature"; micalg=pgp-sha256 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46517) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNfqw-00088K-OW for bug-guix@gnu.org; Sun, 12 Apr 2020 12:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNfqv-0006Ab-OZ for bug-guix@gnu.org; Sun, 12 Apr 2020 12:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNfqv-0006AQ-L3 for bug-guix@gnu.org; Sun, 12 Apr 2020 12:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNfqv-0005SN-Kl for bug-guix@gnu.org; Sun, 12 Apr 2020 12:53:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200412151454.m5xsma6ckltoqsb5@pelzflorian.localdomain> 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-mx.org@gnu.org Sender: "bug-Guix" To: "pelzflorian (Florian Pelz)" Cc: 40572@debbugs.gnu.org --Sig_/sm/LPR9Mf0deYWY1.MQ/y7J Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Florian, could you check=20 strace -s 0 -p 301 ? It should attach to the running connman-vpnd and you'll get which command i= t's currently in. If it's idle, it should be some "accept" call. If strace is not available, install package "strace" (if that's possible without networking :P). >Can't load /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3-connman-1.38/lib/co= nnman/plugins-vpn/wireguard.so: /gnu/store/vclzrvbxac8ipc8g1ncq5gjjj8gdvxw3= -connman-1.38/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn= _ipconfig_foreach No idea how that can happen... I've checked guix master connman and there, $ objdump -t /gnu/store/k6iw9mhqjkhq7626a7sgfn0qpg9m73qh-connman-1.38/sbin/= connman-vpnd |grep __vpn_ipconfig_foreach 0000000000418480 l F .text 000000000000006b __vpn_ipconfi= g_foreach ... so that symbol is indeed defined. And wireguard.so has: 0000000000000000 *UND* 0000000000000000 __vpn_ipconfi= g_foreach But that should be resolved by the loader since wireguard.so is loaded by connman-vpnd--which has the definition of the symbol. And I've checked the same from the installer iso image: connman-vpnd: 0000000000418480 l F .text 000000000000006b __vpn_ipconfi= g_foreach wireguard.so: 0000000000000000 *UND* 0000000000000000 __vpn_ipconfi= g_foreach The small "l" means "local". That's probably not good. I've also tried a small program of my own: $ cat a1.c=20 #include #include #include void foo(void) { exit(1); } int main() { if (dlopen("li.so", RTLD_NOW)) return 0; else { fprintf(stderr, "error: %s\n", dlerror()); return 1; } } $ cat li.c=20 void foo(void); void bar(void) { foo(); } $ gcc -fPIC -shared -o li.so li.c $ gcc -o a1 -Wl,--export-dynamic a1.c -ldl $ objdump -t a.out |grep foo 00000000004011a0 g F .text 000000000000000e foo $ objdump -t li.so |grep foo 0000000000000000 *UND* 0000000000000000 foo $ ./a.out && echo ok ok So it should work?! Since you didn't try to use wireguard, it's probably unrelated--but maybe i= t's a follow-up error to that one. --Sig_/sm/LPR9Mf0deYWY1.MQ/y7J Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6TR1IACgkQ5xo1VCww uqWaZQf/cRbSMrzfx7iR7Z7cKy7XroMmQAYAYLcyhi4X8xvofUO0nB/WIZ966m5N meAzqbvIAh/u6bGumeVh2WpPtaXc/rI+XOWhRKoQc0f++XQCdiv4hfY0DiIQBHk0 nkPurRwhqPX+DiLN0b3nr73ZReCT599/Zggmgi2TbT3QvZnlNE8tkSfOCR666jhX 1CAYiWtxW5QWuliR8X2hFD8wRseCAzMG5OnEh+2tVG0D/dJqdbGUyW2+rRNUcovE GV/Dj9vBgnNMqfG8kF9znEDkun176viWXETgEkr4cOxnPdeCOQlFt1moYfkpdX/r X5VfwYyixRkanzc2tBZBAxzRQ3MJ4A== =+kW4 -----END PGP SIGNATURE----- --Sig_/sm/LPR9Mf0deYWY1.MQ/y7J--