Bug 709283

Summary: YUM has unclear ideas on the status of packages if it runs in a sshfs directory
Product: [Fedora] Fedora Reporter: Fabio Alessandro Locati <fale>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ffesti, james.antill, jnovy, maxamillion, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-06 06:32:24 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 Fabio Alessandro Locati 2011-05-31 09:36:02 UTC
Description of problem:
If you are in a sshfs directory YUM downloads the packages that you asked it to install, but when is going to install them, yum thinks that the packages should already be installed but when it checks, they are not present. As a result the whole installation fails printing the success of the installation

Version-Release number of selected component (if applicable):
Fedora 15

uname -a: Linux fale-netbook 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 i386 GNU/Linux

yum --version
3.2.29
Ignored option -q, -v, -d or -e (probably due to merging: -yq != -y -q)
  Installed: rpm-4.9.0-6.fc15.i686 at 2011-05-13 19:43
  Built    : Fedora Project at 2011-04-07 06:37
  Committed: Panu Matilainen <pmatilai> at 2011-04-07

  Installed: yum-3.2.29-5.fc15.noarch at 2011-05-29 10:02
  Built    : Fedora Project at 2011-05-11 15:19
  Committed: James Antill <james at fedoraproject.org> at 2011-05-11

Steps to Reproduce:
1. yum install fuse-sshfs
2. mkdir sshfs-folder
3. sshfs *user@host:/dir* sshfs-folder
4. cd sshfs-folder
5. yum install *whatever*
  
Actual results:
The installation seems to be completed, while no package is installed

Expected results:
The packages I asked to be installed should be installed

Comment 1 seth vidal 2011-05-31 14:00:59 UTC
This feels like the rpm bug where it goes sideways with weird cwd perms/access.

Comment 2 Panu Matilainen 2011-06-06 06:32:24 UTC

*** This bug has been marked as a duplicate of bug 698795 ***