[pve-devel] [PATCH] working towards fixin non-root builds

Wolfgang Bumiller w.bumiller at proxmox.com
Thu May 28 16:21:41 CEST 2015

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(-)


More information about the pve-devel mailing list