Re: [CentOS] yum/dnf diff

2020-06-08 Thread Paddy Doyle
On Mon, Jun 08, 2020 at 04:00:31PM +0100, Paddy Doyle wrote:

> Just to mention that 'etckeeper' from EPEL is a great way of tracking

Ah, I see you mentioned you were using that already in the original post.

Sorry for the noise.

Paddy
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum/dnf diff

2020-06-08 Thread Paddy Doyle
On Fri, Jun 05, 2020 at 12:34:07PM -0700, Kenneth Porter wrote:

> I'm trying to figure out
> what edits I made to my config files.
> 
> My most recent case was trying to figure out what I'd done to my BIND files
> (/etc/named.*, /etc/logrotate.d/named, /var/named/*). I ended up just
> tarring them up and erasing and re-installing the bind package, then
> untarring my old config into a tmp directory and diffing the files
> individually, reapplying appropriate changes.

Just to mention that 'etckeeper' from EPEL is a great way of tracking
changes in /etc. It interfaces nicely with yum, such that installing a
package means that it will commit changes to the /etc repo. And there's a
daily crontab that commits changes. You can manually commit changes as
well. Then you can 'git log -p' to see what changes were made to the file
over time.

It won't track /var/named/* though.

Paddy

-- 
Paddy Doyle
Research IT / Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
Phone: +353-1-896-3725
https://www.tchpc.tcd.ie/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install fails - itertoolsmodule.so

2019-11-07 Thread Paddy Doyle
 is needed by (installed) 
> bacula-storage-5.2.13-23.1.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> bacula-client-5.2.13-23.1.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> gnome-python2-canvas-2.28.1-14.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> gnome-python2-bonobo-2.28.1-14.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> gnome-python2-gnomevfs-2.28.1-14.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> gnome-python2-gnome-2.28.1-14.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> pytalloc-2.1.6-1.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> samba-libs-0:4.4.4-9.el7.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> policycoreutils-python-2.5-11.el7_3.x86_64
> libpython2.7.so.1.0()(64bit) is needed by (installed) 
> systemd-python-219-30.el7_3.8.x86_64
> python-libs(x86-64) = 2.7.5-39.el7_2 is needed by (installed) 
> python-2.7.5-39.el7_2.x86_64
> [root@zeppo ~]#
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

-- 
Paddy Doyle
Research IT / Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
Phone: +353-1-896-3725
https://www.tchpc.tcd.ie/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I broke "yum update" - C7

2019-08-30 Thread Paddy Doyle
On Fri, Aug 30, 2019 at 12:17:47PM +0100, Gary Stainburn wrote:

> On Friday 30 August 2019 12:03:26 Alexander Dalloz wrote:
> >
> > Besides a corrupted certificates bundle I cannot imagine a different 
> > root cause actually.

Just to mention that the 'etckeeper' package from EPEL is great for
tracking changes to /etc. Package installs trigger a commit, as do a daily
cron job.

If in this case it was a corrupt file in /etc/pki, then a 'git log' or
similar could show when it happened. Although I think you tried 'rpm -V'
already so perhaps it wasn't a corrupt cert file.

Paddy

-- 
Paddy Doyle
Research IT / Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
Phone: +353-1-896-3725
https://www.tchpc.tcd.ie/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos