You are not logged in.
Whoops, I thought dhcpcd was used by NetworkManager etc. Should I disable it?
Yes, date is exactly correct.
Offline
You should not attempt to run both. You can stop it and try to start networkmanager, see whether it makes a difference. But without either, you won't have a network connection ;-)
Offline
I did stop and disable dhcpcd and then start NetworkManager with no difference.
I think the reason NetworkManager is not working is that it uses udisks2. (I think I saw that somewhere.)
Offline
No, networkmanager may or not use udisks but it segfaults from the very same g_get_home_dir function.
Try compiling
gcc `pkg-config --cflags --libs glib-2.0` -o gethomedir gethomedir.cgethomedir.c
#include <glib.h>
#include <stdio.h>
int main(int argc, char **argv) {
printf("%s\n", g_get_home_dir());
}and running it as your regular user and as root (to see whether it's a direct issue and related to the root account or the bug may relate to a threading race in gio. For the latter, you'll need to create a debug enabled build of glib)
Offline
The command gives a gcc no input file error. Changing glib2.0 to glib-2.0, however, gives a no such file or directory. Do I need to be in a certain directory? I searched the filesystem with find, and I have no "gethomedir.c" file. It seems like that may be the problem...
Offline
You are supposed to create it with the contents posted and try to run and see if it segfaults
Offline
Ha! Sorry, I made a stupid.
It works with regular and root user - no segfault.
For compiling with debugging enabled, can I follow https://wiki.archlinux.org/index.php/De … ing_Traces with the glib2 package?
Offline
Yes. Be aware that this may take some time - depending on the machine in use, but considerably longer than just installing the package.
Offline
I compiled glib2 according to wiki. I was considering how to use gdb with a systemd module that was not a "standalone" application, when I decided to start NetworkManager by commandline. When started as root (sudo), it launched and is working (the KDE applet started up), but systemctl status is still "failed".
Now I don't know if doing this before recompiling glib would have worked, but does this mean anything?
Offline
The service status is "failed" because you didn't start the service but "just" ran the binary directly. That's "ok".
So what you can say now is that the bug does not emerge w/ the self-compiled (debug enabled) glib2, ie. we have a heisebug. Great. *sigh*
With a little luck, re-installing glibc clears the stage and there were just some left over symlinks or whatnotshit that lead into some ABI incompatibility, but if the problem re-appears with the repo glib2 (you're not using some glib2 from AUR, are you?) the only thing i can suggest is to
a) try a different mirror
b) hope the bug is gone with the next glib2 rebuild/update ...
Offline