[LU-8293] lnet init.d script missing insserv header Created: 16/Jun/16  Updated: 16/Feb/21  Resolved: 06/May/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0, Lustre 2.12.0, Lustre 2.10.3
Fix Version/s: Lustre 2.12.0, Lustre 2.10.5

Type: Bug Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: infiniband, lnet, patch

Issue Links:
Duplicate
is duplicated by LU-5715 Reboot hangs due to lustre modules Resolved
Related
is related to LU-11066 lnet.service doesn't shutdown before ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The missing header can result in situations where lnet is started before openibd.



 Comments   
Comment by Gerrit Updater [ 16/Jun/16 ]

Chris Horn (hornc@cray.com) uploaded a new patch: http://review.whamcloud.com/20835
Subject: LU-8293 lnet: Add insserv header to lnet init script
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cbde4c237d3410da8b26b57a44926e39912e4b66

Comment by Nathaniel Clark [ 27/Apr/18 ]

This also fixes systemd shutdown/reboot hangs with infiniband, as systemd can read the insserv header.

Comment by Gerrit Updater [ 06/May/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/20835/
Subject: LU-8293 lnet: Add insserv header to lnet init script
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c99b645470427c74b0ba6ea9a031d747b92030b5

Comment by Peter Jones [ 06/May/18 ]

Landed for 2.12

Comment by Nathaniel Clark [ 07/May/18 ]

Documentation also should be updated for el7 or any other systemd based system for client mounts (this is especially true for reboot/shutdown on Mellanox based systems).

The fstab mount options for a client mount:

noauto,_netdev,x-systemd.automount,x-systemd.requires=lnet.service
Comment by Gerrit Updater [ 23/May/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32518
Subject: LU-8293 lnet: Add insserv header to lnet init script
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 167e5617f07ea1f4309c049945232a8acd3fd1c0

Comment by Gerrit Updater [ 11/Jun/18 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/32518/
Subject: LU-8293 lnet: Add insserv header to lnet init script
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: dca6986570318c899fd1cbf79e614ba47fe11503

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