logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Pathname-based buildreqs not working?: msg#00043

Subject: Re: Pathname-based buildreqs not working?
On Tue, Dec 11, 2007 at 02:32:15PM -0500, seth vidal wrote:
> 
> On Tue, 2007-12-11 at 13:05 -0600, Michael E Brown wrote:
> > On Tue, Dec 11, 2007 at 06:58:12PM +0000, Paul Howarth wrote:
> > > seth vidal wrote:
> > > >On Tue, 2007-12-11 at 18:24 +0000, Paul Howarth wrote:
> > > >>Michael E Brown wrote:
> > > >>>Paul,
> > > >>>    First, you enabled yum debugging. How did you do that, in the yum
> > > >>>config file? This may throw off mock because atm mock parses stdout
> > > >>>from yum. (this isnt the case here, though, just pointing it out, also
> > > >>>want to know how you did it for my own debugging purposes later.
> > > >>debuglevel=10 in the yum.conf part of the mock config.
> > > >>
> > > >>>    Next:
> > > >>>
> > > >>>$ yum resolvedep ccache mysql-devel pcre-devel groff gd-devel
> > > >>>net-snmp-devel pkgconfig openssl-devel automake lm_sensors-devel
> > > >>>rrdtool-devel >= 1.2.0 libtool /usr/include/tcpd.h /usr/include/pcap.h
> > > >>>autoconf gdbm-devel 
> > > >>>No Package Found for 1.2.0
> > > >>Perhaps this one is a quoting issue; it should be looking for 
> > > >>"rrdtool-devel >= 1.2.0" rather than "rrdtool-devel" ">=" "1.2.0"?
> > > >>
> > > >>>No Package Found for /usr/include/tcpd.h
> > > >>>No Package Found for /usr/include/pcap.h
> > > >>These are the ones I've been having trouble with.
> > > >>
> > > >>>I get the exact same error here on my F-8 box that you are getting. Yum
> > > >>>problem?
> > > >>>
> > > >>>Need some input from yum folks.
> > > >>Ah good, it's not just me then.
> > > >>
> > > >
> > > >yum resolvedep /usr/include/tcpd.h works for me on f8 with 3.2.8 and
> > > >3.2.7 - confirmed with other folks on irc, too.
> > > 
> > > It works for me too from the command line, but not from within mock.
> > 
> > But for me it was failing from the cmdline... :)
> > 
> > It fails for me on F7 and F8, yum 3.2.7 and 3.2.8:
> > 
> > $ yum resolvedep /usr/include/tcpd.h
> > Importing additional filelist information
> > No Package Found for /usr/include/tcpd.h
> > 
> > [michael_e_brown@localhost mock]$ cat /etc/issue
> > Fedora release 8 (Werewolf)
> > Kernel \r on an \m
> > 
> > $ rpm -q yum
> > yum-3.2.8-1.fc8.noarch
> > 
> > 
> 
> are you getting funny mirrors or some other weirdness?
> 
> can you post me a copy of your filelists.sqlite?

I think I have found the root cause of the problem.

Mock runs the 'yum resolvedeps' as the calling (unprivileged) user. This
means that yum cannot download the filelists.sqlite it needs to resolve
the dep.

It was part of a general strategy of trying to run everything that had
user-input components in an unprivileged env.

I can remove the privilege drop around this call and that should fix it.
--
Michael



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe