[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-buildsys-list
Subject:    Re: user creation in koji
From:       Pierre Guillet <guillet.pierre () googlemail ! com>
Date:       2011-01-20 17:50:48
Message-ID: AANLkTikWbQ79gqHAMekkfnfK+WqnhOpqX7VC0d5Gg-wm () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Mike,

I didn't chown files myself but I was using %defattr. Now it's working using
%attr.

Thanks,
Pierre

2011/1/20 Mike Bonnet <mikeb@redhat.com>

> On 01/20/2011 06:47 AM, Pierre Guillet wrote:
> > Hi all,
> >
> > I'm trying to build nagios package with my koji server but the build
> fails
> > because "nagios" user is not created in the mock chroot. I find some docs
> to
> > handle user and group in packages (
> > http://fedoraproject.org/wiki/Packaging:UsersAndGroups) but no docs to
> > handle them from koji build.
> >
> > Are users created in mock chroot from a specific RPM referenced in tag's
> > build group ?
>
> Are you trying to chown files to nagios, and it is failing?  I think the
> proper way to handle that is with %attr tags in the %files section.
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>

[Attachment #5 (text/html)]

Hi Mike,<br><br>I didn&#39;t chown files myself but I was using  %defattr. Now \
it&#39;s working using %attr.<br><br>Thanks,<br>Pierre<br><br><div \
class="gmail_quote">2011/1/20 Mike Bonnet <span dir="ltr">&lt;<a \
href="mailto:mikeb@redhat.com">mikeb@redhat.com</a>&gt;</span><br> <blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On 01/20/2011 06:47 \
AM, Pierre Guillet wrote:<br> &gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m trying to build nagios package with my koji server but the build \
fails<br> &gt; because &quot;nagios&quot; user is not created in the mock chroot. I \
find some docs to<br> &gt; handle user and group in packages (<br>
&gt; <a href="http://fedoraproject.org/wiki/Packaging:UsersAndGroups" \
target="_blank">http://fedoraproject.org/wiki/Packaging:UsersAndGroups</a>) but no \
docs to<br> &gt; handle them from koji build.<br>
&gt;<br>
&gt; Are users created in mock chroot from a specific RPM referenced in tag&#39;s<br>
&gt; build group ?<br>
<br>
</div></div>Are you trying to chown files to nagios, and it is failing?  I think \
the<br> proper way to handle that is with %attr tags in the %files section.<br>
<font color="#888888">--<br>
buildsys mailing list<br>
<a href="mailto:buildsys@lists.fedoraproject.org">buildsys@lists.fedoraproject.org</a><br>
 <a href="https://admin.fedoraproject.org/mailman/listinfo/buildsys" \
target="_blank">https://admin.fedoraproject.org/mailman/listinfo/buildsys</a><br> \
</font></blockquote></div><br>



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic