| Summary: | sudo yum fails if CWD is nfs root squashed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | wmason | ||||
| Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | ffesti, james.antill, maxamillion, phil.regier, pmatilai, tla | ||||
| 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: | 2011-06-20 14:25:13 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Duplicate of 698795 *** This bug has been marked as a duplicate of bug 698795 *** |
Created attachment 505315 [details] strace output from yum Since F15, I can no longer run "sudo yum install <package name>" if the current working directory is on nfs and it is root squashed. I've attached strace output from a failing install. The important part follows: open(".", O_RDONLY) = -1 EACCES (Permission denied) write(17, "error: Unable to open current di"..., 59) = 59 The following is a example of the run failing on nfs and working in /tmp: $ pwd /users/wmason $ sudo yum install httpd-devel [sudo] password for wmason: Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: kdeforge.unl.edu * updates: kdeforge.unl.edu Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd-devel.x86_64 0:2.2.17-10.fc15.1 will be installed --> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.17-10.fc15.1.x86_64 --> Processing Dependency: apr-devel for package: httpd-devel-2.2.17-10.fc15.1.x86_64 --> Running transaction check ---> Package apr-devel.x86_64 0:1.4.5-1.fc15 will be installed ---> Package apr-util-devel.x86_64 0:1.3.12-1.fc15 will be installed --> Processing Dependency: apr-util = 1.3.12-1.fc15 for package: apr-util-devel-1.3.12-1.fc15.x86_64 --> Running transaction check ---> Package apr-util.x86_64 0:1.3.10-7.fc15 will be updated --> Processing Dependency: apr-util = 1.3.10-7.fc15 for package: apr-util-ldap-1.3.10-7.fc15.x86_64 ---> Package apr-util.x86_64 0:1.3.12-1.fc15 will be an update --> Running transaction check ---> Package apr-util-ldap.x86_64 0:1.3.10-7.fc15 will be updated ---> Package apr-util-ldap.x86_64 0:1.3.12-1.fc15 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================================================================================================== Installing: httpd-devel x86_64 2.2.17-10.fc15.1 fedora 143 k Installing for dependencies: apr-devel x86_64 1.4.5-1.fc15 updates 186 k apr-util-devel x86_64 1.3.12-1.fc15 updates 69 k Updating for dependencies: apr-util x86_64 1.3.12-1.fc15 updates 80 k apr-util-ldap x86_64 1.3.12-1.fc15 updates 16 k Transaction Summary ============================================================================================================================================================================================================================================================================== Install 3 Package(s) Upgrade 2 Package(s) Total download size: 495 k Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata Download delta size: 41 k (1/2): apr-util-1.3.10-7.fc15_1.3.12-1.fc15.x86_64.drpm | 27 kB 00:00 (2/2): apr-util-ldap-1.3.10-7.fc15_1.3.12-1.fc15.x86_64.drpm | 14 kB 00:00 Finishing rebuild of rpms, from deltarpms <delta rebuild> | 97 kB 00:01 Presto reduced the update size by 58% (from 97 k to 41 k). Package(s) data still to download: 398 k (1/3): apr-devel-1.4.5-1.fc15.x86_64.rpm | 186 kB 00:00 (2/3): apr-util-devel-1.3.12-1.fc15.x86_64.rpm | 69 kB 00:00 (3/3): httpd-devel-2.2.17-10.fc15.1.x86_64.rpm | 143 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 1.1 MB/s | 398 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction httpd-devel-2.2.17-10.fc15.1.x86_64 was supposed to be installed but is not! apr-util-ldap-1.3.12-1.fc15.x86_64 was supposed to be installed but is not! apr-devel-1.4.5-1.fc15.x86_64 was supposed to be installed but is not! apr-util-1.3.12-1.fc15.x86_64 was supposed to be installed but is not! apr-util-devel-1.3.12-1.fc15.x86_64 was supposed to be installed but is not! apr-util-1.3.10-7.fc15.x86_64 was supposed to be removed but is not! apr-util-ldap-1.3.10-7.fc15.x86_64 was supposed to be removed but is not! Installed: httpd-devel.x86_64 0:2.2.17-10.fc15.1 Dependency Installed: apr-devel.x86_64 0:1.4.5-1.fc15 apr-util-devel.x86_64 0:1.3.12-1.fc15 Dependency Updated: apr-util.x86_64 0:1.3.12-1.fc15 apr-util-ldap.x86_64 0:1.3.12-1.fc15 Complete! $ cd /tmp/ $ sudo yum install httpd-devel Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: kdeforge.unl.edu * updates: kdeforge.unl.edu Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd-devel.x86_64 0:2.2.17-10.fc15.1 will be installed --> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.17-10.fc15.1.x86_64 --> Processing Dependency: apr-devel for package: httpd-devel-2.2.17-10.fc15.1.x86_64 --> Running transaction check ---> Package apr-devel.x86_64 0:1.4.5-1.fc15 will be installed ---> Package apr-util-devel.x86_64 0:1.3.12-1.fc15 will be installed --> Processing Dependency: apr-util = 1.3.12-1.fc15 for package: apr-util-devel-1.3.12-1.fc15.x86_64 --> Running transaction check ---> Package apr-util.x86_64 0:1.3.10-7.fc15 will be updated --> Processing Dependency: apr-util = 1.3.10-7.fc15 for package: apr-util-ldap-1.3.10-7.fc15.x86_64 ---> Package apr-util.x86_64 0:1.3.12-1.fc15 will be an update --> Running transaction check ---> Package apr-util-ldap.x86_64 0:1.3.10-7.fc15 will be updated ---> Package apr-util-ldap.x86_64 0:1.3.12-1.fc15 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================================================================================================== Installing: httpd-devel x86_64 2.2.17-10.fc15.1 fedora 143 k Installing for dependencies: apr-devel x86_64 1.4.5-1.fc15 updates 186 k apr-util-devel x86_64 1.3.12-1.fc15 updates 69 k Updating for dependencies: apr-util x86_64 1.3.12-1.fc15 updates 80 k apr-util-ldap x86_64 1.3.12-1.fc15 updates 16 k Transaction Summary ============================================================================================================================================================================================================================================================================== Install 3 Package(s) Upgrade 2 Package(s) Total download size: 495 k Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata Download delta size: 41 k (1/2): apr-util-1.3.10-7.fc15_1.3.12-1.fc15.x86_64.drpm | 27 kB 00:00 (2/2): apr-util-ldap-1.3.10-7.fc15_1.3.12-1.fc15.x86_64.drpm | 14 kB 00:00 Finishing rebuild of rpms, from deltarpms <delta rebuild> | 97 kB 00:01 Presto reduced the update size by 58% (from 97 k to 41 k). Package(s) data still to download: 398 k (1/3): apr-devel-1.4.5-1.fc15.x86_64.rpm | 186 kB 00:00 (2/3): apr-util-devel-1.3.12-1.fc15.x86_64.rpm | 69 kB 00:00 (3/3): httpd-devel-2.2.17-10.fc15.1.x86_64.rpm | 143 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 2.6 MB/s | 398 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : apr-util-1.3.12-1.fc15.x86_64 1/7 Installing : apr-devel-1.4.5-1.fc15.x86_64 2/7 Installing : apr-util-devel-1.3.12-1.fc15.x86_64 3/7 Installing : httpd-devel-2.2.17-10.fc15.1.x86_64 4/7 Updating : apr-util-ldap-1.3.12-1.fc15.x86_64 5/7 Cleanup : apr-util-ldap-1.3.10-7.fc15.x86_64 6/7 Cleanup : apr-util-1.3.10-7.fc15.x86_64 7/7 Installed: httpd-devel.x86_64 0:2.2.17-10.fc15.1 Dependency Installed: apr-devel.x86_64 0:1.4.5-1.fc15 apr-util-devel.x86_64 0:1.3.12-1.fc15 Dependency Updated: apr-util.x86_64 0:1.3.12-1.fc15 apr-util-ldap.x86_64 0:1.3.12-1.fc15 Complete!