Skip to content

Consider mounting /var/lib with exec and /var with noexec #347

Description

@cynicsketch

https://github.com/cynicsketch/nix-mineral/blob/e93e88feb772966e4dfd7b272ecb205f5ee95e42/filesystems/normal.nix#L161-L168

It is possible to mount /var/lib with the exec mount option independent of the top level /var in order to preserve the function of any software that keeps executables in /var/lib, whilst still reducing attack surface in the rest of /var.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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