On Mon, 2017-04-24 at 09:59 -0600, Jason Gunthorpe wrote: > On Mon, Apr 24, 2017 at 05:09:18PM +0200, Benjamin Drung wrote: > > > > Hi, > > > > The init script for ibacm adds a Required-Start on openibd, but > > rdma- > > core does not ship an openibd service. redhat/rdma.service and > > redhat/rdma.kernel-init seem to do the same job as openibd, but > > they > > are only used in rpm packages. > > > > Can rdma-core ship a service that loads all the relevant kernel > > modules? Then ibacm can depend on that service. I am not sure if > > rdma.service is the best name for such an service. > > Debian should use the RH for this scripts, I think.. Is there a > problem with them? > > Why does ibacm need to depend on rdma.service anyhow? Ideally we'd > fix > that.. Other than the fact that it doesn't make much sense without RDMA interfaces, it doesn't have to depend on the rdma.service. However, in the early days, that wasn't true, it had problems if it was started before all interfaces were up. Back in the day, I put that dependency in there to help alleviate that issue. I haven't tested it lately to see if it's gone or not, but one would hope so. However, at least in the systemd world, the rdma service is autostarted, so ibacm probably ought to be autostarted too, regardless of whether it depends on the rdma service or not. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html