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

Should ownerships and perms of Runtime/Logs/Cache directories be preserved between ExecStartPre's and ExecStart's ? #12722

Open
fbuihuu opened this issue Jun 3, 2019 · 7 comments

Comments

@fbuihuu
Copy link
Contributor

fbuihuu commented Jun 3, 2019

This is a grey area as nothing in the documentation clearly describes what the expected behavior should be.

That might explain why the behavior changed a couple of times already: an attempt to make it persistent was done via 30c81ce in order to fix https://bugzilla.redhat.com/show_bug.cgi?id=1508495 (which is likely to be re-opened BTW) and was later changed by 0bf05f0...

It would be nice if we could agree on definitive behavior for good.

@poettering
Copy link
Member

hmm, yeah, @keszybz opinion?

@poettering
Copy link
Member

/cc @taro-yamada @jcaamano

@poettering
Copy link
Member

/cc @yuwata

@fbuihuu
Copy link
Contributor Author

fbuihuu commented Dec 9, 2019

Hi guys, can we please clarify this grey area ? Thanks.

@poettering
Copy link
Member

I think what is configured should always win, i.e. be enforced every time we fork something off.

@fbuihuu
Copy link
Contributor Author

fbuihuu commented Dec 11, 2019

OTOH it seems that users might expect that it should be done only once by PID1 before something is forked off.

@fbuihuu
Copy link
Contributor Author

fbuihuu commented Jan 8, 2021

ping

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

No branches or pull requests

2 participants