Bug 153665
Summary: | Unzip does not handle deferred symbolic links in NFS filesystem | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Aaron Gaudio <madcap> | ||||
Component: | unzip | Assignee: | Ivana Varekova <varekova> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-04-12 14:04:16 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: | |||||||
Attachments: |
|
Description
Aaron Gaudio
2005-04-04 20:19:24 UTC
Created attachment 112683 [details]
Test case with 1 deferred and 1 unresolved symlink.
I try to reproduce this problem, but I can't reproduce it. My unzip works right. Can you write me sizes of unpacked files foo/b and foo/c. Ivana Varekova You're right... after testing again, this works from a normal filesystem. However, when I run this from an NFS-mounted filesystem, that's when I get the error. I confirmed that Solaris's unzip behaves correctly even over NFS. I've updated the summary appropriately. Example output follows: $ unzip /tmp/foo.zip Archive: /tmp/foo.zip extracting: b linking: foo/b warning: symbolic link (foo/b) failed linking: foo/c warning: symbolic link (foo/c) failed $ ls -lR foo foo: total 0 -r-------- 1 agaudio mc-csp 0 Apr 5 20:42 b -r-------- 1 agaudio mc-csp 0 Apr 5 20:42 c I try to reproduce your problem on NFS-mounted filesystem, but unzip was right again. Have you got enough space to create nonempty file? Ivana Ivana, Thanks for your diligence on this. I've narrowed it down further. The problem apparently only happens on a Solaris-exported NFS filesystems. There is plenty of space on the drive. I've tried it with Solaris 8 NFS and Solaris 10 NFS with no luck. Note that I am able to create symlinks manually using 'ln -s' on such filesystems. Aaron, thank you for the bug report. However this bug should be reported upstream (and fixed by unzip developers). Can you please report this bug to upstream (http://www.goatley.com/hunter/zip-bug.html)? You can reproduce this bug so if there will be necessary some other specifications you can answer it directly. Thank you. Ivana |