RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1269601 - wrong handling of filename '\' on vboxsf
Summary: wrong handling of filename '\' on vboxsf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: findutils
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-07 16:50 UTC by Ondřej Pták
Modified: 2015-10-26 11:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-26 11:39:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondřej Pták 2015-10-07 16:50:22 UTC
Description of problem:
File '\' is listed 2038 times on vboxsf filesystem, each time longer

Version-Release number of selected component (if applicable):
findutils-4.5.11-3.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. setup shared dirrectory in virtualbox and set working dirrectory to it
2. mkdir test && touch test/\\ && cd test
3. find .

Actual results:
.
./\
./\/\
./\/\/\
./\/\/\/\
./\/\/\/\/\
./\/\/\/\/\/\
(...)

Expected results:
.
./\

Additional info:
* the same problem is in findutils-4.4.2-6.el6
* works correctly on xfs, ext4, msdos, vfat, cifs
* other tools like ls, git, file, ln   has no problem with this filename

Comment 2 Kamil Dudka 2015-10-08 15:09:17 UTC
(In reply to Ondřej Pták from comment #0)
> Steps to Reproduce:
> 1. setup shared dirrectory in virtualbox and set working dirrectory to it

Could you please elaborate on the above step?

Are there any RHEL/EPEL packages I need to install?

What commands should I run to setup the shared directory?

Comment 3 Ondřej Pták 2015-10-09 08:24:04 UTC
Sure I can. Here is more detailed explanation of step 1:
a) install Virtualbox https://www.virtualbox.org/wiki/Downloads
b) create VM in Virtualbox
c) install rhel-7 into that VM
d) install guest additions (needs for shared directory support, error in installing graphical driver can be ignored)
e) setup shared directory (MenuPanel:Devices->Shared Folder Settings)
f) reboot (I'm not sure if this is necessary)
e) now shared directory from host OS should be available in VM system, which looks like this:
#mount
(...)
none on /media/sf_autogit type vboxsf (rw,nodev,relatime)

Comment 4 Ondřej Pták 2015-10-09 08:25:31 UTC
I forgot to add link to instructions for d), here it is: http://linuxconfig.org/rhel-7-virtualbox-guest-additions-installation

Comment 5 Ondřej Pták 2015-10-09 08:43:05 UTC
I just tried all these steps and found 1 error.
step 2.: for some reason I'm unable to create file \ from VM, but I can create it in host VM

Comment 6 Kamil Dudka 2015-10-09 16:21:54 UTC
I have followed the above steps but find worked as expected.  It must have been something specific to your configuration.  Note that I was able to create a file named '\' from my RHEL-7 VM just fine.  In any case, this does not seem to be a bug of findutils.

Comment 8 Ondřej Pták 2015-10-26 11:39:30 UTC
Sorry for delay, I was too busy lately. Finally I found time for setting clean environment (reinstalled VirtualBox, newly created VM). This issue doesn't occurs with the same version of findutils, so the cause of this issue is somewhere else, probably filesystem kernel module or anything other broken on my environment.


Note You need to log in before you can comment on or make changes to this bug.