https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2014-10-25T16:52:28ZCeph devops - Bug #9404: rpm: mount.fuse.ceph is installed in /usr/sbin instead of /sbinhttps://tracker.ceph.com/issues/9404?journal_id=436852014-10-25T16:52:28ZSage Weilsage@newdream.net
<ul><li><strong>Assignee</strong> set to <i>Boris Ranto</i></li></ul> devops - Bug #9404: rpm: mount.fuse.ceph is installed in /usr/sbin instead of /sbinhttps://tracker.ceph.com/issues/9404?journal_id=677332016-03-17T16:47:41ZSage Weilsage@newdream.net
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Won't Fix</i></li></ul><p>/sbin symlinks to /usr/sbin, so it doesn't matter.</p> devops - Bug #9404: rpm: mount.fuse.ceph is installed in /usr/sbin instead of /sbinhttps://tracker.ceph.com/issues/9404?journal_id=677552016-03-17T20:44:49ZNathan Cutlerncutler@suse.cz
<ul></ul><p>Installing it to /sbin would be as simple as dropping this line: <a class="external" href="https://github.com/ceph/ceph/blob/master/ceph.spec.in#L807">https://github.com/ceph/ceph/blob/master/ceph.spec.in#L807</a></p>
<p>/sbin is a separate directory in SLE/openSUSE.</p>
<p>Do you remember why this was considered a bug?</p> devops - Bug #9404: rpm: mount.fuse.ceph is installed in /usr/sbin instead of /sbinhttps://tracker.ceph.com/issues/9404?journal_id=677562016-03-17T20:48:08ZNathan Cutlerncutler@suse.cz
<ul></ul><p>Ah! From <a class="external" href="https://github.com/coreos/bugs/issues/358">https://github.com/coreos/bugs/issues/358</a></p>
<p>A bit of context. If you create a new filesystem, and want to be able to mount it using mount -t myfs, the way mount works is that you have to install a binary named mount.myfs in /sbin. As far as I'm aware, this cannot be changed; the directory that mount searches in is fixed as /sbin</p>
<p>I see that in openSUSE the helpers are either installed in /sbin directly, or they installed in /usr/sbin with a symlink in /sbin.</p> devops - Bug #9404: rpm: mount.fuse.ceph is installed in /usr/sbin instead of /sbinhttps://tracker.ceph.com/issues/9404?journal_id=739202016-07-06T08:08:22ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Related to</strong> <i><a class="issue tracker-7 status-3 priority-4 priority-default closed" href="/issues/16598">Fix #16598</a>: mount.ceph: move from ceph-base to ceph-common and add symlink in /sbin for SUSE</i> added</li></ul>