Skip to content

asset_path with SELinux label #1596

@bugthing

Description

@bugthing

I am using Kamal to deploy to a Fedora CoreOS server which uses SELinux.

Volume mounts are required to have a :z or :Z on the end so SELinux does not deny access.

I can not find a way to tell Kamal to apply the :z to the end of the asset_path, if I just add it (as i do for volumes:), it treats it as part of the path

Could not find the file /rails/public/assets:z/. in container

I had a quick hunt about the source but could not see a way this would be possible.

I there an existing way to specify this?

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