FAQ
Does anyone have experience using mock on RHEL5 with the RHN?

I use mock easily on Centos, I get errors like /bin/sh not found, useradd not
found build failed? messages from it on RHEL w/ RHN.

Any suggestions on where to start looking.

-Jason Pyeron


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

Search Discussions

  • Dag Wieers at Feb 25, 2011 at 4:18 am

    On Thu, 24 Feb 2011, Jason Pyeron wrote:

    Does anyone have experience using mock on RHEL5 with the RHN?

    I use mock easily on Centos, I get errors like /bin/sh not found, useradd not
    found build failed? messages from it on RHEL w/ RHN.

    Any suggestions on where to start looking.
    What I do for RPMforge is using an mrepo setup that synchronizes yum
    repositories from RHN using rhnget. Then point my buildsystem to those
    repositories. You can do the same with mock.

    --
    -- dag wieers, dag at wieers.com, http://dag.wieers.com/
    -- dagit linux solutions, info at dagit.net, http://dagit.net/

    [Any errors in spelling, tact or fact are transmission errors]
  • Jason Pyeron at Feb 25, 2011 at 5:30 am

    -----Original Message-----
    From: centos-bounces at centos.org
    [mailto:centos-bounces at centos.org] On Behalf Of Dag Wieers
    Sent: Friday, February 25, 2011 4:19
    To: CentOS mailing list
    Subject: Re: [CentOS] [OT] building src rpm on RHEL5 using
    mock https://bugzilla.redhat.com/show_bug.cgi?idh0144
    On Thu, 24 Feb 2011, Jason Pyeron wrote:

    Does anyone have experience using mock on RHEL5 with the RHN?

    I use mock easily on Centos, I get errors like /bin/sh not found,
    useradd not found build failed? messages from it on RHEL w/ RHN.

    Any suggestions on where to start looking.
    What I do for RPMforge is using an mrepo setup that
    synchronizes yum repositories from RHN using rhnget. Then
    point my buildsystem to those repositories. You can do the
    same with mock.
    In essence slup down the rhn.

    thanks
    --
    -- dag wieers, dag at wieers.com, http://dag.wieers.com/
    -- dagit linux solutions, info at dagit.net, http://dagit.net/

    [Any errors in spelling, tact or fact are transmission
    errors] _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos


    --
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    - -
    - Jason Pyeron PD Inc. http://www.pdinc.us -
    - Principal Consultant 10 West 24th Street #100 -
    - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
    - -
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    This message is copyright PD Inc, subject to license 20080407P00.
  • Nico Kadel-Garcia at Feb 25, 2011 at 7:46 am

    On Fri, Feb 25, 2011 at 4:18 AM, Dag Wieers wrote:
    On Thu, 24 Feb 2011, Jason Pyeron wrote:

    Does anyone have experience using mock on RHEL5 with the RHN?

    I use mock easily on Centos, I get errors like /bin/sh not found, useradd not
    found build failed? messages from it on RHEL w/ RHN.

    Any suggestions on where to start looking.
    What I do for RPMforge is using an mrepo setup that synchronizes yum
    repositories from RHN using rhnget. Then point my buildsystem to those
    repositories. You can do the same with mock.
    I use reposync to build a local yum repository. And I disable by
    default, and only re-enable as necessary, the yum-rhn-plugin. (It's
    such a resource pig on running systems!!!) and point my hosts to a
    local repository, very much like CentOS does with its yum mirrors.
    .

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedFeb 24, '11 at 9:57p
activeFeb 25, '11 at 7:46a
posts4
users3
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase