Skip to content

inithooks init-fence not functioning #2085

@JedMeister

Description

@JedMeister

The TurnKey init-fence (part of inithooks) is not working.

Part of the issue is that the default config file uses bash arrays but the EnvironmentFile in the service is loaded as a string. That has been addressed in turnkeylinux/inithooks#70.

The other part of the issue is that simplehttpd.py (minimalist web server which serves the page displayed when the fence is enabled) is being called. I had a quick look at that, but simplehttpd.py doesn't work as I expected.

Further consideration makes me inclined to refactor the whole thing and combine all functionality into a single script (i.e. the init-fence executable and the simplehttpd.py script). AFAIK we aren't using simplehttpd.py anywhere else so that probably makes sense?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions