[LU-8257] Update error if /etc/mtab is a symlink Created: 10/Jun/16  Updated: 04/Nov/16  Resolved: 06/Aug/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Duplicate
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This is a bit of rehash of LU-1833 / LU-2168 with a twist.

That patch checked if /etc/mtab is a symlink to /proc/... and if so skipped the update.

Well, now on Fedora 23+ (and possibly even F22) /etc/mtab is always a symlink to "../proc/self/mounts", the leading "../" throws our logic off and needs updating



 Comments   
Comment by Gerrit Updater [ 12/Jul/16 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/21260
Subject: LU-8257 utils: fix mtab symlink logic
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 632a18c05c2db7283fd335aa721e09e85d9aaed4

Comment by Gerrit Updater [ 06/Aug/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21260/
Subject: LU-8257 utils: fix mtab symlink logic
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1136148d2f07a282c45c45124039eca83a16f2cc

Comment by Peter Jones [ 06/Aug/16 ]

Landed for 2.9

Generated at Sat Feb 10 02:15:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.