[Pkg-ofed-devel] why does opensm have two initscripts?

Roland Dreier roland at digitalvampire.org
Tue Nov 20 17:46:30 UTC 2012


 > As far as I remember, it was done to get srp luns mounted correctly at
 > boot time on lenny systems. In order to do that opensm needed to be up,
 > but /var was not necessarily writeable, so the daemons were unable to log.
 > 
 > opensm-boot / srp-boot does a one-shot run on opensm/srp-tools, which is
 > enough for the mount / lvm init scripts to discover the lun, and then
 > the "normal" opensm/srp scripts get run later in the boot process and
 > start the deamons up properly.

Thanks.  I can't see how having two near-identical initscripts at
different levels does anything useful now, and I suspect there must be a
better way to handle starting daemons before /var/log is available.

I think I'll just remove opensm-boot from the updated opensm package,
and if someone comes along booting off SRP, then we can work to fix this
properly.

 - R.



More information about the Pkg-ofed-devel mailing list