[−][src]Function lxcrond::exec::execute_job
pub fn execute_job(job: &Job) -> bool
Contains code relating to executing jobs. Code here is unsafe and Linux specific, (might work on other nix flavours) Sets standard env vars that might break stuff if they are missing.
PATH
- copied from user that runs lxcrondUSER
andUSERNAME
- copied from thelxcrontab
entrySHELL
- hardcoded to /bin/sh, in lxinitd containers it expected to be missing or symlinked to /bin/false or /bin/roshHOME
- set to / or if possible copied from the /etc/password entry for this user.