mock problems on f10

Clark Williams williams at redhat.com
Mon Feb 16 14:48:21 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 15 Feb 2009 22:09:46 +0200
Lucian Langa <cooly at gnome.eu.org> wrote:

> 
> > How are you running mock?  As a user in the mock group?  As a user
> > that's not in the mock group?  As root?  Via sudo?
> Changing this to an unprivileged user and adding it to mock group works
> perfectly. Has anything changed lately ? Not having the unprivileged
> user added to mock group, mock will ask for root password  but it will
> fail to build anything:
> 
> 

We've been changing it over time (but nothing has happened wrt
privileges in the past couple of releases). Essentially we start up
privileged and pam authenticates us. We do whatever is needed (e.g.
create directories, run rpm) as root, then drop privs for the
build process. Obviously we haven't got it quite right for the
running-as-root case. 

I suspect just adding root to the 'mock' group would take care of this
problem. 

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkmZfL0ACgkQHyuj/+TTEp293ACgpRE3VXq4revSzRaBqnqLcmHr
40IAn0G19hgdqlOSP/d0oIgynGHBBgGs
=pFGt
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list