Amit Gupta wrote:
>
> Deliver collectd 4.8.x into OpenSolaris
> 13 November 2009


While there hasn't been extensive discussion here, the comments here
from Mark as well as some discussion in unrelated case 2009/575 lean
in the direction of $COMPONENT/$VERSION/ layout, so barring any last
minute reasons against it, I will draw a line in the sand and
suggest to adopt the more common versioning choice and go with

       /usr/lib/collectd/4/
       /etc/collectd/4/
       /var/collectd/4/
       /usr/share/collectd/4/
       /usr/include/collectd/4/

As with other versioned projects, it is benefitial to make the
'preferred' version easily found on the system by users, so those
files which fall under this casual discovery goal should in addition
be symlinked from the common locations.

For this case, that might just be the man pages, since the recommended
usage is to start it via smf and smf will know where to find the
binaries and shared libraries. But it is good if the casual user can
type 'man collectd' and have it work out of the box. (In the man page,
if you haven't already, you should document the locations of the rest
of the collectd files.)


Finally, as discussed in the thread, you can mark the exported package
names Volatile.

Aside from these points, the case seems to be converging on all the
comment topics.


-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to