Project

General

Profile

Actions

Bug #10542

closed

ceph-fuse cap trimming fails with: mount: only root can use "--options" option

Added by John Spray over 9 years ago. Updated almost 7 years ago.

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?


Related issues 1 (0 open1 closed)

Related to CephFS - Bug #10277: ceph-fuse: Consistent pjd failure in getcwdResolvedZheng Yan12/08/2014

Actions
Actions

Also available in: Atom PDF