"Zhengyuan Liu":
> There is bug with v5.4 aufs when doing following operations:
>
> $mkdir a b c d
> $echo aaaaaa >a/a.txt
> $echo bbbbbb >b/b.txt
> $echo cccccc >c/c.txt
> $mount -v -t aufs -o br=/root/a:/root/b:/root/c none /root/d
> $cat /root/d/*

I cannot reproduce the problem.
It worked flawlessly on my test environment.
- plain linux-v5.4.3
- aufs5.4.3 with CONFIG_AUFS_DEBUG enabled
- branch-fs is loopback-mounted ext3


> Environment:
>   Kernel: v5.4
>   Aufs: aufs5-standalone(5.4.3 20210104)
>   Requirement: CONFIG_AUFS_DEBUG enabled
>
> BTW, this bug can reproduced with Ubuntu Focal if enable CONFIG_AUFS_DEBUG

Do you mean your kernel is plain v5.4.0?
If so, you should use aufs5.4 instead of aufs5.4.3.
Or are you using Ubuntu Focal and replaced aufs module manually?  Anyway
I'd suggest you to check your build environment one more time.

And next time you post something, please include these info.

(From aufs README file)
When you have any problems or strange behaviour in aufs, please let me
know with:
- /proc/mounts (instead of the output of mount(8))
- /sys/module/aufs/*
- /sys/fs/aufs/* (if you have them)
- /debug/aufs/* (if you have them)
- linux kernel version
  if your kernel is not plain, for example modified by distributor,
  the url where i can download its source is necessary too.
- aufs version which was printed at loading the module or booting the
  system, instead of the date you downloaded.
- configuration (define/undefine CONFIG_AUFS_xxx)
- kernel configuration or /proc/config.gz (if you have it)
- LSM (linux security module, if you are using)


J. R. Okajima

Reply via email to