Bug#815934: rfkill state not restored after reboot

Josua Mayer josua.mayer97 at gmail.com
Thu Feb 25 22:23:31 GMT 2016


Package: systemd
Version: 215-17+deb8u3
Severity: normal

Dear Maintainers,

I noticed that rfkill state for both wifi and bluetooth is not restored
on reboots on Hummingboard and Cubox-i.

1) Let me focus on wifi first:
The behaviour I see is:
it always starts up soft-blocked no matter if I unblocked it before
rebooting, or not.
In /var/lib/systemd/rfkill a state-file is created which shows 1 if wifi
was blocked before last reboot, and 0 if it was unblocked.

So I conclude that saving the state works fine.
So I investigated the status of systemd-rfkill at rfkill0.service, and
found that its reported to have exited without error.

--> I guess that systemd tries to restore therfkill state too early,
that is before the actual rfkill device / wifi device is properly
initialized. (is this #809323 ?)

There is still a ghost around here, as I got the state restored properly
at least once now, without changing *anything* at all.

2) Bluetooth:
There is no state-file created in /var/lib/systemd/rfkill for the
bluetooth device.
But I should add that this specific bluetooth chip requires manualy
loading firmware from userspace, and only then it comes up.

br
Josua Mayer

-- Package-specific info:

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.14.60-fslc-imx6-sr (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-59
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-6
ii  libc6           2.19-18+deb8u3
ii  libcap2         1:2.24-8
ii  libcap2-bin     1:2.24-8
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.3-2+deb8u1
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1+deb8u1
ii  libselinux1     2.3-2
ii  libsystemd0     215-17+deb8u3
ii  mount           2.25.2-6
ii  sysv-rc         2.88dsf-59
ii  udev            215-17+deb8u3
ii  util-linux      2.25.2-6

Versions of packages systemd recommends:
ii  dbus            1.8.20-0+deb8u1
ii  libpam-systemd  215-17+deb8u3

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list