Can not chroot into hummingbird based envoirment
Ocean-Moist opened this issue · 2 comments
Ocean-Moist commented
I try to chroot, and it gives me:
Hummingbird must be ran as PID 1
It probably is an issue on my side, But this my be some weird thing with how hummingbird checks PID?
Ocean-Moist commented
I am going to say this is on me.
Sweets commented
Hummingbird checks pid with getpid(). Anything that isn’t 1 errors out (any non-1 PID means an init has already ran an presumably already done a boot up sequence).
https://github.com/Sweets/hummingbird/blob/master/src/hummingbird.c#L26