From nobody Mon Oct 14 08:04:20 2024 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 4XRqWS5CGvz5ZP2Z for ; Mon, 14 Oct 2024 08:04:20 +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 4XRqWS3qSWz4bYV for ; Mon, 14 Oct 2024 08:04:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728893060; 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=/RT6gTxZBlK7AuFZ+GJceN3LJJHLb/lbLDIxvxoR/Es=; b=kVfnn4vxl9mSL/NUEjWtpgqleaoGRA9OdX/3O6SR1w81IFv1dxjjgvDGLguuLds4LDKIXY B2ddC1hnfKd2UBkOSr8wAneNN/Yr1/Ug6KfchIDTY8RzYgyvQibNZIcoOvAk5fb0TNizCJ 0WeYT6TK9ZhZjquEJ7Kq0cfcrBCg5IIKVERWxTvT+pmXn9r+/WIytq+FWmgxCu/1yZ3tiI BjjA/6opBt/UZyEgyKbyRjUBPVmvHIvnMHpF56kmxFynMJyO+YAeuyj2lh40aSP9oibhss MeS9w17yJm82lAtMYgAZrmJjFb5PWoVP8ZMIdpul4w0HNbJh1nXk70Wj5A14Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728893060; a=rsa-sha256; cv=none; b=cV1tZ6Axhn803e0rarhK/SQ9PKPMKWohba4qbhpzrzh/nrLF5CC0EcC+Ovoe1LeY5IpQ7q AGMQ3FN3Hq62OMH9LX2PEa1ZouHLS022uEpJYCIYzfQMrOpWHmx/oOvaoUhd1X9SYgEMBS xQMpo+veaQVtw+vMuYqg48YjmxbZ/PCN6oG+lgIed++pwHQF61OOWruthKlGmcq8y6xlBq CoE7jX7+xp7aVkjaXY65SqRD161i8jFpVy6w3tIa8fc3pIwCzxIox8wJmGLUlKDxWZXhfj T0CcMYHPFEgE4ZNbYFPqANqPiuXPcmpGsKCUQrylTdTdHj81RCsguOkzohW21A== 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 4XRqWS3LcrzTQ3 for ; Mon, 14 Oct 2024 08:04:20 +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 49E84KsU039974 for ; Mon, 14 Oct 2024 08:04:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49E84K7w039973 for bugs@FreeBSD.org; Mon, 14 Oct 2024 08:04:20 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 282073] newsyslog(8): options in /etc/defaults/rc.conf not consistent with /etc/crontab Date: Mon, 14 Oct 2024 08:04:20 +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.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282073 Bug ID: 282073 Summary: newsyslog(8): options in /etc/defaults/rc.conf not consistent with /etc/crontab Product: Base System Version: 13.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: michaelo@FreeBSD.org /etc/crontab says: > # Rotate log files every hour, if necessary. > 0 * * * * root newsyslog but /etc/defaults/rc.conf says: > newsyslog_enable=3D"YES" # Run newsyslog at startup. > newsyslog_flags=3D"-CN" # Newsyslog flags to create marked files This means that the behavior is different in the default setup and there is= no comment that the admin is supposed to sync them. There are several ways to solve that: * Add default flags to crontab and add comment that the admin needs to sync (ugly) * Run "service newsyslog onestart" (in case it has been disabled) from cron= tab to have it consistent with "> /dev/null" to omit the message hourly or remo= ve the message altogether --=20 You are receiving this mail because: You are the assignee for the bug.=