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

Examine using flock on temporary directories #1012

Open
bcl opened this issue May 5, 2020 · 1 comment
Open

Examine using flock on temporary directories #1012

bcl opened this issue May 5, 2020 · 1 comment
Assignees
Labels

Comments

@bcl
Copy link
Contributor

bcl commented May 5, 2020

systemd now uses flock to skip cleaning up files in subdirectories (see commit systemd/systemd@52b32b2 and systemd/systemd#11482) so it is probably a good idea to use flock on the top level tmpdirs that lorax and livemedia-creator use to prevent surprises that aren't caught by the lorax.conf tmpfiles config file.

@bcl bcl added the master label May 5, 2020
@bcl bcl self-assigned this May 5, 2020
@bcl
Copy link
Contributor Author

bcl commented Sep 7, 2021

NOTE: lorax already does this. livemedia-creator does not.

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

No branches or pull requests

1 participant