Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672272 - sys-apps/baselayout-2.6: aliases from /etc/bash/bashrc override /etc/profile.d/*
Summary: sys-apps/baselayout-2.6: aliases from /etc/bash/bashrc override /etc/profile.d/*
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-30 06:32 UTC by Michael Moon
Modified: 2018-11-30 11:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moon 2018-11-30 06:32:24 UTC
I have a bunch of configuration for my users' shells in /etc/profile.d/

After a recent update, I noticed that 'ls' output looked different so I went digging as to why this had suddenly changed without me changing it.

It seems that /etc/profile was updated with baselayout-2.6, and now /etc/profile.d/ is sourced *before* /etc/bash/bashrc, with the effect that the latter overrides my aliases.

I edited /etc/profile to grab /etc/profile.d/ *after* /etc/bash/bashrc and everything now works as expected.

Should this be fixed upstream, or are my expectations wrong?