Bug 880709 - systemd-tmpfiles[18919]: stat(/run/user/udo/gvfs) failed: Permission denied
Summary: systemd-tmpfiles[18919]: stat(/run/user/udo/gvfs) failed: Permission denied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 922325 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-27 16:16 UTC by udo
Modified: 2013-11-13 02:25 UTC (History)
17 users (show)

Fixed In Version: systemd-201-2.fc18.9
Clone Of:
Environment:
Last Closed: 2013-11-13 02:25:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description udo 2012-11-27 16:16:14 UTC
Description of problem:
For no clear reson a part of systemd runs and complains about a weird gvfs directory that is made by the distro. I do not expect to see my logs littered by non-errors as is teh case with fedora in its recent incarnations.
Please fix!

Version-Release number of selected component (if applicable):
systemd-44-21.fc17.x86_64

How reproducible:
Run Fedora 17. Use it.


  
Actual results:
systemd-tmpfiles[18919]: stat(/run/user/udo/gvfs) failed: Permission denied

Expected results:
no such log entries in messages file

Additional info:

Comment 1 Lennart Poettering 2013-01-14 17:36:28 UTC
Hmm, this is caused by FUSE which disallows access to shares served by unprivileged code even to privileged code, in order to ensure that unprivileged code cannot use this to deadlock privileged code.

Not sure what we can do about this. Just suppressing the error sounds problematic. Without stat()ing the inode we unfortunately can't determine its type either, and not look it up in /proc/self/mountinfo we'd have to use name_to_handle() which doesn't really work with no access either. Not sure what thebest way to handle this is.

Comment 2 Michal Schmidt 2013-01-15 12:59:53 UTC
I don't know of a perfect solution either, but looking it up in /proc/self/mountinfo by directory name could be good enough.

Comment 3 Lennart Poettering 2013-01-15 22:36:33 UTC
You mean looking it up by path in /proc/self/mountinfo? I guess that would be good enough, after all this is simply about suppressing a message, and has little effect on the control flow otherwise.

Comment 4 Michal Schmidt 2013-03-18 11:13:56 UTC
*** Bug 922325 has been marked as a duplicate of this bug. ***

Comment 5 Fedora End Of Life 2013-04-03 17:45:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 6 John 2013-08-19 13:10:48 UTC
Still a problem in F19. Journalctl includes a priority 3 message:

systemd-tmpfiles[2733]: stat(/run/user/1000/gvfs) failed: Permission denied

Kernel        : 3.10.7-200.fc19.x86_64
systemd.x86_64: 204-9.fc19

I expect any log messages thrown at priority 3 to be actionable.

Comment 7 Edouard Lefebvre 2013-08-29 16:59:18 UTC
Same here, F19 :

systemd-tmpfiles[4505]: stat(/run/user/1000/gvfs) failed: Permission denied

Kernel : 3.10.9-200.fc19.x86_64
systemd 204

Comment 8 Petr Sklenar 2013-10-14 11:46:06 UTC
hi,
there is still the same issue:

cat /var/log/messages | grep denied
Oct 13 09:36:25 masox systemd-tmpfiles[21940]: stat(/run/user/1002/gvfs) failed: Permission denied
Oct 14 09:36:25 masox systemd-tmpfiles[6280]: stat(/run/user/1002/gvfs) failed: Permission denied

# rpm -q systemd
systemd-204-16.fc19.x86_64

Comment 9 Jóhann B. Guðmundsson 2013-10-14 12:35:17 UTC
Moving this against the correct component ( gvfs ) component since this has nothing do do with systemd

GVFS crew did this go [¹] any further or something else that tries to fix the "design" flaw in gvfs ? 

1.https://bugzilla.gnome.org/review?bug=560658&attachment=235417

Comment 10 Lennart Poettering 2013-10-15 21:29:29 UTC
Nah, this is more a side effect of FUSE, since fuse means file systems run by unprivileged users are not accessible to root. We should probably automatically detect this and skip over the file systems in questions. Reassigning back to systemd.

Comment 11 Kay Sievers 2013-10-17 01:27:52 UTC
-EACCES failures are only printed at the debug level now

Comment 12 Fedora Update System 2013-10-22 16:21:09 UTC
systemd-204-17.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/systemd-204-17.fc19

Comment 13 Fedora Update System 2013-10-23 03:32:58 UTC
Package systemd-204-17.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-204-17.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19730/systemd-204-17.fc19
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2013-10-25 01:52:59 UTC
systemd-204-17.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2013-10-29 16:05:52 UTC
systemd-201-2.fc18.9 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-201-2.fc18.9

Comment 16 Fedora Update System 2013-10-30 01:53:37 UTC
Package systemd-201-2.fc18.9:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-201-2.fc18.9'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20267/systemd-201-2.fc18.9
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2013-11-13 02:25:15 UTC
systemd-201-2.fc18.9 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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