From nobody Sat Oct 08 09:51:47 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 4Ml0nb721zz4f1Ms for ; Sat, 8 Oct 2022 09:51: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ml0nb4PpZz3R39 for ; Sat, 8 Oct 2022 09:51:47 +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 4Ml0nb3SFNzvBg for ; Sat, 8 Oct 2022 09:51:47 +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 2989plBi035006 for ; Sat, 8 Oct 2022 09:51:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2989plEk035005 for bugs@FreeBSD.org; Sat, 8 Oct 2022 09:51:47 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 266901] Backup gpart script runs even it is disabled in periodic.conf inside jails Date: Sat, 08 Oct 2022 09:51:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sgubdsbeerf@asmco.de 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=1665222707; 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=jxP+Py3cBPowN6D8Hq5ZIrgqoSz6qeCIQ8zqg2uXRa0=; b=jOX+nYEe2ogPG7gRQ5gedafH3+jSiJhUw1D/vfSjShs74doqbsLsYeE4p0fOJWa7XX7Z+N YPy99Fk3i0X7UOSpQB+ZUmwiP62n8OR6zc8xlDs0QO2OOeOMUcsaPI3rcGshx/FfkJ3JL4 v9W/Ho4h6WAnRuI+ghx/RBTMS5Reov+XYl5uJOyXEdhoxBRL4YKjsCVCE7Oaov+3OArKHN gkTyiDHEskgQUVfekCYs5MDsc1+HLvAT1sHSVJmDvElCUHcsTZuPnalAffkbRjRljs2at/ UxgHjUXgZTdXnMlMHuSRSzb8xopOt5sp1qzTDCe5pvBxdqTH3haAXS6n+4s6Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665222707; a=rsa-sha256; cv=none; b=dpF1OqsyZKotfKizD/CKTb3r13WfbwEks51O2YvI1nJNm+FOaYUiaxwjkBZDoSNdoXjn5A oPrBnsYkXBSgflVRhNVcbLCFv4fKL281BdFkW+09X2JRgccPYFFkNMfH5c6uRJGra6Yh3e LZdjIgh4qI2qeswkV14ES2rMQ9bfTtXjLltQwnCi9jK1nlgnI8FNofcXtU0MT3QDOkHGXP JgdhLau+fUIinQ10cPMt9JWNC9NJbkiXq68wfuPzmprP/kIf0hNX14rPbNPMsoMmu40kzi OW9QXPEwvI9WWWNA3yj/7YSeUqkJLNlrSoOgi4dAAtKrZZ2lE0nyYraQcpdK/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266901 Bug ID: 266901 Summary: Backup gpart script runs even it is disabled in periodic.conf inside jails Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: sgubdsbeerf@asmco.de What is happening? I get daily mails from inside my jails with content like "Backup of partitions information for" or "Backup of MBR record" with the error message "No such file or directory". I think this is because there is no MBR to backup inside a jail. I disabled backing up MBR in periodic.conf but it seems to run nevertheless. This seems to start after the last patch level update. What do I expect to happen? Not to run if it is disabled. How to reproduce? Set daily_backup_gpart_enable to NO in /etc/periodic.conf inside a jail and monitor the periodic script output. Further information $ grep -R "Backup of partitions information for" /etc/periodic/ /etc/periodic/daily/221.backup-gpart: echo "Backup of partitions information for:"; $ grep -R "Backup of MBR record" /etc/periodic/ /etc/periodic/daily/221.backup-gpart: echo "Backup of MBR record:" $ grep backup_gpart /etc/periodic.conf daily_backup_gpart_enable=3D"NO" --- Periodic output ---=20 Dump of kern.geom.conftxt: Backup of partitions information for: mmcsd0 mmcsd0s2 Backup of MBR record: mmcsd0 mv: rename /var/backups/boot.mmcsd0.tmp to /var/backups/boot.mmcsd0.bak: No such file or directory --=20 You are receiving this mail because: You are the assignee for the bug.=