[ofa-general] Re: [RFC] IB management changes proposal

Al Chu chu11 at llnl.gov
Thu Apr 26 12:01:54 PDT 2007


On Thu, 2007-04-26 at 10:46 -0400, Hal Rosenstock wrote:
> On Thu, 2007-04-26 at 01:02, Michael S. Tsirkin wrote:
> > > > There also some few commands (ib*.pl) that are using a file 
> > > > /tmp/ibnetdiscover.topology.  I suggest /var/cache/ibnetdiscover.topology
> > > 
> > > I'm not sure about this one. I need to think about this more.
> > 
> > Not sure about the best placement, but surely a predictable name
> > in a world-writeable directory is a security risk?

I've seen a number of user tools place cache files/temporary files to
the user's home directory.  For example:

~/.ofed/ibnetdiscover.topology

It should protect against the world readable/writeable issues I think.

Just a thought.

Al

> Is /var/cache world writeable ? I thought it was just world readable. If
> this were to be done, I would think the opensm directory underneath this
> would be more appropriate but I'm not leaning towards doing this since I
> think the current approach is more flexible and the topology can be
> supplied to all needed commands/scripts.
> 
> -- Hal
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
-- 
Albert Chu
chu11 at llnl.gov
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



More information about the general mailing list