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.d feature does not work for statically-linked Finit et al. #394

Open
vazub opened this issue Jan 25, 2024 · 2 comments
Open

tmpfiles.d feature does not work for statically-linked Finit et al. #394

vazub opened this issue Jan 25, 2024 · 2 comments

Comments

@vazub
Copy link

vazub commented Jan 25, 2024

As the title says, when building Finit binaries statically linked, tmpfiles.d feature is not working, namely:

  • the temporary dirs are not getting created according to config rules
  • finit.debug=true log does not show any activity with regard to required files/dirs management

Tracking the issue down revealed, that the required functionality is managed by bootmisc module, that does not seem to get initialized, even though it was compiled and linked statically into the final binary.

When linked dynamically, the issue is not observed.

Finit versions tested: 4.4, 4.5, 4.7
Distro: custom

@troglobit
Copy link
Owner

Thank you for the report!

As I'm not an active user of the static build myself, and unfortunately never have been. This issue is a great example of where this project needs active help from the community to debug, fix, to help keep the static build alive. Otherwise it will likely have to be removed. Yes, this means I'm willing to (happily) reconsider what I said in #368.

@vazub
Copy link
Author

vazub commented Jan 26, 2024

I'll see what I can do, but alas, I do not specialize in C programming per se, and therefore it will take me quite a while to get up to speed with it, unless I find the bug to be rather trivial. We will see.

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