Skip to content

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

@vazub

Description

@vazub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions