linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* systemd-rfkill regression on 5.11 and later kernels
@ 2021-03-18  8:27 Takashi Iwai
  2021-03-18  9:26 ` Emmanuel Grumbach
  2021-03-18  9:36 ` Johannes Berg
  0 siblings, 2 replies; 8+ messages in thread
From: Takashi Iwai @ 2021-03-18  8:27 UTC (permalink / raw)
  To: Emmanuel Grumbach; +Cc: linux-wireless, linux-kernel

Hi,

we've received a bug report about rfkill change that was introduced in
5.11.  While the systemd-rfkill expects the same size of both read and
write, the kernel rfkill write cuts off to the old 8 bytes while read
gives 9 bytes, hence it leads the error:
  https://github.com/systemd/systemd/issues/18677
  https://bugzilla.opensuse.org/show_bug.cgi?id=1183147

As far as I understand from the log in the commit 14486c82612a, this
sounds like the intended behavior.  But if this was implemented in
that way just for the compatibility reason, it actually is worse,
introducing a regression. 

Although this can be addressed easily in the systemd side, the current
kernel behavior needs reconsideration, IMO.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-19 22:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  8:27 systemd-rfkill regression on 5.11 and later kernels Takashi Iwai
2021-03-18  9:26 ` Emmanuel Grumbach
2021-03-18  9:36 ` Johannes Berg
2021-03-18 10:07   ` Takashi Iwai
2021-03-18 10:50     ` Johannes Berg
2021-03-18 11:11       ` Takashi Iwai
2021-03-18 11:16         ` Johannes Berg
2021-03-19 22:15           ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).