Bug 1397980

Summary: deboostrap fails on CentOS7 to mount /proc
Product: [Fedora] Fedora EPEL Reporter: Adrian Reber <adrian>
Component: debootstrapAssignee: Oron Peled <oron>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: jv+fedora, mi, oron, pertusus, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-17 14:08:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Adrian Reber 2016-11-23 17:48:21 UTC
Description of problem:

Cannot debootstrap Ubuntu xenial on CentOS7 any more. After downloading I get following error:

# cat /mnt/install/debootstrap/debootstrap.log
chroot: failed to run command 'mount': No such file or directory

It sounds a bit like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770658


# chroot /mnt/install mount -t proc proc /proc
chroot: failed to run command 'mount': No such file or directory
[root@amalthea ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
[root@amalthea ~]# export PATH=$PATH:/bin
[root@amalthea ~]# chroot /mnt/install mount -t proc proc /proc

Adding /bin to the path seems to help to work around the actual failing command.

Version-Release number of selected component (if applicable):
debootstrap-1.0.85-1.el7.noarch

and

debootstrap-1.0.87-1.el7.noarch (from koji)

How reproducible:
Always on CentOS7

The corresponding version for CentOS6 works on CentOS6 debootstrap-1.0.85-1.el6.noarch

Comment 1 Sergio Basto 2017-09-17 14:08:50 UTC
Adrian , I'm closing this as work for me , reopen and give more details if problem persists .
I'm planing update debootstrap to 1.0.91 ...