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

chattr: setting flags on /etc/shadow: Operation not permitted #34

Open
pizzapim opened this issue Sep 8, 2024 · 1 comment
Open

chattr: setting flags on /etc/shadow: Operation not permitted #34

pizzapim opened this issue Sep 8, 2024 · 1 comment

Comments

@pizzapim
Copy link
Contributor

pizzapim commented Sep 8, 2024

On multiple of the examples, I see the following error:

$ docker run -it nixng-apache
Running fragment cacerts
Running fragment createBaseEnv
Running fragment currentSystem
Running fragment iana
Running fragment runit
Running fragment shellProfile
Running fragment tzdata
Running fragment users
chattr: setting flags on /etc/shadow: Operation not permitted
<--- Stage 2.2 --->

It does look like the containers works correctly though!

@MagicRB
Copy link
Collaborator

MagicRB commented Sep 8, 2024

Yeah it appears to be a thing with rootless containers, the /etc/shadow file is somehow more protected. Haven't looked into it as the containers work as expected, as you have noticed :)

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

2 participants