From nobody Sat Aug 17 00:18:47 2024 X-Original-To: rc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wlzx32LxJz5TptS for <rc@mlmmj.nyi.freebsd.org>; Sat, 17 Aug 2024 00:18:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wlzx266Ywz4TNC for <rc@FreeBSD.org>; Sat, 17 Aug 2024 00:18:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723853926; a=rsa-sha256; cv=none; b=egQs+VpvixLZZPhAgUs6Tg9XDFLfHoW0k2a1/BCfIwFZjyOjShKzj9yoCz48BD9H/M6IEY p4GrEamRlsONesJzO42q0Q8JkNefzqrhFbnt8ASOq2BFeMqhAi5xle+Q/PJ2wUl2RVB08n HREKlp/QUeQ7wog/oDEYEx3s2ZCpeXlH9xyZ0yJR/8hXJ4C8CLNa1eTB4dtUqYagPwbAA+ hG4tAxPJMxNo91JW+tyaz5D+bqcAAL7PxbaNkCyWDCoENDswQOG3gBCRQtWHZzIU0Ddfgp pNpn80SUvtvNsOIDb7+xCXZTqqmLn+lYcvVyQz3e+UeJaLw4WlH6iblNPZvvQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723853926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xO1W3LjMkGS8L8iCYbX79xjr4f0xd2UHUvCRwcCtjTw=; b=dUyXrRHp2fz+iQOKYcsL2dI7UxTUK596x4AK6XywMBGbKbjySQFvrLRbjz4f68XP1GFHWt j0mHk4fsAU7hcyMci3p4e4hERgGWZo6M00rT57czCPxoJ9xyXXewE44EgBBr4x1938aU3A 3oOcmuV3LDG715CJ0aKfH3PAWp8aXW51iGILqdshKvqBuh6OqaXyZ8eWPD73uJnSb92pWt WnQ2bAeRADe7fSllzs7BEFMwqIJ0bZi/xKEJCePemcScowaRRAlcI88z92sHtU4vDGouRs xgm29+c+6LNci9D2K5QCLy/GMPgssOn+QmriqkdQ0lBC7Q72DDHxnJ7WLQpjyw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wlzx25kTkzSMN for <rc@FreeBSD.org>; Sat, 17 Aug 2024 00:18:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47H0IkYY010369 for <rc@FreeBSD.org>; Sat, 17 Aug 2024 00:18:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47H0IkpM010368 for rc@FreeBSD.org; Sat, 17 Aug 2024 00:18:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing Date: Sat, 17 Aug 2024 00:18:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: <bug-278306-20181-3tIaFsPe9K@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278306-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-278306-20181@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion related to /etc/rc.d design and implementation <freebsd-rc.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: <mailto:rc+help@freebsd.org> List-Post: <mailto:rc@freebsd.org> List-Subscribe: <mailto:rc+subscribe@freebsd.org> List-Unsubscribe: <mailto:rc+unsubscribe@freebsd.org> X-BeenThere: freebsd-rc@freebsd.org Sender: owner-freebsd-rc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278306 Bjoern A. Zeeb <bz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |bz@FreeBSD.org --- Comment #8 from Bjoern A. Zeeb <bz@FreeBSD.org> --- (In reply to Chris Hutchinson from comment #7) Chris: that does specify a default policy I wouldn't be comfortable with as= any (rogue) AP w/o authentication will be taken if I read it right and that gets your laptop randomly on networks. bsdinstall should create a wpa_supplicant.conf on install if I am not mista= ken if the wlan interface gets configured (I know for some other pre-reqs may be needed which we do not yet have); in theory if someone would finish it bsdconfig would also configure it. A user specifying WPA in rc.conf as a meta-flag will also have to provide a wpa_supplicant.conf file as otherwise it is pointless. I think we got de-railed from the actual problem; even if wpa_sipplicant d= oes not start the configuration of the wlan interface should continue and be brought UP. Gleb: I wonder if it is actually the error of wpa_supplicant not starting or the fact that only meta keywords (WPA DHCP) were given. I wonder what happ= ens if a use would say: ifconfig_wlan0=3D"up WPA DHCP" That may likely suffice the original request that the interface be brought = up so that scan results are usefully available? --=20 You are receiving this mail because: You are the assignee for the bug.=