Project

General

Profile

Bug #10351

mount.ceph prints spurious "mount: error writing /etc/mtab: Invalid argument"

Added by John Spray almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/17/2014
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
giant,firefly,emperor
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Duplicates Linux kernel client - Bug #8122: bogus mount error "mount: error writing /etc/mtab: Invalid argumentnothing was mounted" Duplicate 04/16/2014

Associated revisions

Revision bdd0e3c4 (diff)
Added by Yan, Zheng almost 4 years ago

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 <>

Revision 5a8256e4 (diff)
Added by Yan, Zheng almost 4 years ago

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 <>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)

Revision d5c3a143 (diff)
Added by Yan, Zheng over 3 years ago

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 <>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)

Revision 4bd52374 (diff)
Added by Yan, Zheng over 3 years ago

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 <>
(cherry picked from commit bdd0e3c4bda97fe18487a58dd173a7dff752e1a2)

History

#1 Updated by John Spray almost 4 years ago

  • Project changed from Ceph to fs

#2 Updated by Dmitry Smirnov almost 4 years ago

I reported it as #8122 eight months ago...

#3 Updated by John Spray almost 4 years ago

  • Project changed from fs to Linux kernel client
  • Status changed from New to Duplicate

#4 Updated by Zheng Yan almost 4 years ago

  • Status changed from Duplicate to Need Review

#5 Updated by Zheng Yan almost 4 years ago

  • Status changed from Need Review to Duplicate

dup of #10351

#6 Updated by Sage Weil almost 4 years ago

  • Status changed from Duplicate to Pending Backport
  • Backport set to giant,firefly

#7 Updated by Loic Dachary almost 4 years ago

  • Backport changed from giant,firefly to giant,firefly,emperor

#10 Updated by Sage Weil over 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF