Debian Bug report logs - #881995
"E: Failed to re-mount /: Invalid argument" if I run cdebootstrap from chroot

version graph

Package: cdebootstrap; Maintainer for cdebootstrap is Bastian Blank <[email protected]>; Source for cdebootstrap is src:cdebootstrap (PTS, buildd, popcon).

Reported by: Askar Safin <[email protected]>

Date: Fri, 17 Nov 2017 13:36:01 UTC

Severity: important

Found in version cdebootstrap/0.7.7

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Bastian Blank <[email protected]>:
Bug#881995; Package cdebootstrap. (Fri, 17 Nov 2017 13:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Askar Safin <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Bastian Blank <[email protected]>. (Fri, 17 Nov 2017 13:36:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Askar Safin <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: "E: Failed to re-mount /: Invalid argument" if I run cdebootstrap from chroot
Date: Fri, 17 Nov 2017 13:33:51 +0000
Package: cdebootstrap
Version: 0.7.7+b1
Severity: important

Steps to reproduce.
* I have host stretch amd64 (let's call it A). I run:
$ sudo cdebootstrap -f minimal stretch /tmp/target http://deb.debian.org/debian # Here I created system B
$ sudo chroot /tmp/target apt-get update
$ sudo chroot /tmp/target apt-get install cdebootstrap
$ sudo chroot /tmp/target cdebootstrap -f minimal stretch /tmp/target http://deb.debian.org/debian # Here I try to create system C
* And I got "E: Failed to re-mount /: Invalid argument"

Here is full log: http://paste.debian.net/996232

If I try to mount /proc, /dev, /dev/pts and /sys (and create symlink /etc/mtab -> /proc/mounts), it still doesn't work.

If I use systemd-nspawn instead of chroot, it works.

This bug report is sent from system B running in systemd-nspawn.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cdebootstrap depends on:
ii  debian-archive-keyring      2017.5
ii  gpgv                        2.1.18-8~deb9u1
ii  libbz2-1.0                  1.0.6-8.1
ii  libc6                       2.24-11+deb9u1
ii  libcurl3-gnutls             7.52.1-5
ii  libdebian-installer-extra4  0.110
ii  libdebian-installer4        0.110
ii  liblzma5                    5.2.2-1.2+b1
ii  zlib1g                      1:1.2.8.dfsg-5

cdebootstrap recommends no packages.

Versions of packages cdebootstrap suggests:
pn  qemu-user-static  <none>

-- no debconf information



Changed Bug submitter to 'Askar Safin <[email protected]>' from 'Askar Safin <[email protected]>'. Request was from Askar Safin <[email protected]> to [email protected]. (Tue, 02 Jan 2024 04:00:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:59:22 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.