Skip to content

Warnings for non-existing path_beneath.parent entries in default configuration #12

Description

@oxzi

The island-default-base.toml configuration, copied to each profile, has an /sbin entry in path_beneath.parent. On NixOS, there is no /sbin. Within zsh, every command generates a warning due to the absence of /sbin.

$ true
Warning: failed to open "/sbin": No such file or directory (os error 2)

However, when editing the profile's island-default-base.toml and removing /sbin from the list, another warning is shown, suggesting to update the default configuration.

$ true
Warning: /home/[…]/.config/island/profiles/[…]/landlock/island-default-base.toml is not the latest version. Run "island update" to fix it.

As a workaround, I have created an empty /sbin directory. However, would it be possible to manually specify a default configuration? Or to silence such warnings?

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