Bug 732304
Summary: | readlink on empty path is not POSIX compliant anymore | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vittorio <vitti570> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, vitti570 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-29 20:28:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vittorio
2011-08-21 19:49:41 UTC
You should report this upstream. Looks like this was caused by these two changes: http://git.kernel.org/linus/f52e0c11305aa09ed56cad97ffc8f0cdc3d78b5d http://git.kernel.org/linus/65cfc6722361570bfe255698d9cd4dccaf47570d Before the second change, if path was empty we immediately returned -ENOENT. Now we fall further into the filesystem code trying to look up the empty path and something there is returning -EINVAL. The fix for this is now in the -mm tree: Subject: [stable] + readlinkat-ensure-we-return-enoent-for-the-empty-pathname-for-normal-lookups.patch added to -mm tree The patch Chuck highlighted was included in the 3.1.1 release (2.6.41.1 in F15) |