mock not processing /etc/profile.d/*, not a login shell?

Rex Dieter rdieter at math.unl.edu
Tue Dec 4 14:50:44 UTC 2007


Jesse Keating wrote:

> On Tue, 04 Dec 2007 07:55:41 -0600
> Rex Dieter <rdieter at math.unl.edu> wrote:
> 
>> Sigh, so can someone come up with a better solution to "I want to
>> install pkg foo, where it defines env vars, and pkgs consuming/using
>> pkg foo shouldn't need to know it's implementation details (ie, which
>> file in /etc/profile.d/ needs to source'd)" ?
> 
> How do you plan to solve this when installing on a real system?  User
> installs a bunch of -devel packages, tries to do an rpmbuild, fail.
> What then?

The easiest (and only) solution I see so far is my initial suggestion: 
"start a (new) login shell".

If that's not acceptable, then we're stuck with the status-quo.

-- Rex




More information about the Fedora-buildsys-list mailing list