[MCOL-667] Installation of MCS updates the root .bashrc file Created: 2017-04-18 Updated: 2020-08-25 Resolved: 2017-10-26 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 1.0.8 |
| Fix Version/s: | 1.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Allan | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 7 |
||
| Issue Links: |
|
||||||||
| Sprint: | 2017-19, 2017-20, 2017-21 | ||||||||
| Description |
|
When installing MCS and running the postconfigure the root's .bashrc file is updated with MCS aliases (e.g. mcsadmin). This should be optional and hinted. Alternatively the aliases should be installed the 'modern' way in the /etc/profile.d directory. |
| Comments |
| Comment by David Hill (Inactive) [ 2017-10-24 ] |
|
plans - need to move the alias and non-root ENV settings from .bashrc to files in /etc/profile.d post-install/pre-uninstall - change from using .bashrc to /etc/profile.d postConfigure - will print a new message at the end that alias are in the specific file. |
| Comment by David Hill (Inactive) [ 2017-10-24 ] |
|
1 note - since this is setup in the post-install file, not adding any option to NOT setup the profile file. User can always go and delete that file, if they so choose. |
| Comment by David Hill (Inactive) [ 2017-10-24 ] |
|
changes made and tested, pull request done... in review now |
| Comment by Ben Thompson (Inactive) [ 2017-10-25 ] |
|
Reviewed and Merged |
| Comment by Daniel Lee (Inactive) [ 2017-10-26 ] |
|
Build verified: Github source for 1.1.1 /root/columnstore/mariadb-columnstore-server Merge pull request #72 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #299 from mariadb-corporation/mcol-667 Mcol 667 Verified that alias are in /etc/profile.d and not in ~/.bashrc [root@localhost ~]# cd /etc/profile.d
|