On Sat, 27 Aug 2016 22:34:49 -0500
Troy Dawson <[email protected]> wrote:

> On Sat, Aug 27, 2016 at 7:06 PM, Ken Dreyer <[email protected]>
> wrote:
> 
> > On Wed, Aug 10, 2016 at 8:45 AM, Miroslav Suchý <[email protected]>
> > wrote:  
> > >    * in next release will be very likely resolved RHBZ#1246810.
> > > I.e. /usr/sbin/mock will be moved to /usr/libexec/mock/mock.
> > > Since this is  
> > very  
> > > big change, next release will likely be 1.3.0  
> >
> > I was surprised to hear about this. Is mock no longer going to be
> > in my $PATH?
> >  
> 
> I was surprised to hear this as well, and then I looked.
> There was a mock in both /usr/bin/ and /usr/sbin/
> Not the same mock, two different mock's.
> Youch.
> I have to agree, that's a problem waiting to happen, and from the
> looks of things, it's bitten several people.  I'm glad it's being
> fixed.

There's a historical reason for this, it's to support consolehelper. 

ie, if you run /usr/bin/mock you would (optionally, depending on how
the machine is setup) get prompted for higher privs to run mock. 

consolehelper should long be deprecated these days, so it definitely
makes sense to drop the duplicates here (and /etc/pam.d/mock probibly). 

kevin

Attachment: pgpp8rTMk8Pha.pgp
Description: OpenPGP digital signature

--
buildsys mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to