ujail: bug or feature ?

e9hack e9hack at gmail.com
Fri Mar 26 08:32:33 GMT 2021


Hi,

a program run by ujail gets a PID of 1. The real PID is different. If such a program generates a PID file by its own and the PID from that file is used by a script that is not run by ujail, then any operation will be performed with the wrong PID, which is the PID of /sbin/procd in the real world.

Is this the expected behaviour?

Regards,
Hartmut



More information about the openwrt-devel mailing list