pkg icon indicating copy to clipboard operation
pkg copied to clipboard

FEATURE REQUEST: pkg history

Open vermaden opened this issue 10 years ago • 7 comments

Solaris/Illumos pkg history would be nice: http://jomasoftmarcel.blogspot.ch/2015/01/solaris-11-package-history.html

vermaden avatar Jan 27 '15 19:01 vermaden

Would be interesting, please note that you have the history in your syslog in the meantime

bapt avatar Jan 27 '15 19:01 bapt

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

mwisnicki avatar May 31 '15 18:05 mwisnicki

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.

vermaden avatar Jun 01 '15 07:06 vermaden

Indeed but that's better than nothing and doesn't require any coding.

mwisnicki avatar Jun 01 '15 07:06 mwisnicki

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.

vermaden avatar Jun 01 '15 07:06 vermaden

As #1054 was a duplicate of:

  • #311

is this #1155 a duplicate?

grahamperrin avatar Jan 29 '24 20:01 grahamperrin

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.

Crest avatar Feb 14 '24 08:02 Crest