Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   user creation in koji (http://www.linux-archive.org/fedora-build-system/478905-user-creation-koji.html)

Pierre Guillet 01-20-2011 10:47 AM

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

Mike Bonnet 01-20-2011 02:04 PM

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

Pierre Guillet 01-20-2011 04:50 PM

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 02:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.