This first patch should still work with the existing scripts and allow us to gradually change the startup of our daemon scripts so that they do not try to perform tasks that need root before handling the autogenerated build-time utiliity commands like 'printmanpod'.
We can then move mkdirs, chowns, setuids etc. into prepare functions which are called by handle_cmd only when the daemon is actually about to be fired up. Please review. Wolfgang Bumiller (1): defer some daemon setup routines src/PVE/CLIHandler.pm | 4 +- src/PVE/Daemon.pm | 119 ++++++++++++++++++++++++++------------------------ 2 files changed, 66 insertions(+), 57 deletions(-) -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel