From nobody Tue Dec 28 11:53:33 2021 X-Original-To: bugs@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 905CC1919D0C for ; Tue, 28 Dec 2021 11:53:33 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNXx92Pf9z3n6y for ; Tue, 28 Dec 2021 11:53:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 3326110FD8 for ; Tue, 28 Dec 2021 11:53:33 +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 1BSBrXtu069762 for ; Tue, 28 Dec 2021 11:53:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BSBrX2d069761 for bugs@FreeBSD.org; Tue, 28 Dec 2021 11:53:33 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: bugs@FreeBSD.org Subject: [Bug 182150] Moused start up with moused_enable="NO" into rc.conf Date: Tue, 28 Dec 2021 11:53:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olevole@olevole.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640692413; 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=2d20RpSElFlOu+tdaeCbXwNYO920q5B1Eu65hC5/xDc=; b=Hn8NoXFRkkEVFNZJ/58ASpjrIAk+TMCv/Fm3YpSt6HD+xOYrHMjXIjGphN+vgBKPYml8S5 2fY0Sypb/7Emy/iHd58Is6ppfN0uq74vozkWb09mYqLHXkW+Q5+pSq+jAdBsO4NUirC+2T HK1HpQll0Tvwq5RxyVzrUe3/L6s/yR8DMa8CU0cUcJVIwXKnwZ4oCGzitfzGtlOR6kx4k/ Pl5auB8evMcLenyKH1luOOShq4syxJVbIKkMsOE6qCVYqXap/lqH7M2tT+g5zMVletZDJh UxSMkmDXwgifV5Hy3whqaXIZQoAYvo9a+d5c6cXMb9rXjt95NzXvB0wlk7m3kA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640692413; a=rsa-sha256; cv=none; b=he7LW0T/KVSCACnqMrMmI1OvaO9Z16hd3kJ/Vr0MlsgTAogcoQ9+34yQ5VdTYktdejfMp4 /y7ApD+FUUuIFH7gK0lfuaqEU0xq0LD1nK85BHslFNcgzL9n1mLsG91IcdDJ1J+0OzrRUd 3jAq3WWnVBF0dE6chpastIXmSvIRX32BYicBbaId9TCy8tWWcAMgQECyRBmzKhkxEr6cVy +h4PvKBT2LNOUdEdHKyg/RMekfAfwRvY+GSvt1YzoEOHLYd95YjXiUs1OIP4aBUOBLTFrT fNmkR5JjYCEYzTzOrS97E14hN6Rv/N3Vfnh7mxbK7tokLzYrUJqqQE5i2FLbuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D182150 --- Comment #2 from Oleg Ginzburg --- The correct setting for disabling moused, mentioned in `man rc.conf`: moused_nondefault_enable=3D"NO" More details: /etc/devd.conf: -- notify 100 { match "system" "DEVFS"; match "subsystem" "CDEV"; match "type" "CREATE"; match "cdev" "atp[0-9]+"; action "service moused quietstart $cdev"; }; notify 100 { match "system" "DEVFS"; match "subsystem" "CDEV"; match "type" "CREATE"; match "cdev" "ums[0-9]+"; action "service moused quietstart $cdev"; }; notify 100 { match "system" "DEVFS"; match "subsystem" "CDEV"; match "type" "CREATE"; match "cdev" "wsp[0-9]+"; action "service moused quietstart $cdev"; }; -- /etc/rc.d/moused processing when additional args passed: -- if [ -n "$2" ]; then eval moused_$2_enable=3D\${moused_$2_enable-${moused_nondefault_ena= ble}} rcvar=3D"moused_${2}_enable" pidfile=3D"${pidprefix}.$2.pid" pidarg=3D"-I $pidfile" fi -- This is an opportunity for multiport configurations. Therefore, a complete disabling of the 'moused' service should be done thro= ugh: sysrc moused_enable=3DNO sysrc moused_nondefault_enable=3DNO or per port: sysrc moused_ums0_enable=3DNO --=20 You are receiving this mail because: You are the assignee for the bug.=