pkg
pkg copied to clipboard
FEATURE REQUEST: pkg history
Solaris/Illumos pkg history would be nice: http://jomasoftmarcel.blogspot.ch/2015/01/solaris-11-package-history.html
Would be interesting, please note that you have the history in your syslog in the meantime
Maybe we should have default configuration for syslog then ? I.e.:
/etc/syslog.conf
!pkg
*.* /var/log/pkg.log
/etc/newsyslog.conf
/var/log/pkg.log 640 10 100 * JC
Dumping that information to syslog will make that information vanish ...
With ZFS the history is ALWAYS available with zpool history, ALWAYS.
With syslog the information will be first compressed, then rotated and deleted.
Regards, vermaden
On 05/31/2015 20:37, Marcin Wisnicki wrote:
Maybe we should have default configuration for syslog then ? I.e.:
|/etc/syslog.conf|
|!pkg . /var/log/pkg.log |
|/etc/newsyslog.conf|
|/var/log/pkg.log 640 10 100 * JC |
— Reply to this email directly or view it on GitHub https://github.com/freebsd/pkg/issues/1155#issuecomment-107232725.
Indeed but that's better than nothing and doesn't require any coding.
Its just my suggestion to make PKG better, I will not try to force You to implement zpool history :)
On 06/01/2015 09:58, Marcin Wisnicki wrote:
Indeed but that's better than nothing and doesn't require any coding.
— Reply to this email directly or view it on GitHub https://github.com/freebsd/pkg/issues/1155#issuecomment-107346282.
As #1054 was a duplicate of:
- #311
is this #1155 a duplicate?
The zpool history
output can be truncated. The pool will always preserve the first few commands (because they probably contain most important initial setup) and a ring buffer of the latest commands. The middle of the history can get lost.