lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a57e2fde-f430-952d-9878-d7a5307cb2db@embecosm.com>
Date:   Thu, 27 Jan 2022 15:09:21 +0000
From:   Maxim Blinov <maxim.blinov@...ecosm.com>
To:     Matthew Wilcox <willy@...radead.org>,
        Ritesh Harjani <riteshh@...ux.ibm.com>
Cc:     linux-ext4@...r.kernel.org,
        linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: Help! How to delete an 8094-byte PATH?

Hi Matthew, Ritesh,

On 27/01/2022 13:40, Matthew Wilcox wrote:
> here's an idea:
> 
> while true; do
> 	mv confdir3/confdir3 tmpd; rmdir confdir3; mv tmpd confdir3;
> done
> 

Thankyou for all your comments - mv'ing a child directory "up" and
deleting *that* did the trick!

Infact I was complaining about this to some colleagues who kindly
pointed me to this thread [1] where someone has exactly the same issue.

Searching for `confdir3`, it turns out this issue is more googleable
than I initially realized - there's quite a few others who have bumped
into these weird path length limitations, in particular with docker
(there's another thing I forgot to mention - to be clear, I'm running
QEMU inside a docker container.)

Still it seems strange, since the QEMU VM disk image is a static file
within the docker file system, and there are no bind mounts going on in
the container.

[1]: https://github.com/moby/moby/issues/13451

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