linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Help]Cannot read symbolic link, Invalid argument
@ 2019-03-11  6:35 kagamine rinfans
  2019-03-11  6:53 ` Amir Goldstein
  0 siblings, 1 reply; 2+ messages in thread
From: kagamine rinfans @ 2019-03-11  6:35 UTC (permalink / raw)
  To: linux-unionfs

Hello. I met a bug and want your help. When I run a container by
docker for a long time, some problems appeared.
In the container, a symbolic link has been broken.The filesystem is
overlay. The symlink libipfwinner.so point to libipfwinner.so.0.0.0.5.

Device Info:
sh-4.2$ uname -a
Linux xx 4.9.29 #1 SMP PREEMPT Fri Dec 21 16:00:00 CST 2018 x86_64
x86_64 x86_64 GNU/Linux

sh-4.2$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
overlay          7891460 2300196   5591264  30% /

Normal:
sh-4.2$ ls  /lib/ -ll | grep libipfw
lrwxrwxrwx 1 root root       23 Feb 21 09:31 libipfwinner.so ->
libipfwinner.so.0.0.0.5
-rwxr-xr-x 1 root root    69808 Feb 21 09:31 libipfwinner.so.0.0.0.5

Bug:
sh-4.2$ ls /lib/ -ll | grep libipfwinner
ls: cannot read symbolic link /lib/libipfwinner.so: Invalid argument
lrwxrwxrwx 1 root root       23 Feb 22 09:42 libipfwinner.so
-rwxr-xr-x 1 root root    69808 Feb 22 09:42 libipfwinner.so.0.0.0.5

sh-4.2$ cat libipfwinner.so
cat: libipfwinner.so: Too many levels of symbolic links


I think it might be a bug of overlayfs.I cannot reproduce this
problem.It only happened once.

I hope you can give me some advice.Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Help]Cannot read symbolic link, Invalid argument
  2019-03-11  6:35 [Help]Cannot read symbolic link, Invalid argument kagamine rinfans
@ 2019-03-11  6:53 ` Amir Goldstein
  0 siblings, 0 replies; 2+ messages in thread
From: Amir Goldstein @ 2019-03-11  6:53 UTC (permalink / raw)
  To: kagamine rinfans; +Cc: overlayfs

On Mon, Mar 11, 2019 at 8:36 AM kagamine rinfans <maykagura@gmail.com> wrote:
>
> Hello. I met a bug and want your help. When I run a container by
> docker for a long time, some problems appeared.
> In the container, a symbolic link has been broken.The filesystem is
> overlay. The symlink libipfwinner.so point to libipfwinner.so.0.0.0.5.
>
> Device Info:
> sh-4.2$ uname -a
> Linux xx 4.9.29 #1 SMP PREEMPT Fri Dec 21 16:00:00 CST 2018 x86_64
> x86_64 x86_64 GNU/Linux
>
> sh-4.2$ df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> overlay          7891460 2300196   5591264  30% /
>
> Normal:
> sh-4.2$ ls  /lib/ -ll | grep libipfw
> lrwxrwxrwx 1 root root       23 Feb 21 09:31 libipfwinner.so ->
> libipfwinner.so.0.0.0.5
> -rwxr-xr-x 1 root root    69808 Feb 21 09:31 libipfwinner.so.0.0.0.5
>
> Bug:
> sh-4.2$ ls /lib/ -ll | grep libipfwinner
> ls: cannot read symbolic link /lib/libipfwinner.so: Invalid argument
> lrwxrwxrwx 1 root root       23 Feb 22 09:42 libipfwinner.so
> -rwxr-xr-x 1 root root    69808 Feb 22 09:42 libipfwinner.so.0.0.0.5
>
> sh-4.2$ cat libipfwinner.so
> cat: libipfwinner.so: Too many levels of symbolic links
>
>
> I think it might be a bug of overlayfs.I cannot reproduce this
> problem.It only happened once.
>

Not much to go with.
If you have overelayfs warnings/errors from kernel log
that could shed some light.

Thanks,
Amir.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-11  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11  6:35 [Help]Cannot read symbolic link, Invalid argument kagamine rinfans
2019-03-11  6:53 ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).