Debian Bug report logs -
#959745
allow overriding debootstrap command and arguments
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Ganeti Team <team+debianganetiteam@tracker.debian.org>:
Bug#959745; Package ganeti-instance-debootstrap.
(Mon, 04 May 2020 19:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Antoine Beaupre <anarcat@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Ganeti Team <team+debianganetiteam@tracker.debian.org>.
(Mon, 04 May 2020 19:33:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: ganeti-instance-debootstrap
Version: 0.16-6
Severity: wishlist
It would be nice if we could override the debootstrap command and
arguments used in, well, bootstrapping new instances.
This would allow site operators to use other bootstrapping tools like
mmdebstrap:
https://packages.debian.org/mmdebstrap
or pass special parameters to deboostrap, like ` --no-merged-usr`.
I guess that could be one of the parameters that could be passed down
in to the `variants` configuration. Maybe a DEBOOTSTRAP_COMMAND
variable?
In the meantime, because variants config files are sourced as shell
script, I suspect such a config could be injected to do what I mean:
debootstrap() {
mmdebstrap "$@"
}
or:
debootstrap() {
/usr/sbin/debootstrap --no-merged-usr "$@"
}
That is a bit nasty so I think it should be avoided.
-- System Information:
Debian Release: 10.3
APT prefers stable-debug
APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ganeti-instance-debootstrap depends on:
ii debootstrap 1.0.114
ii dump 0.4b46-5
ii e2fsprogs 1.44.5-1+deb10u3
ii fdisk 2.33.1-0.1
ii kpartx 0.7.9-3
ii util-linux 2.33.1-0.1
ganeti-instance-debootstrap recommends no packages.
ganeti-instance-debootstrap suggests no packages.
-- debconf-show failed
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Nov 2 01:57:54 2021;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
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.