Koji special permissions for --runas

Mike McLean mikem at redhat.com
Thu Apr 22 16:28:27 UTC 2010


On 04/22/2010 02:56 AM, Greg Trahair wrote:
> I used the wrong terminology :-(
>
> I'm creating a svn post-commit hook that will automatically submit a
> build if a .spec file has been altered, but I still want the build to be
> submitted by the user that committed the change to the specfile.  I've
> got it working fine by using the pythonOptions in
> /etc/httpd/conf.d/kojihub.conf, but it doesn't work if I put the same
> line (excluding the "'s) in /etc/koji-hub/hub.conf.
>
> I was wondering if you have an example of the hub.conf with multiple
> proxyDN extries?

The code splits the ProxyDNs option with the vertical bar character "|", 
so specifying multiple values should just be a matter of concatenating 
them with |. Leading/trailing whitespace is stripped after splitting, so 
you could do something like:

ProxyDNs = /C=.../ST=.../O=.../OU=.../CN=.../emailAddress=... at ... |
    /C=.../ST=.../O=.../OU=.../CN=.../emailAddress=...

The reason your previous attempt did not work is that you tried to 
create a multi-line config entry without indenting the subsequent lines. 
That's just a quirk of this type of config file.



More information about the buildsys mailing list