The principal problem here is that /bin/sh is hardcoded as something to use in job_run_* -- we should check for exec failing and have some kind of fallback.
Perhaps just exec'ing /sbin/sulogin directly is appropriate?
The principal problem here is that /bin/sh is hardcoded as something to use in job_run_* -- we should check for exec failing and have some kind of fallback.
Perhaps just exec'ing /sbin/sulogin directly is appropriate?