Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-03-2013, 04:41 PM   #1
LQ Newbie
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
yum --installroot install cannot find /proc directory in Fedora 17

I'm creating chroots of Red Hat-based distributions inside my RHEL (host OS) and using them to build packages for different distributions. The process is described here: For Fedora, I setup a basic environment with rpm -i --root=<myroot> --nodeps and then use yum --installroot=<myroot> --disablerepo="host_repos" install <package_name> to install packages needed to build packages.

This process works fine for Fedora 15 and 16, but the yum install crashes on Fedora 17/18 at the yum install with the error: [Errno 2] No such file or directory: '/proc/317/cmdline'. The /proc/ directory does not exist inside <myroot> directory at this point.

Why this process does not work in Fedora 17+? Any workarounds?

edit: I've read I possibly would need to bind chroot's /proc and /dev to the one in host os. I've tried that and it still does not work.

Thanks in advance.

Last edited by alan.vitor; 04-03-2013 at 05:22 PM.
Old 04-09-2013, 01:40 PM   #2
Registered: Feb 2012
Distribution: ubuntu
Posts: 44

Rep: Reputation: Disabled
I have done only a one experiment with creating a chroot environment and cannot help much but I came across a utility called Mach which purports to automate the chroot install process. I have not personally tried it. Its used for testing package builds.

Have you looked at the Mach utility?

Best of luck!

(I have Fedora 18 on my Dell Inspiron N411z laptop which runs a i3 Intel based configuration. Runs like a champion.)

Last edited by greatbear; 04-09-2013 at 01:42 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum --installroot should use /etc/yum.repos.d? alan.vitor Linux - Software 4 04-03-2013 04:58 PM
yum --installroot service httpd mysqld not recognize noufal_pv Linux - Newbie 12 10-22-2012 08:59 AM
fedora 12 `yum update -y` & ran out of space in my /var/yum/cache/directory. techknowtarded Linux - Newbie 7 08-13-2011 07:23 PM
find: /proc/xxxx/task: No such file or directory King4lex Linux - Software 5 04-14-2007 07:42 AM
How do I install to different directory with yum? nadavvin Linux - Software 5 01-19-2007 05:31 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration