Re: mock 0.9 backport to F7/F8 -- Feb 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 06, 2008 at 01:08:39PM +0200, Manuel Wolfshant wrote:
> Clark Williams wrote:
> >Manuel Wolfshant wrote:
> >  
> >>On 01/05/2008 12:49 AM, Michael_E_Brown@xxxxxxxx wrote:
> >>Hey all
> >>
> >>   Did I hit a bug here or am I doing something very stupid ? According
> >>to the paragraph above, I should either be allowed to build as user, or
> >>be asked for the root password. Helas....
> >>[wolfy@wolfy ~]$ id wolfy
> >>uid=500(wolfy) gid=500(wolfy) groups=500(wolfy),497(mock)
> >>context=user_u:system_r:unconfined_t
> >>[wolfy@wolfy ~]$ mock -r fedora-5-x86_64-epel
> >>/tmp/rpmlint/devel/rpmlint-0.82-3.fc9.src.rpm
> >>ERROR: [Errno 1] Operation not permitted
> >
> >Hmmm, looks like a bug to me. Please file a BZ against mock.
> >
> >Just to be sure I understand, this is from an F7 host? I wonder if there's 
> >a config
> >difference for the consolehelper stuff on F7?
> >
> >Clark
> >  
> https://bugzilla.redhat.com/show_bug.cgi?id=436270

Most likely cause of this problem is a bad PATH that has /usr/sbin/
before /usr/bin/, meaning that the consolehelper suid utility is *not*
run, but you end up running /usr/sbin/mock directly, which expects to
only ever be run with elevated privs.

Assuming this is the case, there are two possible fixes:

A) fix your path
 or
B) run /usr/bin/mock directly
--
Michael

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux