FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 01-20-2011, 10:47 AM
Pierre Guillet
 
Default 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
 
Old 01-20-2011, 02:04 PM
Mike Bonnet
 
Default 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
 
Old 01-20-2011, 04:50 PM
Pierre Guillet
 
Default 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
 

Thread Tools




All times are GMT. The time now is 11:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org