troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
634 stars 63 forks source link

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

Open vazub opened 10 months ago

vazub commented 10 months ago

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

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 commented 10 months ago

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 commented 10 months ago

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.