Skip to content

using the overlay option causes kernel warnings "upper fs does not support file handles" #783

Description

@dam9000

Using the --overlay option causes kernel warnings:

[649407.156601] overlayfs: upper fs does not support file handles, falling back to index=off.
[649407.156607] overlayfs: fs on '/proc/self/fd/9' does not support file handles, falling back to xino=off.

The overlay functionality works fine, but since I run this command frequently, it is spamming the kernel logs with these warnings.
I would like to get rid of them. Not sure what would be the cleanest approach, perhaps adding an option: --overlay-opt OPT
Which would allow me to explicitly turn off the default mount flags that cause these warnings, for example with:
--overlay-opt index=off,xino=off
Perhaps alternatively those mount options could just be used by default, but I'm not sure that's the best solution.
Would you consider implementing such an option or maybe accept a patch that does that, if that is the correct approach?

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