Skip to content

[Question] [lxc] possible to use fscrypt inside a Linux Container (lxc) #211

@graysky2

Description

@graysky2

I'd like to use fscrypt within a Linux Container (LXC) to encrypt a directory therein. I'm finding that the user space util, fscrypt does not like the fact that it is containerized. For example, I start the container and ssh into it:

# fscrypt setup
Defaulting to policy_version 2 because kernel supports it.
Customizing passphrase hashing difficulty for this system...
Created global config file at "/etc/fscrypt.conf".
[ERROR] fscrypt setup: /: not a mountpoint

Is there something I can modify with my config or via passing a switch upon setup or is this something that needs to be handled within my LXC config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions