On Thu, 23 Feb 2017, Adir Lev wrote: > Hi Cephers, > > In order to use systemctl with RDMA messenger we need to make few changes to /etc/systemd/system/ > 1. Set PrivateDevices=no > 2. Set LimitMEMLOCK=infinity > see PR: https://github.com/ceph/ceph/pull/13305 > > I got few rejects suggesting to change those params only when actually using RDMA. > Since systemd scripts are the first to run we cannot check it in ceph code. > > Any suggestion on how to check messenger type and set PrivateDevices and > LimitMEMLOCK accordingly? Hmm, is it possible to make them conditional on something in /etc/{sysconfig,default}/ceph? Then an RDMA user would just need to comment in a line like ENABLE_RDMA=1 or something... sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html