community/iwd - Segfault after updating to 2.2 on linux-lts 6.1.8
Hi,
after updating my edge install to iwd 2.2 (simultaneously with the update to linux-lts 6.1.8) iwd does not start with a segfault in /var/log/messages
Only after the second boot something showed up in /var/log/messages
:
Jan 24 12:54:04 machine kern.info kernel: [ 27.653014] traps: iwd[2379] gene
ral protection fault ip:7fd3de313b8e sp:7fff6b1c0508 error:0 in ld-musl-x86_64.s
o.1[7fd3de302000+4b000]
Jan 24 12:54:04 machine daemon.info iwd: Wireless daemon version 2.2
Jan 24 12:54:04 machine daemon.info iwd: Loaded configuration from /etc/iwd/ma
in.conf
Jan 24 12:54:04 machine daemon.info iwd: station: Network configuration is dis
abled.
Jan 24 12:54:05 machine daemon.info chronyd[2799]: chronyd version 4.3 startin
g (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SIGND +ASYNCDNS +NTS +SECHAS
H +IPV6 -DEBUG)
Jan 24 12:54:05 machine kern.info kernel: [ 28.248910] traps: iwd[2741] gene
ral protection fault ip:7f726ce3bb8e sp:7ffc975069c8 error:0 in ld-musl-x86_64.s
o.1[7f726ce2a000+4b000]
First boot /var/log/rc.log
:
Click to expand
rc sysinit logging started at Tue Jan 24 12:48:55 2023
OpenRC 0.46 is starting up Linux 6.1.8-0-lts (x86_64)
* /proc is already mounted
* Mounting /run ...
* /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
* Remounting devtmpfs on /dev ...
[ ok ]
* Mounting /dev/mqueue ...
[ ok ]
* Mounting security filesystem ...
[ ok ]
* Mounting debug filesystem ...
[ ok ]
* Mounting persistent storage (pstore) filesystem ...
[ ok ]
* Mounting efivarfs filesystem ...
[ ok ]
* Starting udev ...
[ ok ]
* Generating a rule to create a /dev/root symlink ...
[ ok ]
* Populating /dev with existing devices through uevents ...
[ ok ]
* Waiting for uevents to be processed ...
[ ok ]
rc sysinit logging stopped at Tue Jan 24 12:48:55 2023
rc boot logging started at Tue Jan 24 12:48:55 2023
* Starting AppArmor ...
* Loading AppArmor profiles ...
[ ok ]
* Loading modules ...
[ ok ]
* Setting system clock using the hardware clock [UTC] ...
[ ok ]
* Checking local filesystems ...
/dev/mapper/nvme0n1p2.vg-root: clean, 349539/60899328 files, 28937796/243595264 blocks
[ ok ]
* Remounting root filesystem read/write ...
[ ok ]
* Remounting filesystems ...
[ ok ]
* Activating swap devices ...
[ ok ]
* Mounting local filesystems ...
[ ok ]
* Configuring kernel parameters ...
sysctl: error: '-vm/unprivileged_userfaultfd' is an unknown key
[ ok ]
* Creating user login records ...
[ ok ]
* Setting hostname ...
[ ok ]
* /run/dbus: creating directory
* /run/dbus: correcting owner
* Starting System Message Bus ...
[ ok ]
* Starting iwd ...
[ ok ]
* Starting busybox syslog ...
[ ok ]
* Starting busybox klogd ...
[ ok ]
* Setting keymap ...
[ ok ]
* Loading nftables rules and starting firewall ...
[ ok ]
* Starting networkmanager ...
[ ok ]
* Seeding random number generator ...
* Seeding 256 bits and crediting
* Saving 256 bits of creditable seed for next boot
[ ok ]
* Checking /etc/unbound/unbound.conf ...
[ ok ]
* Starting unbound daemon ...
[ ok ]
rc boot logging stopped at Tue Jan 24 12:48:56 2023
rc default logging started at Tue Jan 24 12:48:56 2023
* Stopping openrc-settingsd ...
[ ok ]
* Starting iwd ...
[ ok ]
* Starting busybox acpid ...
[ ok ]
* Starting iwd ...
* start-stop-daemon: /usr/libexec/iwd died
* Failed to start iwd
[ !! ]
* ERROR: iwd failed to start
* Starting chronyd ...
[ ok ]
* Starting Display Manager ...
[ ok ]
* Starting virtlogd ...
[ ok ]
* Starting libvirtd ...
[ ok ]
rc default logging stopped at Tue Jan 24 12:49:12 2023
Second boot /var/log/rc.log
:
Click to expand
rc sysinit logging started at Tue Jan 24 12:54:03 2023
OpenRC 0.46 is starting up Linux 6.1.8-0-lts (x86_64)
* /proc is already mounted
* Mounting /run ...
* /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
* Remounting devtmpfs on /dev ...
[ ok ]
* Mounting /dev/mqueue ...
[ ok ]
* Mounting security filesystem ...
[ ok ]
* Mounting debug filesystem ...
[ ok ]
* Mounting persistent storage (pstore) filesystem ...
[ ok ]
* Mounting efivarfs filesystem ...
[ ok ]
* Starting udev ...
[ ok ]
* Generating a rule to create a /dev/root symlink ...
[ ok ]
* Populating /dev with existing devices through uevents ...
[ ok ]
* Waiting for uevents to be processed ...
[ ok ]
rc sysinit logging stopped at Tue Jan 24 12:54:03 2023
rc boot logging started at Tue Jan 24 12:54:03 2023
* Starting AppArmor ...
* Loading AppArmor profiles ...
[ ok ]
* Loading modules ...
[ ok ]
* Setting system clock using the hardware clock [UTC] ...
[ ok ]
* Checking local filesystems ...
/dev/mapper/nvme0n1p2.vg-root: clean, 349543/60899328 files, 28937778/243595264
blocks
[ ok ]
* Remounting root filesystem read/write ...
[ ok ]
* Remounting filesystems ...
[ ok ]
* Activating swap devices ...
[ ok ]
* Mounting local filesystems ...
[ ok ]
* Configuring kernel parameters ...
sysctl: error: '-vm/unprivileged_userfaultfd' is an unknown key
[ ok ]
* Creating user login records ...
[ ok ]
* Setting hostname ...
[ ok ]
* /run/dbus: creating directory
* /run/dbus: correcting owner
* Starting System Message Bus ...
[ ok ]
* Starting iwd ...
[ ok ]
* Starting busybox syslog ...
[ ok ]
* Starting busybox klogd ...
[ ok ]
* Setting keymap ...
[ ok ]
* Loading nftables rules and starting firewall ...
[ ok ]
* Starting networkmanager ...
[ ok ]
* Seeding random number generator ...
* Seeding 256 bits and crediting
* Saving 256 bits of creditable seed for next boot
[ ok ]
* Checking /etc/unbound/unbound.conf ...
[ ok ]
* Starting unbound daemon ...
[ ok ]
rc boot logging stopped at Tue Jan 24 12:54:04 2023
rc default logging started at Tue Jan 24 12:54:04 2023
* Stopping openrc-settingsd ...
[ ok ]
* Starting iwd ...
[ ok ]
* Starting busybox acpid ...
[ ok ]
* Starting chronyd ...
[ ok ]
* Starting Display Manager ...
[ ok ]
* Starting virtlogd ...
[ ok ]
* Starting libvirtd ...
[ ok ]
rc default logging stopped at Tue Jan 24 12:54:20 2023
rc-status --all:
Runlevel: nonetwork
Runlevel: boot
apparmor [ started ]
hostname [ started ]
modules [ started ]
hwclock [ started ]
swap [ started ]
sysctl [ started ]
bootmisc [ started ]
iwd [ crashed ]
syslog [ started ]
klogd [ started ]
nftables [ started ]
networkmanager [ started 00:23:53 (0) ]
unbound [ started 00:23:51 (1) ]
loadkmap [ started ]
seedrng [ started ]
Runlevel: default
gdm [ started 00:23:38 (0) ]
udev-postmount [ started ]
acpid [ started ]
chronyd [ started ]
libvirtd [ started ]
Runlevel: sysinit
dmesg [ started ]
devfs [ started ]
udev [ started ]
udev-trigger [ started ]
udev-settle [ started ]
Runlevel: shutdown
savecache [ stopped ]
killprocs [ stopped ]
mount-ro [ stopped ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
sysfs [ started ]
fsck [ started ]
root [ started ]
localmount [ started ]
dbus [ started ]
virtlogd [ started ]
Dynamic Runlevel: manual
Thank you!