Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2022 23:30:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260915] etcupdate extract fails with securelevel=2
Message-ID:  <bug-260915-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260915-227>