Wifi stopped working (failed to connect to socket /run/dbus/system_bus_socket)

hi,

I updated my mothers laptop this morning and her wifi stopped working afterwards.

  • the update was from 7.0.1 (about 2 weeks ago) to 7.0.6 this morning
  • if I go back to previous kernel (advanced, select 7.0.1) it still wont work
  • if I go back to a snapshot before the update it works
  • I hope I included all the needed logs, I did notice a Failed to D-Bus activate wpa_supplicant service in the networkmanager logs so I added the wpa_supplicant service too. if feels like its a rights issue but well not sure how to solve it.
sudo nmcli device
DEVICE    TYPE      STATE                   CONNECTION 
lo        loopback  connected (externally)  lo         
enp1s0f1  ethernet  unavailable             --         
wlp2s0    wifi      unavailable             --  

sudo rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
        
sudo inxi -Nnaz
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 01:00.1 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0f1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp2s0 state: down mac: <filter>
  Info: services: NetworkManager
  
sudo nmcli g
STATE         CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN     METERED 
disconnected  none          enabled  enabled  missing  enabled  unknown 

sudo nmcli d
DEVICE    TYPE      STATE                   CONNECTION 
lo        loopback  connected (externally)  lo         
enp1s0f1  ethernet  unavailable             --         
wlp2s0    wifi      unavailable             --   

sudo nmcli connection show
NAME                    UUID                                  TYPE      DEVICE 
lo                      1f859f35-2898-4004-b394-bed48952b571  loopback  lo     
Bekabelde verbinding 1  f832ad9e-9e71-3caf-871b-7fe587ba15e9  ethernet  --     
H369AAB310D             a7cd01ae-63c0-49b5-b9fb-e8c5fcbc1997  wifi      --     
VPNConfig               6f02d82f-8e5c-4bf9-9ec0-3b78d5164518  vpn       --  

sudo nmcli connection show
NAME                    UUID                                  TYPE      DEVICE 
lo                      1f859f35-2898-4004-b394-bed48952b571  loopback  lo     
Bekabelde verbinding 1  f832ad9e-9e71-3caf-871b-7fe587ba15e9  ethernet  --     
H369AAB310D             a7cd01ae-63c0-49b5-b9fb-e8c5fcbc1997  wifi      --     
VPNConfig               6f02d82f-8e5c-4bf9-9ec0-3b78d5164518  vpn       --  

