all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 40572@debbugs.gnu.org
Subject: bug#40572: installer networking: Connman detects no technologies on Acer Aspire
Date: Sun, 12 Apr 2020 18:52:34 +0200	[thread overview]
Message-ID: <20200412185234.189f5199@scratchpost.org> (raw)
In-Reply-To: <20200412151454.m5xsma6ckltoqsb5@pelzflorian.localdomain>

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

Hi Florian,

could you check 

  strace -s 0 -p 301

?

It should attach to the running connman-vpnd and you'll get which command it'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/connman/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_ipconfig_foreach

... so that symbol is indeed defined.

And wireguard.so has:
0000000000000000         *UND*  0000000000000000              __vpn_ipconfig_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_ipconfig_foreach

wireguard.so:
0000000000000000         *UND*  0000000000000000              __vpn_ipconfig_foreach

The small "l" means "local".  That's probably not good.

I've also tried a small program of my own:

$ cat a1.c 
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>

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 
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 it's
a follow-up error to that one.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2020-04-12 16:53 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-24 20:06 bug#38735: GuixSD graphical Installer hangs on connecting to wifi Jesse Gibbons
2019-12-26 20:32 ` Danny Milosavljevic
2019-12-29 16:01   ` Ludovic Courtès
2020-01-03  4:10     ` Jesse Gibbons
2020-04-12  9:19 ` 1.1.0rc2 available for testing! Ludovic Courtès
2020-04-12  9:35   ` Danny Milosavljevic
2020-04-12  9:38     ` Danny Milosavljevic
2020-04-12  9:36   ` pelzflorian (Florian Pelz)
2020-04-12 12:09   ` bug#40572: installer networking: Connman detects no technologies on Acer Aspire pelzflorian (Florian Pelz)
2020-04-12 14:24     ` Mathieu Othacehe
2020-04-12 15:14       ` pelzflorian (Florian Pelz)
2020-04-12 15:41         ` pelzflorian (Florian Pelz)
2020-04-12 16:34           ` pelzflorian (Florian Pelz)
2020-04-12 17:28             ` pelzflorian (Florian Pelz)
2020-04-12 16:52         ` Danny Milosavljevic [this message]
2020-04-12 16:56           ` Danny Milosavljevic
2020-04-12 17:09           ` pelzflorian (Florian Pelz)
2020-04-12 17:45             ` pelzflorian (Florian Pelz)
2020-04-12 18:47               ` Danny Milosavljevic
2020-04-13  7:36                 ` pelzflorian (Florian Pelz)
2020-04-13 11:20               ` Danny Milosavljevic
2020-04-13 14:13                 ` Ludovic Courtès
2020-04-12 17:37         ` Mathieu Othacehe
2020-04-12 18:43           ` pelzflorian (Florian Pelz)
     [not found]             ` <87blnvmzub.fsf@gnu.org>
2020-04-13 11:57               ` pelzflorian (Florian Pelz)
2020-04-13 13:18                 ` Ludovic Courtès
2020-04-13 15:03                   ` pelzflorian (Florian Pelz)
     [not found]                     ` <20200413155202.rjmnp4v2vnrpq3vc@pelzflorian.localdomain>
2020-04-13 17:11                       ` Ludovic Courtès
2020-04-13 18:14                         ` pelzflorian (Florian Pelz)
2020-04-13 21:56                           ` pelzflorian (Florian Pelz)
2020-04-13 22:19                             ` Ludovic Courtès
2020-04-13 22:25                             ` Ludovic Courtès
2020-04-14  0:43                               ` pelzflorian (Florian Pelz)
2020-04-14  9:03                                 ` Ludovic Courtès
2020-04-14  9:40                                   ` pelzflorian (Florian Pelz)
2020-04-14 12:00                                     ` pelzflorian (Florian Pelz)
2020-04-14 14:36                                       ` Ludovic Courtès
2020-04-14 18:40                                         ` pelzflorian (Florian Pelz)
2020-04-14 20:17                                           ` Ludovic Courtès
2020-04-14 21:30                                             ` pelzflorian (Florian Pelz)
2020-04-14 21:50                                               ` Ludovic Courtès
2020-04-14 22:49                                         ` Bengt Richter
2020-04-13 22:24                         ` pelzflorian (Florian Pelz)
2020-04-13  7:42   ` 1.1.0rc2 available for testing! pelzflorian (Florian Pelz)
2020-04-13 10:41     ` Ludovic Courtès
2020-04-13 11:54       ` Mathieu Othacehe
2020-04-13 14:44         ` Ludovic Courtès
2020-04-14 12:25         ` Maxim Cournoyer
2020-04-14 14:24           ` Mathieu Othacehe
2020-04-15  1:22             ` Maxim Cournoyer
2020-04-15 16:58             ` Ludovic Courtès
2020-04-15 17:30               ` Mathieu Othacehe
2020-04-16  8:20                 ` Ludovic Courtès
2020-04-13 11:07   ` bug#38735: " Robert Smith
2020-04-13 11:07   ` Robert Smith
2020-04-13 13:45     ` Ludovic Courtès
2020-04-13 15:56       ` Robert Smith
2020-04-13 20:28         ` bug#38735: " Ludovic Courtès
2020-04-13 20:28         ` Ludovic Courtès
2020-04-13 21:42           ` Robert Smith
2020-04-13 21:42           ` bug#38735: " Robert Smith
2020-04-13 15:56       ` Robert Smith
2020-04-13 13:45     ` Ludovic Courtès
2020-04-15 14:07     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-15 14:07     ` Tobias Geerinckx-Rice
2020-04-15 14:15       ` bug#38735: " Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-13 14:42   ` Compressed ISO image got bigger Ludovic Courtès
2020-04-13 14:55     ` Jonathan Brielmaier
2020-04-13 20:37       ` Ludovic Courtès
2020-04-13 21:52         ` Tobias Geerinckx-Rice
2020-04-14 10:36           ` Ludovic Courtès
2020-04-14  9:37   ` bug#40624: installer: info manual language does not adapt to locale pelzflorian (Florian Pelz)
2020-04-14 11:02     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200412185234.189f5199@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=40572@debbugs.gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.