user creation in koji
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 ? Regards, Pierre Guillet -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
user creation in koji
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 |
user creation in koji
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 -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
| All times are GMT. The time now is 04:47 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.