On 07/ 5/10 05:26 PM, Gavin Maltby wrote:
On 07/06/10 10:12, Shawn Walker wrote:
[cut]
There's no way for logadm to be better behaved and gracefully handle
missing entries like this?
Not that I can think of - logadm.conf records all the desired rotation
parameters for a log file set, and the desire to rotate that set is not
expressed anywhere else. A root cron job runs at 3:10am and iterates
through
/etc/logadm.conf.
But otherwise, pkg(5) doesn't yet provide a mechanism for doing
preserved file transformation (merges, edits, etc.). One has been
proposed though.
I guess it will be one for the release notes then.
The alternative would be a one-time SMF service to perform the upgrades
needed.
We'll look into that. An alternative may be to have a dedicated
/var/fm/fmd/fmdlogadm.conf file and a corresponding cron entry,
or spawn logadm against that conf file periodically from fmd
itself. Yuk.
Or...as someone else mentioned to me, logadm seems like a prime
candidate for using SMF for it's configuration.
Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss