From nobody Mon Jan 03 23:30:57 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 95107193B865 for ; Mon, 3 Jan 2022 23:30:58 +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 4JSX755NmZz4gRj for ; Mon, 3 Jan 2022 23:30:57 +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 7CD8B5FE2 for ; Mon, 3 Jan 2022 23:30:57 +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 203NUvP0032460 for ; Mon, 3 Jan 2022 23:30:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 203NUvbn032459 for bugs@FreeBSD.org; Mon, 3 Jan 2022 23:30:57 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 260915] etcupdate extract fails with securelevel=2 Date: Mon, 03 Jan 2022 23:30:57 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: antonfb@hesiod.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641252657; 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=z7ysXI/6qp35gjttMNt4w8vKMTrXpUlPWJxWByvrluA=; b=kjP8EtsJLWSKVETLp9Igpkft5OCicqF3kZqLm6agXQouY3CaVNVSN5muWFu36zUTyxgvmw gqz6Wh4F+hGgricj3rZwYvFU8Hv+9/B6C5JqzY6E4KK8GPDkegEt4CjYwd+aF/dJ6QNtKq Fym7/zx2AgeSL1/CVdBTbfHHYyMRXfSSfiLR6UzqziYKvawr/HHJUZgwg9eNx8lfZZ/tG+ DuRzDGyDYgaxL0zER6H0r9ivZKcgcCHo6jxptcD9JyituLP5UBrAdzLRDvunYIZvLBCVcx McOAgv9YB9o7/U2S/oGD2Q9mQYUJsXtNsfsYWysNTC8EamXkYrHf/6gidgbOvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641252657; a=rsa-sha256; cv=none; b=wcM6HOeFEzOIiUTJppRASuyJag4Z6hQbxMFy5sS+XP9R+gVZjw/WjvL0VOYhZ7rt7u/b6V Fm6ZlcGmGvq/N68d810h4A87CL6ckQrP65OOuTvavq0GXZRO2QjxblAaL+V/OAQjZKxFL5 fM/qYhk6TOZz1UDkhBlJNJw5SZuDiIwlBS6NKmuIVD6dL77GT6lIkFiCn1uWNKeV0mkEJf U5xVFLU0BN6u4IS0yVBCL3zRoNQ1KH2ri+YQrtBHXdZJFOXMt1zrZziYaMus7u1s7Ar8Il +AlETPr/twfaRZhysJ8R/HTV/UlBOiHEDL3Hinic18XW2e0l/kux9tcq4/xSGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260915 Bug ID: 260915 Summary: etcupdate extract fails with securelevel=3D2 Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: antonfb@hesiod.org Machine is set at kern_securelevel=3D2 in /etc/rc.conf etcupdate extract errors.... paris.hesiod.org:root[2]: etcupdate extract Failed to build new tree. paris.hesiod.org:root[12]: cat log >>> extract command: tarball=3D rm: /var/db/etcupdate/current/var/empty: Operation not permitted rm: /var/db/etcupdate/current/var: Directory not empty rm: /var/db/etcupdate/current: Directory not empty chflags: /var/db/etcupdate/current/var/empty: Operation not permitted rm: /var/db/etcupdate/current/var/empty: Operation not permitted rm: /var/db/etcupdate/current/var: Directory not empty rm: /var/db/etcupdate/current: Directory not empty etcupdate extract and other commands should function under securelevels. etcupdate (no args or resolve) is generally run single user and is ok becau= se securelevel is not set. etcupdate seems not ready for production and general use --=20 You are receiving this mail because: You are the assignee for the bug.=