nix-community / impermanence

Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
MIT License
1.03k stars 77 forks source link

"Too many symbolic links" #143

Closed chayleaf closed 9 months ago

chayleaf commented 9 months ago

I've successfully set impermanence up on most of my devices, but I couldn't do it on my new Arm SBC (Rock 5A). When I try to boot with root tmpfs and impermanence bind mounts for everything necessary (the config is copied exactly from a different device), I get the following errors:

systemd-journal-catalog-update.service: Failed to execute /nix/store/kq7xjfgy6186gw0v9qacmxm5dhp7vyrx-systemd-254.3/bin/journalctl: Too many levels of symbolic links
systemd-journal-catalog-update.service: Failed at step EXEC spawning journalctl: Too many levels of symbolic links

For most systemd services and some other ones. As a result, it can't start dhcpcd or ssh and I have to use a different generation to even read the logs.

I've tried looking at the mounts in initrd, but didn't notice any issues.

chayleaf commented 9 months ago

it seems like it isn't related to impermanence