sudo journalctl -b 0 -u NetworkManager
May 16 11:08:09 hgh systemd[1]: Starting Network Manager...
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0891] NetworkManager (version 1.54.3) is starting... (boot:da2054ce-a4bc-420e-be79-008d5ac24266)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0891] Read config: /etc/NetworkManager/NetworkManager.conf, /usr/lib/NetworkManager/conf.d/conncheck-openSUSE.conf
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0926] manager[0x561ac7b81e60]: monitoring kernel firmware directory '/usr/lib/firmware'.
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0934] hostname: hostname: using hostnamed
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0934] hostname: static hostname changed from (none) to "hgh"
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0936] dns-mgr: init: dns=default,systemd-resolved rc-manager=symlink (auto)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0952] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.1/0000:02:00.0/ieee80211/phy0/rfkill1) (driver iwlwifi)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0954] manager[0x561ac7b81e60]: rfkill: Wi-Fi hardware radio set enabled
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.0954] manager[0x561ac7b81e60]: rfkill: WWAN hardware radio set enabled
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1015] Loaded device plugin: NMBluezManager (/usr/lib64/NetworkManager/1.54.3/libnm-device-plugin-bluetooth.so)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1023] Loaded device plugin: NMWwanFactory (/usr/lib64/NetworkManager/1.54.3/libnm-device-plugin-wwan.so)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1038] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/1.54.3/libnm-device-plugin-wifi.so)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1039] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1040] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1040] manager: Networking is enabled by state file
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1043] settings: Loaded settings plugin: keyfile (internal)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1060] dhcp: init: Using DHCP client 'internal'
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1062] manager: (lo): new Loopback device (/org/freedesktop/NetworkManager/Devices/1)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1069] device (lo): state change: unmanaged -> unavailable (reason 'connection-assumed', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1072] device (lo): state change: unavailable -> disconnected (reason 'connection-assumed', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1076] device (lo): Activation: starting connection 'lo' (1f859f35-2898-4004-b394-bed48952b571)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1082] manager: (enp1s0f1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1090] settings: (enp1s0f1): created default wired connection 'Bekabelde verbinding 1'
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.1091] device (enp1s0f1): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.2903] device (wlp2s0): driver supports Access Point (AP) mode
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.2907] manager: (wlp2s0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.2909] device (wlp2s0): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.5476] device (wlp2s0): set-hw-addr: set MAC address to B6:96:88:E1:A7:94 (scanning)
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7727] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7741] device (lo): state change: disconnected -> prepare (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7745] device (lo): state change: prepare -> config (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh systemd[1]: Started Network Manager.
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7747] device (lo): state change: config -> ip-config (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7758] device (lo): state change: ip-config -> ip-check (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7769] modem-manager: ModemManager available
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7778] device (lo): state change: ip-check -> secondaries (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7779] device (lo): state change: secondaries -> activated (reason 'none', managed-type: 'external')
May 16 11:08:09 hgh NetworkManager[1474]: <info>  [1778922489.7781] device (lo): Activation: successful, device activated.
May 16 11:08:12 hgh NetworkManager[1474]: <error> [1778922492.7716] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:08:13 hgh NetworkManager[1474]: <info>  [1778922493.7451] agent-manager: agent[97b2474ca1279ff7,:1.32/org.kde.plasma.networkmanagement/1000]: agent registered
May 16 11:08:15 hgh NetworkManager[1474]: <info>  [1778922495.2906] manager: startup complete
May 16 11:08:23 hgh NetworkManager[1474]: <warn>  [1778922503.4018] device (wlp2s0): re-acquiring supplicant interface (#1).
May 16 11:08:26 hgh NetworkManager[1474]: <error> [1778922506.4049] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:08:36 hgh NetworkManager[1474]: <warn>  [1778922516.4017] device (wlp2s0): re-acquiring supplicant interface (#2).
May 16 11:08:39 hgh NetworkManager[1474]: <error> [1778922519.4022] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:08:49 hgh NetworkManager[1474]: <warn>  [1778922529.4032] device (wlp2s0): re-acquiring supplicant interface (#3).
May 16 11:08:52 hgh NetworkManager[1474]: <error> [1778922532.4063] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:09:02 hgh NetworkManager[1474]: <warn>  [1778922542.4096] device (wlp2s0): re-acquiring supplicant interface (#4).
May 16 11:09:05 hgh NetworkManager[1474]: <error> [1778922545.4129] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:09:15 hgh NetworkManager[1474]: <warn>  [1778922555.4016] device (wlp2s0): re-acquiring supplicant interface (#5).
May 16 11:09:18 hgh NetworkManager[1474]: <error> [1778922558.4025] device (wlp2s0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 16 11:09:18 hgh NetworkManager[1474]: <info>  [1778922558.4025] device (wlp2s0): supplicant interface keeps failing, giving up

sudo journalctl -b 0 -u wpa_supplicant.service
May 16 11:08:09 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:08:09 hgh wpa_supplicant[1582]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:08:09 hgh wpa_supplicant[1582]: 1778922489.874791: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:08:09 hgh wpa_supplicant[1582]: 1778922489.874804: Failed to initialize wpa_supplicant
May 16 11:08:09 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:08:09 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:08:09 hgh systemd[1]: Failed to start WPA Supplicant daemon.
May 16 11:08:23 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:08:23 hgh wpa_supplicant[2730]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:08:23 hgh wpa_supplicant[2730]: 1778922503.455030: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:08:23 hgh wpa_supplicant[2730]: 1778922503.455039: Failed to initialize wpa_supplicant
May 16 11:08:23 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:08:23 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:08:23 hgh systemd[1]: Failed to start WPA Supplicant daemon.
May 16 11:08:36 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:08:36 hgh wpa_supplicant[2837]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:08:36 hgh wpa_supplicant[2837]: 1778922516.453963: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:08:36 hgh wpa_supplicant[2837]: 1778922516.453969: Failed to initialize wpa_supplicant
May 16 11:08:36 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:08:36 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:08:36 hgh systemd[1]: Failed to start WPA Supplicant daemon.
May 16 11:08:49 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:08:49 hgh wpa_supplicant[2933]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:08:49 hgh wpa_supplicant[2933]: 1778922529.457838: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:08:49 hgh wpa_supplicant[2933]: 1778922529.457847: Failed to initialize wpa_supplicant
May 16 11:08:49 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:08:49 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:08:49 hgh systemd[1]: Failed to start WPA Supplicant daemon.
May 16 11:09:02 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:09:02 hgh wpa_supplicant[2943]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:09:02 hgh wpa_supplicant[2943]: 1778922542.462774: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:09:02 hgh wpa_supplicant[2943]: 1778922542.462782: Failed to initialize wpa_supplicant
May 16 11:09:02 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:09:02 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:09:02 hgh systemd[1]: Failed to start WPA Supplicant daemon.
May 16 11:09:15 hgh systemd[1]: Starting WPA Supplicant daemon...
May 16 11:09:15 hgh wpa_supplicant[2952]: wpa_debug_open_file: Failed to open output file descriptor, using standard output
May 16 11:09:15 hgh wpa_supplicant[2952]: 1778922555.451896: dbus: Could not acquire the system bus: org.freedesktop.DBus.Error.AccessDenied - Failed to connect to socket /run/dbus/system_bus_socket: Permission denied
May 16 11:09:15 hgh wpa_supplicant[2952]: 1778922555.451903: Failed to initialize wpa_supplicant
May 16 11:09:15 hgh systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
May 16 11:09:15 hgh systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 16 11:09:15 hgh systemd[1]: Failed to start WPA Supplicant daemon.

sudo ls -l /run/dbus/system_bus_socket
srw-rw-rw- 1 root root 0 May 16 11:08 /run/dbus/system_bus_socket
1 Like

duh !
and I thought lets post in network and i looked here and… sigh nm, thanks for the link

Confirming that this is a problem, and that hui’s workaround of disabling the AppArmor service works for now.

No, i didn’t recommend to disable AppArmor. Disabling AppArmor isn’t a solution but a really bad decission. There are actually two senseful recommendations atm. Either downgrade AppArmor or adapt the service override file.

2 Likes

Okay, apologies. There are better options that disabling AppArmor, as you say.

I see running this by hand works:

# First terminal
# /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log
# next, second terminal
 systemctl restart NetworkManager
# Do not close any of these terminals!

Inside /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service

User=root

I still think downgrade is a better option than fix just wpa_supplicant, as there are other problems with AppArmor 5, like not working lsusb.

Packages from here: https://download.opensuse.org/history/20260511/tumbleweed/repo/oss/x86_64/ works.

Add this URI as repo (without last URI part - x86_64/), run Yast2, search for apparmor, select older version (4.x) for each package with apparmor- prefix, install, click continue/backward, set do not change (by right click and select given menu item) on each downgraded package, click ok.

1 Like

Perhaps a stupid question, but where exactly is the service override file? Hesitant to shove in an older repository to downgrade one package.

Also, disabling apparmor at least lets you get online so you CAN add/modify a repository. The ā€˜fix’ of disabling/rebooting does at least give a temporary fix.

https://bugzilla.opensuse.org/show_bug.cgi?id=1265380

In the first comment under workaround
I downgraded, it’s not like apparmor v4 is suddenly useless now v5 is out, so rather did that. Also was some USB issues so not just wifi

1 Like

You do not have to disable apparmor. My suggestion was to ran wpa_supplicant as root (on my machine it works) and restart NetworkManager. Downgrade apparmor then and reboot.

The fix for this is now available in apparmor 5.0.0-2.1. A zypper dup from the standard repos should pick that up.

Can confirm this update fixed things. Apparmor working with zero wifi issues.

1 Like

I see problem with lsusb probably still persist. Is there any other thing, which would not work?

1 Like

Working for me now, I believe AppArmor was updated again.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.