From nobody Mon Oct 31 13:55:32 2022 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 4N1F6D4SkJz4gHWF for ; Mon, 31 Oct 2022 13:55:32 +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 4N1F6D1vKQz3Kvh for ; Mon, 31 Oct 2022 13:55:32 +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 4N1F6D0zLszfHT for ; Mon, 31 Oct 2022 13:55:32 +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 29VDtWZh009360 for ; Mon, 31 Oct 2022 13:55:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29VDtWIF009359 for bugs@FreeBSD.org; Mon, 31 Oct 2022 13:55:32 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 267464] periodic 310.accounting enables accounting even if it is disabled in rc.conf Date: Mon, 31 Oct 2022 13:55:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: iasen.kostov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1667224532; 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; bh=hdmGiV78HVP2ejoCzjqJZx7+k3PmfpPdpYoRcQ94sMs=; b=Q+c1803t68O+qiS+WPwO1KmbGg1QyHnb4Hs1NT6J5hvNew4PXZQB8XnbMVvHO4JhybIWDB AT9AzX2HxoJLPDdv1CVRKq+yYDVats77jTT72xa9qq658/t77eT06OmfjpTzi5ygBsSC1w t84XOuyUX2J2EuG/LECG6LDbsWnUDR6yJVpWep9IHtHUUx+Pfugvv+kvLgCCkeN/7Hh1E6 Ffs/Eqc7nw2rr1up2oU4jpnSoT+AHX4+ycBXFRmhsA5i81H8WQjYA0XDIH1HgnFFWjdEdt t3OtmdxNno0tXCTj+VJfmJD036Cj2gsJjJ11b0dG5Sl+RlAASViE4R6kRBHjbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667224532; a=rsa-sha256; cv=none; b=Zn2IujogsEhj53xkQMTgO9h2l00uxxPqH4ff/0LJHlrDHWwlEXp5LCxuhnmSrZAwfywW9K VZkUMJ3tz/do4wGWpbhoDZUc2WrBokMbPnRSUj7cBQdo5HDrzNR+l7uOlejilnRtF2hfL7 J+6336L2+AG38XXlS3eMzrJW8RvZkXZ1b4Y/7UNCEkLlBCveaPOyBhihDoNK5Zw6T8Q4y4 uuT2tKC5Dlb0rVxhO4F183Ag2spkodoJ/DDDMHQvVBwo35FoxrXwzhJ2j5OKj/ywSWaJuG 6M6Fhh0GCucE2HN/IGQVTbLo3Ak129sbOAAmpQ9ZR2LG43Pd7xQIJUSex9h7RQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267464 Bug ID: 267464 Summary: periodic 310.accounting enables accounting even if it is disabled in rc.conf Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: iasen.kostov@gmail.com Even when accounting_enable=3D"NO" in /etc/rc.conf the periodic /etc/periodic/daily/310.accounting enables it every day at 3:00. The service /etc/rc.d/accounting checks for "if checkyesno accounting_enable" but it is useless because in 310.accouting is used /etc/rc.d/accounting onerotate_log= and "one" forces accounting_enable=3D"YES" What is the purpose of forcing the accounting with the "one" ? And is there= a way of fixing that other than pulling in /etc/defaults/rc.conf into 310.accounting and checking for accounting_enable=3D"YES" ? Currently a temporary workaround should be setting daily_accounting_enable= =3D"NO" in /etc/periodic.conf but that bug should be fixed because that behavior is unexpected (and i don't think it is documented as it is wrong) and servers should not behave unexpectedly. --=20 You are receiving this mail because: You are the assignee for the bug.=