Bug #10351
mount.ceph prints spurious "mount: error writing /etc/mtab: Invalid argument"
0%
Description
The mount and update of mtab is apparently successful, but this error message is printed anyway. Googling for the error indicates that various other people have seen the same thing. There are some bugzilla threads about changing the return codes from addmntent, too, so this might be something that distros changed and we need to update (just a wild guess there).
Reported on Debian wheezy, ceph 0.87: http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/15936
Related issues
Associated revisions
mount.ceph: avoid spurious error message
/etc/mtab in most modern distributions is a symbol link to
/proc/self/mounts.
Fixes: #10351
Signed-off-by: Yan, Zheng <zyan@redhat.com>
mount.ceph: avoid spurious error message
/etc/mtab in most modern distributions is a symbol link to
/proc/self/mounts.
Fixes: #10351
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)
mount.ceph: avoid spurious error message
/etc/mtab in most modern distributions is a symbol link to
/proc/self/mounts.
Fixes: #10351
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)
mount.ceph: avoid spurious error message
/etc/mtab in most modern distributions is a symbol link to
/proc/self/mounts.
Fixes: #10351
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)
History
#1 Updated by John Spray almost 9 years ago
- Project changed from Ceph to CephFS
#2 Updated by Dmitry Smirnov almost 9 years ago
I reported it as #8122 eight months ago...
#3 Updated by John Spray almost 9 years ago
- Project changed from CephFS to Linux kernel client
- Status changed from New to Duplicate
#4 Updated by Zheng Yan over 8 years ago
- Status changed from Duplicate to Fix Under Review
#5 Updated by Zheng Yan over 8 years ago
- Status changed from Fix Under Review to Duplicate
dup of #10351
#6 Updated by Sage Weil over 8 years ago
- Status changed from Duplicate to Pending Backport
- Backport set to giant,firefly
#7 Updated by Loïc Dachary over 8 years ago
- Backport changed from giant,firefly to giant,firefly,emperor
#8 Updated by Loïc Dachary over 8 years ago
- firefly backport https://github.com/ceph/ceph/pull/3927
#9 Updated by Loïc Dachary over 8 years ago
- giant backport https://github.com/ceph/ceph/pull/4030
#10 Updated by Sage Weil over 8 years ago
- Status changed from Pending Backport to Resolved