Description of problem: revisor gives lots of these messages: cp: cannot stat 'chroot': No such file or directory if I do in console: # stat chroot stat: cannot stat `chroot': No such file or directory I get the same error, but if I do with full path then I don't get this error: # stat /usr/sbin/chroot File: `/usr/sbin/chroot' Size: 18828 Blocks: 48 IO Block: 4096 regular file Device: 806h/2054d Inode: 84503 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-01-21 15:10:18.000000000 +0100 Modify: 2007-12-05 14:24:59.000000000 +0100 Change: 2007-12-09 13:48:13.000000000 +0100 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Please verify if the package "coreutils" is in the package set.
off course it is # yum install coreutils Package coreutils - 6.9-12.fc8.i386 is already installed.
I also encounter this issue during the "Build isolinux and Installer" step. I tried creating symbolic links to chroot in both /bin and /usr/bin. This did not resolve the "cp: cannot stat `chroot': No such file or directory" message. I am using coreutils-6.9-12.fc8 and revisor-2.0.5-15.fc8. Running "rpm -ql coreutils | grep chroot" confirms that coreutils installs chroot to /usr/sbin/chroot. The coreutils package was also included in the distribution package set.
After finding the --debug flag in /usr/sbin/revisor, I found that the errors are occurring during the following the buildinstall stage of "Build isolinux and Installer". The pertinent debug output was: Initting progress bar for Building Installation Images Setting rundir to /var/tmp/revisor-rundir Running command: /usr/lib/anaconda-runtime/buildinstall --product Fedora --variant f8-i386-custom-local --version 8 --release "Fedora 8" --prodpath Packages /var/tmp/revisor-pungi/8/f8-i386-custom-local/i386/os Extra information: /var/tmp/revisor-rundir False None
After more tracing, the problem seems to lie in /usr/lib/anaconda-runtime/upd-instroot script (called from buildinstall) which is in the anaconda-runtime package. I have filed Bug 431392 against the anaconda package since there is not a separate anaconda-runtime package in the bugzilla database.
Reopened that bug after it was closed "RAWHIDE" with the indication that they'll need to be more specific about what is causing this.
Closing this bug