Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing flags...Error: lchflags(/usr/bin/su): errno 1 #6

Open
kravietz opened this issue Jan 7, 2025 · 0 comments
Open

Clearing flags...Error: lchflags(/usr/bin/su): errno 1 #6

kravietz opened this issue Jan 7, 2025 · 0 comments

Comments

@kravietz
Copy link

kravietz commented Jan 7, 2025

Getting this on 14.2 upgrade:

# freebsd-rustdate install
Installing pending upgrade from 14.1-RELEASE-p6 to 14.2-RELEASE
Checking required files are present...   5581 hashfiles...  Ok.
Creating snapshot of existing boot environment: (14.1-RELEASE-p6_2025-01-07_113636)...  Done.
Checking file flags (7649 paths to scan)
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 0s 7,649/7,64912 +schg files found.  Clearing flags...Error: lchflags(/usr/bin/su): errno 1

Likely caused by this:

# sysctl kern.securelevel
kern.securelevel: 1

For contrast, freebsd-update will refuse to run when kern.securelevel > 0, likely to prevent such issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant