diff options
| author | Michael Prokop <mika@debian.org> | 2010-08-31 21:09:08 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
| commit | d43ba3e83f32e24cd4f047b6cc37bc4856454a5f (patch) | |
| tree | b8f7e32a85e3922c968ad0160ec1c678a0beb437 /scripts | |
| parent | 208f5edf15809e85af2bd11fff1d9e43ede6fe0b (diff) | |
| download | live-boot-d43ba3e83f32e24cd4f047b6cc37bc4856454a5f.tar.gz live-boot-d43ba3e83f32e24cd4f047b6cc37bc4856454a5f.zip | |
Adding workaround for aufs issue in kernel versions around 2.6.33.
Directories can't be accessed when read for the first the time,
causing a failure when accessing them. This simple workaround
solves this issue.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live index 07226fa..0e9b0aa 100755 --- a/scripts/live +++ b/scripts/live @@ -1874,6 +1874,12 @@ mountroot () mount --move /live/image /root/live/image fi + # aufs2 in kernel versions around 2.6.33 has a regression: + # directories can't be accessed when read for the first the time, + # causing a failure for example when accessing /var/lib/fai + # when booting FAI, this simple workaround solves it + ls /root/* >/dev/null 2>&1 + maybe_break live-bottom log_begin_msg "Running /scripts/live-bottom\n" |
