Nicolas Williams wrote:
... For example, is /etc/services important here? I suspect the answer is "no" because apps usually have port numbers hardcoded as a fallback when the desired services(4) entry is not found, so failing to edit /etc/services on pkg install seems mostly harmless. And what about /etc/default/*? RBAC files seem to be a better candidate for new IPS actions than either of those.
Why is /etc/services important? An application wants to install itself and uses inetd. To use inetd requires that it supply a service name, along with protocol. inetd resolves that service name via /etc/service. New inetd things often require changes to /etc/services. Furthermore, sometimes changing the port number in /etc/services is the way to change which port a service runs on, whether it is by adding "ftpx" to use FTP on port 202 via inetd, or something else. We've designed and are doing more to enhance the design of Solaris being "pluggable" in the basic services it provides. Our packaging system needs to support that at every level. Darren _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
