Bug 240011 - yum install prints errors for fuse sshfs filesystems
yum install prints errors for fuse sshfs filesystems
Status: CLOSED DUPLICATE of bug 220991
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-14 07:42 EDT by Eric Harney
Modified: 2014-01-21 17:58 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-14 15:22:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
yum install output (3.20 KB, text/plain)
2007-05-14 07:42 EDT, Eric Harney
no flags Details

  None (edit)
Description Eric Harney 2007-05-14 07:42:02 EDT
Description of problem:
If a "yum install" is done, errors print for mounted fuse sshfs filesystems
saying "Permission denied" during the transaction test and transaction.

Version-Release number of selected component (if applicable):
yum-3.1.7-2.fc7

How reproducible:
Every time

Steps to Reproduce:
1. Mount a filesystem with sshfs as a non-root user.  "sshfs host:/ directory"
2. yum install <something>
  
Actual results:
Unnecessary error messages are printed during the install
Comment 1 Eric Harney 2007-05-14 07:42:02 EDT
Created attachment 154642 [details]
yum install output
Comment 2 Jeremy Katz 2007-05-14 14:46:11 EDT
What output do you get from 'stat /home/emh/test/fusemount'?  And are there any
avcs from selinux?
Comment 3 Eric Harney 2007-05-14 15:03:20 EDT
The root user can't stat or otherwise access /home/emh/test/fusemount.. it gets
the same permission denied error.   I think this is normal behavior as fuse is
setup per-user.  It may be the case that something doesn't handle this case
correctly, as the fs is listed in /etc/mtab, but only accessible to my user account.

I haven't seen any events logged from selinux.  Further poking has also revealed
that this message is output from any "rpm -i" or "rpm -e" command, and is not
yum-specific.
Comment 4 Jeremy Katz 2007-05-14 15:22:37 EDT
The error is entirely appropriate, then.  rpm has to do a stat of all mounted
filesystems when trying to determine if there's enough available space.  Giving
feedback that one of the filesystems couldnt' be stated is entirely reasonable.
Comment 5 Eric Harney 2007-05-14 15:35:20 EDT

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

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