Skip to content

Nested vng cannot exec init from mounted /home #363

@iii-i

Description

@iii-i

I have a machine where /home is on a separate disk. I cannot use nested vng there:

linux$ ../virtme-ng/vng --mem=2G
virtme-ng linux$ ../virtme-ng/vng --verbose
[    5.137474] Kernel panic - not syncing: Requested init /home/<redacted>/virtme-ng/virtme/guest/virtme-init failed (error -5).

This comes from the following kernel code in fuse_lookup():

│      438         err = -EIO;
│      439         if (inode && get_node_id(inode) == FUSE_ROOT_ID)
│      440                 goto out_iput;

I have not debugged this further, because I figured --announce-submounts would fix this, which it did. This must be related to #50.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions