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


Groups > linux.debian.bugs.dist > #791654

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#848181: initramfs-tools-core: support mounting of more complex setups
Date 2016-12-17 03:40 +0100
Message-ID <sPd4J-3qs-7@gated-at.bofh.it> (permalink)
References (1 earlier) <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> <sPbFD-2GI-27@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

On Sat, 2016-12-17 at 02:06 +0100, Tobias Schlemmer wrote:
> 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.

That's what I thought.

> Both patches have been provided.

But not in a state which would ever be suitable for applying to a
package.

> > [...]
> > > 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.

I think I can rely on the systemd maintainers to reassign such bugs.

> >  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.

The release notes are available before a system upgrade.  If you have
apt-listchanges installed (it's installed by default) then NEWS will
be presented at a point when you can still abort the upgrade.

> >> 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.

I suspect that you missed this during the upgrade to jessie, but things
just happened to work (with systemd mounting /usr later) until now.

Ben.

-- 
Ben Hutchings
Quantity is no substitute for quality, but it's the only one we've got.

Back to linux.debian.bugs.dist | Previous | NextPrevious 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

csiph-web