The save and load commands do not use the same default home directory
save command does not consider the
LTTNG_HOME environment variable (nor
HOME) because it uses
utils_get_user_home_dir(), whereas the
load command uses
LTTNG_HOME is set (or if
$HOME has a different value than the entry in
load sequence does not find the session configuration file.
To remain consistent, I think the value of
utils_get_home_dir() should be sent from the client to the session daemon at save time, so that, from the user's perspective, both commands are synchronized on the same environment variables.
Use case: this bug makes the save/load operations impossible to do in a virtual environment.
Updated by Jérémie Galarneau almost 7 years ago
- Status changed from New to Confirmed