On Wed, 2019-05-01 at 05:01 +0900, Hideki Yamane wrote:
> control: tags -1 +patch
>
> revised patch
>
> > From 55c21c166959a93b961c572d5f366d35d054ce24 Mon Sep 17 00:00:00 2001
> From: Hideki Yamane
> Date: Wed, 1 May 2019 04:24:43 +0900
> Subject: [PATCH] create symlink from /proc/self/mounts
On Tue, 30 Apr 2019 at 13:03, Hideki Yamane wrote:
> + if [ ! -f "$TARGET/etc/mtab" ]; then
> + if [ -L "$TARGET/proc/self" ]; then
> + cd "$TARGET/etc" && ln -s ../proc/self/mounts
> mtab
> + elif [ -f
control: tags -1 +patch
revised patch
>From 55c21c166959a93b961c572d5f366d35d054ce24 Mon Sep 17 00:00:00 2001
From: Hideki Yamane
Date: Wed, 1 May 2019 04:24:43 +0900
Subject: [PATCH] create symlink from /proc/self/mounts to /etc/mtab
With old kernel version, there is /proc/mounts instead of
Package: debootstrap
Version: 1.0.52
Severity: wishlist
Hi.
Perhaps it would make sense if:
/etc/mtab - /proc/mounts
was created by debootstrap as a dangling symlink.
Seems not to be worse than not having mtab at all, and when one
bind mounts /proc to the chroot, than it works out of the box.
4 matches
Mail list logo