A.5. The VDSM Hook Environment
Most hook scripts are run as the
vdsmuser and inherit the environment of the VDSM process. The exceptions are hook scripts triggered by the
after_vdsm_stopevents. Hook scripts triggered by these events run as the
rootuser and do not inherit the environment of the VDSM process.