Quoth Tom Dillard on Mon, Oct 23, 2006 at 11:44:30AM -0700:
> Is this just a legacy holdover, or is there another reason why the
> refreshing of the syslogd is performed in /etc/logadm.conf using pkill
> instead of svcadm?  I'm running  Solaris 10 6/06 s10s_u2wos_09a SPARC.

svcadm refresh is meant to commit configuration changes and notify the
service of those changes.  For syslog, this happens to be the same
operation as close-log-files-for-rotation, which is what we really want
to do.  But from an SMF perspective, they're not the same, so logadm
shouldn't use svcadm refresh.  In particular, if an administrator were
in the middle of making changes, and logadm refreshed syslog, then the
changes might be committed prematurely.


David

Reply via email to