Mock: loss of login shell

Jos Vos jos at xos.nl
Wed Dec 19 21:00:10 UTC 2007


On Wed, Dec 19, 2007 at 02:14:05PM -0600, Steve Conklin wrote:

> Mock no longer uses a login shell for builds.
> 
> The way I discovered this is that the ipsec-tools package stopped
> building. The reason is that it has a BuildRequires for the krb5-devel
> package, from which it uses krb5-config.
> 
> krb5-config is installed in /usr/kerberos/bin/, and the user's path is
> provided by /etc/profile.d/krb5-devel.sh
> 
> No user shell, therefore no path, and configure fails to find krb5-config.

I think mock is wrong.  It's obvious that the devel packages assume
developers (like package builders, either human or not ;-)) run the
/etc/profile.d scripts.  The same holds for some JVM's, IIRC.

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the fedora-devel-list mailing list