Bug 1397980 - deboostrap fails on CentOS7 to mount /proc
Summary: deboostrap fails on CentOS7 to mount /proc
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: debootstrap
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Oron Peled
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 17:48 UTC by Adrian Reber
Modified: 2017-09-17 14:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-17 14:08:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ...


Note You need to log in before you can comment on or make changes to this bug.