Mock: loss of login shell

Michael E Brown Michael_E_Brown at dell.com
Wed Dec 19 23:44:56 UTC 2007


On Wed, Dec 19, 2007 at 05:41:57PM -0600, Michael E Brown wrote:
> On Wed, Dec 19, 2007 at 06:37:04PM -0500, Colin Walters wrote:
> > On Wed, 2007-12-19 at 17:13 -0600, Michael E Brown wrote:
> > 
> > > So, are we going to mandate in the packaging guidelines that packages
> > > *not* use environment variables 
> > 
> > Thinking about this a bit more the krb thing is really ugly but probably
> > not something that needs to be prohibited.   Having mock use a login
> > shell isn't the end of the world.  
> > 
> > The way to think about this is that's it's just as broken as library
> > software which ships a binary named foo-config for libfoo2 and libfoo3;
> > there is a conflict between /usr/bin/foo-config and so you can't have
> > them both installed at the same time.
> > 
> > > and that all packages should use
> > > pkg-config?
> > 
> > pkg-config is a good way to sanely manage development libraries, but
> > it's not the one true way (i.e. we don't need to mandate it) - if some
> > software wants to do something else that's fine, as long as they do it
> > correctly =)  A link to that page though in the guidelines would be a
> > good idea so we can help upstreams understand how to be a good Linux
> > citizen.
> 
> Ok. So it seems that we have general consensus that it wouldnt be the
> end of the world for mock to use a login shell.
> 
> I have checked in a patch to upstream mock git repository.

Sorry forgot to post link: git://git.fedorahosted.org/git/mock.git

> Can some of the affected parties please check it out and see if it fixes
> your issue? We can release a fixed version soon if this works out.

--
Michael




More information about the devel mailing list