cannot start networkmanager 24 December 2024, 08:26:14 Hello, new to artix linux, yesterday I reinstalled artix and I cannot seem to get networkmanager working. Am I doing something wrong? Please let me know.[tree@earth ~]$ nmcliError: Could not create NMClient object: Could not connect: No such file or directory. [tree@earth ~]$ nmtuiCould not contact NetworkManager: Could not connect: No such file or directory.[tree@earth ~]$ ls /etc/runit/runsudir/defaultagetty-tty1 agetty-tty2 agetty-tty3 agetty-tty4 agetty-tty5 agetty-tty6 dbus logind NetworkManager udevd [tree@earth ~]$ pacman -Q | grep netlibnetfilter_conntrack 1.0.9-2libnfnetlink 1.0.2-2nettle 3.10-1networkmanager 1.50.0-1networkmanager-runit 20180226-3[tree@earth 1$ sudo sv up NetworkManager[tree@earth 1$ sudo sv up dbus[tree@earth ~]$ nmcliError: Could not create NMClient object: Could not connect: No such file or directory.[tree@earth ~]$ nmtuiCould not contact NetworkManager: Could not connect: No such file or directory.[tree@earth"]$ sudo sv start NetworkManagerok: run: NetworkManager: (pid 2686) Os[tree@earth ~]$ sudo sv start dbustimeout: down: dbus: Os, normally up, want up [tree@earth ~]$
Re: cannot start networkmanager Reply #1 – 24 December 2024, 11:44:53 These commands are from the dbus startup script for runit:dbus-uuidgen --ensure=/etc/machine-id[ -d /run/dbus ] || install -m755 -g 81 -o 81 -d /run/dbusexec dbus-daemon --system --nofork --nopidfileRun these manually as root to see what fails and the related error.artist
Re: cannot start networkmanager Reply #2 – 24 December 2024, 13:06:16 here's what I got[earth ~]# dbus-uuidgen --ensure=/etc/machine-id[earth ~]# install -m755 -g 81 -o 81 -d /run/dbus[earth ~]# exec dbus-daemon --system --no-fork --nopidfiledbus-daemon [--version] [--session] [--system] [--config-file=FILE] [--print-address[=DESCRIPTOR]] [--print-pid[=DESCRIPTOR]] [--introspect] [--address=ADDRESS 1 [--nopidfile] [--nosyslog] [--syslog] [--syslog-only] [--no fork] [--fork] [--systemd-activation]Artix Linux 6.6.67-1-lts (tty1)earth login: rootPassword:[earth ~]#it just logged me out I guess?
Re: cannot start networkmanager Reply #3 – 24 December 2024, 14:26:31 There's a typo, no-fork vs nofork, just run:dbus-daemon --system --nofork --nopidfileartist
Re: cannot start networkmanager Reply #4 – 24 December 2024, 14:56:47 shoot! my bad, didn't notice that, anyways I've re ran all the commands and here's the new output[earth ~]# dbus-uuidgen --ensure=/etc/machine-id[earth ~]# install -m755 -g 81 -o 81 -d /run/dbus[earth ~]# exec dbus-daemon --system --nofork --nopidfiledbus-daemon[857]: Failed to start message bus: Could not get UID and GID for username "dbus"Artix Linux 6.6.67-1-lts (tty1)earth login:
Re: cannot start networkmanager Reply #5 – 24 December 2024, 15:54:45 It seems the dbus user is missing from your system.Make sure to have or create:- group dbus with gid 81- user dbus with uid 81, gid 81, description 'System Message Bus', homedir /, shell /bin/nologinartist
Re: cannot start networkmanager Reply #6 – 24 December 2024, 16:49:07 I have waited for more than 5 minutes but it hangs on the last command[earth ~]# grep dbus /etc/passwddbus:x:81:81:System Message Bus:/:/bin/nologin [earth # grep dbus /etc/groupdbus:x:81:[earth ~]# dbus-uuidgen --ensure=/etc/machine-id[earth ~]# install -m755 -g 81 -o 81 -d /run/dbus[earth ~]# exec dbus-daemon --system --nofork --nopidfile^CArtix Linux 6.6.67-1-lts (tty1)earth login:
Re: cannot start networkmanager Reply #7 – 24 December 2024, 16:56:25 Then it seems dbus runs OK now, so just try to start the service and check if it keeps running.If it does then start networkmanager.artist
Re: cannot start networkmanager Reply #8 – 24 December 2024, 17:29:40 thank you for your time, it finally works. I don't know what happened, I installed artix just like I do normally except this happened, first on my machine and then on a vm and the same thing happened. Shouldn't this be working out of the box?
Re: cannot start networkmanager Reply #9 – 24 December 2024, 17:45:24 It's unclear how the dbus user did not get created or got removed; this is the first time I see this issue.Maybe if you share all the exact actions you performed for the install, we can say more about any possible cause.artist
Re: cannot start networkmanager Reply #10 – 24 December 2024, 18:03:55 I have the same problem with the installation of openrc (but I also tried Dinit): that is, dbus does not start with the same problem and the system is obviously unusable... xorg doesn't start... iwd and not networkmanager but the problem is always dbus....
Re: cannot start networkmanager Reply #11 – 24 December 2024, 18:45:09 sure, it's the standard stuff, the exact steps I took to install are as followingcfdisk /dev/nvme0n1mkfs.fat -F32 /dev/nvme0n1p1mkfs.ext4 /dev/nvme0n1p2mount /dev/nvme0n1p2 /mnt mkdir -p /mnt/boot/efimount /dev/nvme0n1p1 /mnt/boot/efibasestrap /mnt base base-devel elogind-runit intel-ucode linux-firmware linux-lts man-db nano networkmanager-runit runitfstabgen -U /mnt >> /mnt/etc/fstabartix-chroot /mntln -sf /usr/share/zoneinfo/Region/City /etc/localtimehwclock --systohcnano /etc/locale.genlocale-gennano /etc/locale.confnano /etc/hostsln -s /etc/runit/sv/NetworkManager /etc/runit/runsvdir/defaultpasswdusreadd -m userpasswd userusrmod -aG audio,floppy,kvm,network,optical,storage,video,wheel userEDITOR=nano visudopacman -S efibootmgr grub os-probergrub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grubgrub-mkconfig -o /boot/grub/grub.cfgexitumount -R /mntreboothope it helps
Re: cannot start networkmanager Reply #12 – 24 December 2024, 19:08:41 The root cause has been identified; the current version does no longer create the dbus user, which causes this problem on newly installed systems.A fixed version of the package has been built and is now in system-gremlins.artist 1 Likes
Re: cannot start networkmanager Reply #13 – 24 December 2024, 21:21:04 Fixed dbus pkg has been moved to systemartist 1 Likes