Skip to content

Config file format documentation #59

@fstachura

Description

@fstachura

Is the Landlock configuration file documented? I see that there is a jsonschema, which is useful, but I'm wondering if a more general human-readable description wouldn't also help (assuming I didn't miss anything).
I also believe it would be helpful for Island users, right now I had to reverse-engineer things a bit to figure out how to extend the default Island Landlock config.

At first I thought that maybe something could be automatically generated from the jsonschema file. I found a list of documentation generators on json-schema.org, but I'm not satisfied with examples provided with the any of the libraries.

Personally, I would suggest just manually extending the TOML configuration example. What's missing to me is a description of scope, accessNet and allowed values of all the enums.

If this would be useful, I can try to provide a patch soon.

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