By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2978 - Global entries defined in "/opt/trinity/env" overrides the user ones in "$HOME/.trinity/env"
Summary: Global entries defined in "/opt/trinity/env" overrides the user ones in "$HOM...
Status: NEW
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2968
  Show dependency treegraph
 
Reported: 2018-09-25 02:46 CDT by Q4OS Team
Modified: 2018-10-05 10:17 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Q4OS Team 2018-09-25 02:46:53 CDT
I argue, a user defined entries should take a precedence over a global ones.

Exact steps to reproduce:
- Fresh TDE stable (14.0.5) installation on Debian Stretch.
- Configure system to set the "TEST1" local environment variable. Run terminal commands:
   mkdir ~/.trinity/env
   echo 'export TEST1=local' > ~/.trinity/env/testentry.sh
- Login again and check the value, it will correctly output "local":
   echo $TEST1
- Set the same "TEST1" environment variable as a global one:
   sudo mkdir /opt/trinity/env
   echo 'export TEST1=global' | sudo tee /opt/trinity/env/testentry.sh
- Login again to check it:
- Bug: "echo $TEST1" outputs value "global" instead of "local". I argue, a user defined entries should take a precedence over a global ones.