Actions
Bug #10542
closedceph-fuse cap trimming fails with: mount: only root can use "--options" option
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
ceph-fuse
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This appears to be from:
760 static void remount_cb(void *handle) 761 { 762 // used for trimming kernel dcache. when remounting a file system, linux kernel 763 // trims all unused dentries in the file system 764 char cmd[1024]; 765 CephFuse::Handle *cfuse = (CephFuse::Handle *)handle; 766 snprintf(cmd, sizeof(cmd), "mount -i -o remount %s", cfuse->mountpoint); 767 system(cmd); 768 }
Seen on fedora when running ceph-fuse as unprivileged user.
ceph-qa-suite runs ceph-fuse as root, so presumably doesn't see this issue. Side note : maybe we should be running ceph-fuse as an unprivileged user in testing?
Actions