From d5c8a85aceb9cac6d0a13fbdbdd682e0f198974d Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Tue, 23 Feb 2021 12:50:18 +0100 Subject: [PATCH] document problems with chrootless mode in man page --- mmdebstrap | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index f86fc01..3e2ef55 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6264,11 +6264,14 @@ Uses the dpkg option C<--force-script-chrootless> to install packages into I without dpkg and apt inside I but using apt and dpkg from the machine running B. Maintainer scripts are run without chrooting into I and rely on their dependencies being installed on the machine -running B. Unless B was run inside fakeroot, the -I directory will be owned by the user running B. -B: if this option is used carelessly with packages that do not support -C, this mode can result in undesired changes to the system running -B because maintainer-scripts will be run without B. +running B. Only very few packages support this mode. Namely, as of +2021, not all essential packages support it, mainly due to missing support in +debconf. See https://wiki.debian.org/Teams/Dpkg/Spec/InstallBootstrap or the +dpkg-root-support usertag of debian-dpkg@lists.debian.org in the Debian bug +tracking system. B: if this option is used carelessly with packages +that do not support C, this mode can result in undesired changes to +the system running B because maintainer-scripts will be run without +B. =for TODO =item B