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

Tmpfiles: few improvements #805

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

ptoscano
Copy link
Contributor

@georgehansper
Copy link
Member

#795 mentions the ^ and ~ notation in the systemd source

I can't see any mention of the : notation for the mode or the man page for tmpfiles.d

Can you please let me know where this new form is coming from?

@ptoscano
Copy link
Contributor Author

ptoscano commented Mar 6, 2023

I can't see any mention of the : notation for the mode or the man page for tmpfiles.d

Can you please let me know where this new form is coming from?

It is documented in the man page:
https://github.com/systemd/systemd/blob/25e12db5e4c0edf29c4d020b825a8d667a3aa8a3/man/tmpfiles.d.xml#L550-L552

lenses/tmpfiles.aug Outdated Show resolved Hide resolved
lenses/tmpfiles.aug Show resolved Hide resolved
lenses/tmpfiles.aug Outdated Show resolved Hide resolved
Allow an equal sign, a tilde character and/or a caret for the type
specification:
- equal: strict file type enforcing
- tilde: base64-encoded content in the argument
- caret: credential name in the argument

Fixes: hercules-team#795
Represents a mode to be set only for new inodes.
@georgehansper georgehansper merged commit 41b2a33 into hercules-team:master Mar 24, 2023
@ptoscano ptoscano deleted the tmpfiles-improvements branch March 24, 2023 10:31
@lersek
Copy link
Contributor

lersek commented Mar 24, 2023

@ptoscano thank you very much Pino!

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

Successfully merging this pull request may close these issues.

tmpfiles lens: support for caret notation
3 participants