Open Sepero opened 2 years ago
Stage 2 mount dmesg output
overlayfs: failed to resolve '/.hrw/u': -2
Requesting that if a Stage 2 directory is listed in filesystem."name".depends.* , and it doesn't exist, then have it created, pretty please. ❤️
Fixed by https://github.com/systemd/systemd/pull/30377 which should hopefully be landing in a nixpkgs version near you soon!
Describe the bug
When mounting an overlayfs in Stage 1, any directories depended on are automatically created. In Stage 2, they are not.
Steps To Reproduce
The following code mounts correctly in Stage 1. If the line "neededForBoot" is removed, then it tries to mount in Stage 2 and fails. The depends directories are not created in Stage 2.
Expected behavior
If a directory is listed in filesystem."name".depends, and it doesn't exist, then please create it.