On Wed, Aug 15, 2012 at 12:07:25PM -0700, Sean Hefty wrote: > I'm looking for ideas on the best way for handling applications which use > chroot, which results in failures using the rdma libraries. Specifically, > and not surprisingly, I see failures reading /sys/class/... and > /dev/infiniband/... > > For background, I'm trying to run vsftpd over rsockets using the preload > library with fork support. vsftpd will run only if I comment out its use of > chroot. I can reproduce the issue by inserting a chroot call into rstream. > > Does anyone have any suggestions?
Somehow you need to open the verbs device before doing the choot.. I think once verbs is open there is no further need for sysfs and dev.. Sounds like you are chrooting before creating the listening socket? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
