Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73255 - [systemd] coredump when using vpn networkmanager

Attached to Project: Arch Linux
Opened by MichalS (msrk) - Tuesday, 04 January 2022, 15:27 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 05 January 2022, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I use a VPN (openvpn) connection with NetworkManager, I am unable to run any window application. The coredump flies right away. This looks like a systemd problem? Please find attached logs. I was looking for a similar error, I did not find.

Additional info:
Kernel: x86_64 Linux 5.15.12-arch1-1
systemd 250-4
network-manager-applet 1.24.0-1
networkmanager 1.32.12-2
networkmanager-openvpn 1.8.16-1
networkmanager-qt 5.89.0-1
kdeplasma-addons 5.23.5-1
plasma-desktop 5.23.5-1
plasma-framework 5.89.0-1
plasma-integration 5.23.5-1
plasma-nm 5.23.5-1
plasma-pa 5.23.5-1
plasma-workspace 5.23.5-1

log:

Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9917] vpn-connection[0x55a641184320,12b83421-c239-4200-98bd-d0e59a3ed831,"companyxxxx",4:(tun0)]: VPN connection: (IP Config Get) complete
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9925] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9945] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9952] device (tun0): Activation: starting connection 'tun0' (15035cbe-0670-4f74-bc58-063d78f917ed)
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9953] device (tun0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9956] device (tun0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9958] device (tun0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:29 archlinux NetworkManager[589]: <info> [1641308969.9959] device (tun0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:30 archlinux systemd-resolved[579]: tun0: Bus client set default route setting: no
Jan 04 16:09:30 archlinux NetworkManager[589]: <info> [1641308970.0161] device (tun0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:30 archlinux NetworkManager[589]: <info> [1641308970.0164] device (tun0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Jan 04 16:09:30 archlinux NetworkManager[589]: <info> [1641308970.0172] device (tun0): Activation: successful, device activated.
Jan 04 16:09:30 archlinux NetworkManager[589]: <info> [1641308970.0319] policy: set-hostname: set hostname to 'xxxxxx.vpn.companyxxxx.local' (from address lookup)
Jan 04 16:09:30 archlinux NetworkManager[589]: <warn> [1641308970.0323] dns-sd-resolved[7435de3f6ed21d4a]: send-updates SetLinkDomains@2 failed: GDBus.Error:org.freedesktop.resolve1.LinkBusy: Link enp8s0 is managed.
Jan 04 16:09:30 xxxxxx.vpn.companyxxxx.local systemd-hostnamed[2401]: Hostname set to <xxxxxx.vpn.companyxxxx.local> (transient)
Jan 04 16:09:30 xxxxxx.vpn.companyxxxx.local systemd-resolved[579]: System hostname changed to 'xxxxxx.vpn.companyxxxx.local'.
Jan 04 16:09:30 xxxxxx.vpn.companyxxxx.local audit[589]: USYS_CONFIG pid=589 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics interface="enp8s0" ifindex=2 args=0 pid=882 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Jan 04 16:09:30 xxxxxx.vpn.companyxxxx.local NetworkManager[589]: <info> [1641308970.2860] audit: op="statistics" interface="enp8s0" ifindex=2 args="0" pid=882 uid=1000 result="success"
Jan 04 16:09:30 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1111 audit(1641308970.280:108): pid=589 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics interface="enp8s0" ifindex=2 args=0 pid=882 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kwin_x11[816]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57025, resource id: 60817618, major code: 18 (ChangeProperty), minor code: 0
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local systemd[765]: Started Konsole - Terminal.
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local konsole[2435]: qt.qpa.xcb: could not connect to display :0
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local audit[2435]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=2435 comm="konsole" exe="/usr/bin/konsole" sig=6 res=1
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local konsole[2435]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local konsole[2435]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1701 audit(1641308972.114:109): auid=1000 uid=1000 gid=1000 ses=2 pid=2435 comm="konsole" exe="/usr/bin/konsole" sig=6 res=1
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1334 audit(1641308972.120:110): prog-id=35 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1334 audit(1641308972.120:111): prog-id=36 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1334 audit(1641308972.120:112): prog-id=37 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local kernel: audit: type=1130 audit(1641308972.120:113): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-2436-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local audit: BPF prog-id=35 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local audit: BPF prog-id=36 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local audit: BPF prog-id=37 op=LOAD
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-2436-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local systemd[1]: Started Process Core Dump (PID 2436/UID 0).
Jan 04 16:09:32 xxxxxx.vpn.companyxxxx.local systemd-coredump[2439]: [LNK] Process 2435 (konsole) of user 1000 dumped core.

Steps to reproduce:
1) Click at network applet, click "Connect" button at desired VPN connection
2) Try to run any window appliaction
3) coredump
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 05 January 2022, 21:08 GMT
Reason for closing:  Works for me
Additional comments about closing:  configuration issue
Comment by MichalS (msrk) - Tuesday, 04 January 2022, 15:32 GMT
Cant edit original post.
Without vpn connection I can run any application and systemd works perfect
Comment by MichalS (msrk) - Tuesday, 04 January 2022, 15:45 GMT
I'm sorry for the trouble. Task to close with invalid. I didn't set the hostname ...

hostnamectl set-hostname xxx

Loading...