Michael Shapiro writes: > > We need stable paths to make things like that work. It'd be nice if > > the stable path weren't tied to an SMF historical artifact, which is > > why I think /etc/volatile is much better than /etc/svc/volatile. > > Exposing a door as a fixed pathname is a bad idea: expose a library interface > either to the fd, or wrapped around the protocol itself, because that is the > place we actually have proper versioning technology. > > Temporary files should be implementation details, not interfaces.
I think that completely misses the point I was making. I wasn't suggesting "exposing" the door as a fixed path name. In fact, I said nothing about how the API itself (perhaps a wrapper library) would be constructed. The problem still happens even if the library hides the location of the door. How does the library know where the door might be located if it doesn't have some way to get at $SMF_TMPDIR? The only way it can do that is by making part of the construction of $SMF_TMPDIR visible and predictable, at least to the library author. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677