Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #56251

Bug#848181: initramfs-tools-core: support mounting of more complex setups

From Tobias Schlemmer <keinstein_junior@gmx.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#848181: initramfs-tools-core: support mounting of more complex setups
Date 2016-12-17 02:10 +0100
Message-ID <sPbFD-2GI-27@gated-at.bofh.it> (permalink)
References <sOpUm-5Dh-29@gated-at.bofh.it> <sOqGK-6gP-3@gated-at.bofh.it> <sOJT4-1jR-13@gated-at.bofh.it> <sOKvL-1MW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 15.12.2016 um 21:03 schrieb Ben Hutchings:
> On Thu, 2016-12-15 at 20:15 +0100, Tobias Schlemmer wrote:
>> Hi Ben,
>>
>> Am 14.12.2016 um 23:51 schrieb Ben Hutchings:
>>> Control: tag -1 wontfix
>>>
>>> This code is broken in several ways,
>>
>> For me it would be interesting to know about them. So I could improve my
>> skills.
> 
> For one, it has dependencies on scripts in /root on the root
> filesystem.

Actually, it does not. functions.ts and local.ts are patched copies
/scripts/functions and /scripts/local, which I keep in /root for
development purposes, only. Both patches have been provided.

> [...]
>> Otherwise I expect that there will be many more bug reports and
>> complaints about initramfs in particular, Debian at medium level and the
>> unpredictability of Linux configuration in the future.
> 
> There has been one other bug report so far (#781656).

You probably have not noticed #847119. It is not obvious, that the
problem is caused by initramfs ignoring the mount order of fstab. So you
are probably not informed about all bug reports regarding this problem.

>  The lack of
> support for bind-mounting /usr (which I hadn't previously considered)
> was then documented in initramfs-tools NEWS and the release notes for
> jessie.

Sorry that does not help when I have to decide whether to install an
package or not, especially when there are more than 1000 packages to
upgrade. This information is available only after installing the
upgrade. This means, when the system is already unbootable.

>> I think the 2nd approach will be the easiest to implement: replace
>> “mountfs /usr“ by “for fs in $EARLYMOUNTFS ; do mountfs "$fs"; done“ but
>> it may still lead to confusion while upgrading Debian. I'm using Debian
>> for more than 15 years, now, and, until recently, I had never a major
>> Debian release that rendered my system unbootable. People don't expect that.
> 
> I'm sorry, but you can't claim you weren't warned about this.

I can't remember of beeing warned when I installed the upgrade. In fact
I was surprised that the init systems depend on having /usr being
available before mounting the file systems.

Regards,

Tobias

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#848181: initramfs-tools-core: support mounting of more complex setups Tobias Schlemmer <keinstein@users.sf.net> - 2016-12-14 23:10 +0100
  Bug#848181: initramfs-tools-core: support mounting of more complex setups Ben Hutchings <ben@decadent.org.uk> - 2016-12-15 00:00 +0100
    Bug#848181: initramfs-tools-core: support mounting of more complex setups Tobias Schlemmer <keinstein_junior@gmx.net> - 2016-12-15 20:30 +0100
      Bug#848181: initramfs-tools-core: support mounting of more complex setups Ben Hutchings <ben@decadent.org.uk> - 2016-12-15 21:10 +0100
        Bug#848181: initramfs-tools-core: support mounting of more complex setups Tobias Schlemmer <keinstein_junior@gmx.net> - 2016-12-17 02:10 +0100
          Bug#848181: initramfs-tools-core: support mounting of more complex setups Ben Hutchings <ben@decadent.org.uk> - 2016-12-17 03:40 +0100
  Processed: Re: Bug#848181: initramfs-tools-core: support mounting  of more complex setups owner@bugs.debian.org (Debian Bug Tracking System) - 2016-12-15 00:00 +0100

csiph-web