Hello,
So for a while I have tried rolling my own initramfs firmware images for x86_64, running them in virtual machines.
These images include ujail and the busybox sysntpd for getting the time.
However, while running them, I see a lot of:-
user.err : jail: pivot_root(/tmp/ujail-HCLaGk, /tmp/ujail-HCLaGk/old) failed: Invalid argument
The system time also never synchronises with the downstream NTP server.
There was a patch committed in October 2019 to the init script for initramfs images, which tried to ensure that the initial switch_root used a tmpfs as the destination for the new root, which apparently was causing the problem then, but I am running that code and it is still an issue.
Do x86_64 images have an additional package requirement that I've missed, or is there an initialisation somewhere that I haven't done?