On Wed, 28 Nov 2018 16:45:27 +0100 Guillem Jover <guil...@debian.org> wrote:
> This package defaults to bootstrapping a Debian system with the
> hackish merged /usr via symlinks, but it provides no way to disable
> that. It would be nice if it had an option to select either mode
> explicitly, say some --[no-]whatever option.

When I started writing mmdebstrap, one of my major motivations was to provide a
tool that uses as little magic as possible and instead relies on the
information from the packages themselves for everything. That's also why the
force-script-chrootless mode is so high on my priority list for mmdebstrap.
Thus I think it would be best to not enable/disable merged /usr by using
command line arguments (mmdebstrap tries to use only very few of those) but
instead by selecting which packages to install -- that is assuming that Debian
will not switch to merged /usr by default. This brings me to another point:
right now it seems that building source packages in a merged /usr environment
is able to create buggy packages that don't work on a non-merged system.
Additionally, there seems to be no consensus about the why, how and when of
merged /usr yet. Lastly I only added merged /usr by default because it was the
default of debootstrap at the time when I implemented the code.

Given all these arguments, I just disabled merged /usr completely in this
commit:

https://gitlab.mister-muffin.de/josch/mmdebstrap/commit/97d273aaf6ada19f4966666ba75d907ee64b0a75

This seems to be a sensible default for now because it doesn't taint source
packages built within and it's also the current default of Debian testing and
debootstrap.

Since this bug is about allowing to choose whether one wants a system with or
without merged /usr I will leave this bug report open until a project wide
decision about it has been made.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to