NetBSD Problem Report #58099

From www@netbsd.org  Tue Apr  2 04:00:11 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3F18D1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Apr 2024 04:00:11 +0000 (UTC)
Message-Id: <20240402040004.4415A1A923B@mollari.NetBSD.org>
Date: Tue,  2 Apr 2024 04:00:04 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: wpa_supplicant logs spurious ENOTTY errors
X-Send-Pr-Version: www-1.0

>Number:         58099
>Category:       bin
>Synopsis:       wpa_supplicant logs spurious ENOTTY errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 04:05:01 +0000 2024
>Last-Modified:  Thu Oct 10 15:19:23 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, 8, ...
>Organization:
The NetBSIoctl Foundation
>Environment:
>Description:
When wpa_supplicant starts, it logs spurious error messages like this:

Apr  2 03:56:18 nanocons wpa_supplicant[13476]: ioctl[SIOCG80211, op=16, arg_len=0]: Inappropriate ioctl for device

There appears to be no actual problem here -- I think it's just that wpa_supplicant is trying to apply 802.11 ioctls to non-802.11 network interfaces.  But it is harmful because it gives the misapprehension of buggy software and contributes to warning fatigue.
>How-To-Repeat:
service wpa_supplicant start
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/58099: wpa_supplicant logs spurious ENOTTY errors
Date: Tue, 2 Apr 2024 07:47:47 +0200

 On Tue, Apr 02, 2024 at 04:05:01AM +0000, campbell+netbsd@mumble.net wrote:
 > >Number:         58099
 > >Category:       kern
 > >Synopsis:       wpa_supplicant logs spurious ENOTTY errors

 This is not a "kern" problem, but a bug in wpa_supplicant, isn't it?

 Martin

Responsible-Changed-From-To: kern-bug-people->bin-bug-people
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Tue, 02 Apr 2024 14:18:23 +0000
Responsible-Changed-Why:
fixed category


Responsible-Changed-From-To: bin-bug-people->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Thu, 10 Oct 2024 15:19:23 +0000
Responsible-Changed-Why:
Take


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.