Re: [PATCH] ibacm: fix ibacm service if ib_umad is not loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 16, 2018 at 05:25:46PM +0000, Weiny, Ira wrote:
> I'm going to top post this because it seems like what I have to say is not directly related to any of the comments so far.
> 
> It seems like ibacm is broken.  I think in 2 ways.
> 
> 1) It should be able to start without ib_umad being loaded.

Probably yes, at least enough to NAK a request

> 2) It should try to load ib_umad should requests come in on the
> socket.  Or at least fail the request with a log message of the
> reason for the failure.  Because this is a misconfiguration of a
> running system.

Probably..
 
> I'm not opposed to not starting ibacm on install.  I think systemd
> can auto start through the socket mechanism discussed.
> 
> But I do have a question regarding the netlink interface from the
> kernel.  Would systemd start ibacm on a query from the kernel?  Can
> it?  I'm far from a systemd expert.

Yes, it already does via this systemd magic:

# Bind to PF_NETLINK, NETLINK_RDMA, RDMA_NL_GROUP_LS
# Supported in systemd > 234
ListenNetlink=rdma 4

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux