Project

General

Profile

Actions

Bug #1059

open

The save and load commands do not use the same default home directory

Added by Philippe Proulx over 8 years ago. Updated over 8 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/25/2016
Due date:
% Done:

0%

Estimated time:

Description

The 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 utils_get_home_dir().

Therefore if LTTNG_HOME is set (or if $HOME has a different value than the entry in /etc/passwd), a save and 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.

Actions #1

Updated by Jérémie Galarneau over 8 years ago

  • Status changed from New to Confirmed
Actions

Also available in: Atom PDF