You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the init existence check is possibly misleading though, since there's no particular reason it can't be an absolute symlink. The obvious way to get the test right requires the test to occur in a chroot, or after switch_root, but that's tricky with dependencies on the contents of the new root.
Thank you for your feedback about the kernel history, it's a good idea to keep the same list they provide (/sbin/init, /etc/init, /bin/init, /bin/sh).
And yes, about the symlink check, you hit the point, I wanted to do the test from within a chroot, but it is too dependent on the target image, so for now, I just transformed the fatal in a warning, so it's not blocking anymore.
The solution we have in mind is to write a small C program that will follow the symlink while ignoring the /newroot prefix.
The text was updated successfully, but these errors were encountered: