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


Groups > linux.debian.kernel > #63518

Bug#409271: Workaround

From Ivan Baldo <ibaldo@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#409271: Workaround
Date 2019-03-07 21:50 +0100
Message-ID <xz87L-6vI-1@gated-at.bofh.it> (permalink)
References <xz87L-6vI-3@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 Thu, 4 Aug 2016 17:54:10 -0500 "Timothy Pearson" <
kb9vqf@pearsoncomputing.net> wrote:
> For now, since klibc does not have NFSV4 support, the attached file works
> around the problem (place in /usr/share/initramfs-tools/hooks/nfsv4).

Thanks a lot for the workaround!!!
Though it doesn't work with read-only NFSv4.1 and OverlayFS with TmpFS on
Stretch, both kernels 4.9 and 4.19.
Any ideas?
In the hook I added your workaround and:
manual_add_modules overlay

Then on /etc/initramfs-tools/scripts/init-bottom/local:
mkdir -m 700 /ovl
mkdir /ovl/lower /ovl/ram /ovl/merged
mount -n -o move $rootmnt /ovl/lower
mount -n -t tmpfs -o 'mode=755,size=75%' tmpfs /ovl/ram
mkdir /ovl/ram/upper /ovl/ram/work
mount -n -t overlay -o
"lowerdir=/ovl/lower,upperdir=/ovl/ram/upper,workdir=/ovl/ram/work,_netdev"
overlay /ovl/merged
mount -n -o move /ovl/merged $rootmnt
mkdir -m 700 $rootmnt/ovl
mkdir $rootmnt/ovl/lower $rootmnt/ovl/ram
mount -n -o move /ovl/lower $rootmnt/ovl/lower
mount -n -o move /ovl/ram $rootmnt/ovl/ram

This works with NFSv3.
Also, if I test it on an already booted system with mounting NFSv4.1
manually and doing the overlay it works.
So, something in the initramfs is different to the booted up system that
causes the problem, but couldn't find it.
If anyone has any idea of things to try I can report back the results and
try to provide a fully working solution afterwards.
Thanks!

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


Thread

Bug#409271: Workaround Ivan Baldo <ibaldo@gmail.com> - 2019-03-07 21:50 +0100

csiph-web