This repository was archived by the owner on Oct 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 139
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
Using --names-only as option to 'atomic diff' does not produce any RPM differences #378
Copy link
Copy link
Closed
Description
Using atomic 1.9 on RHELAH 7.2.4:
# atomic --version
1.9
# rpm -q atomic
atomic-1.9-4.gitff44c6a.el7.x86_64
When running atomic diff -r <image1> <image2>, I get a bunch of file differences and then a table with RPM differences:
# atomic diff -r registry.access.redhat.com/rhel7.2:7.2-46 registry.access.redhat.com/rhel7.2:7.2-56
Files only in registry.access.redhat.com/rhel7.2:7.2-46:
/var/log/anaconda/ks-script-qAOJrD.log
/var/log/anaconda/ks-script-k8yjSj.log
/var/log/anaconda/ks-script-7LFMQs.log
/var/lib/yum/history/history-2016-03-01.sqlite
/var/lib/yum/history/history-2016-03-01.sqlite-journal
/var/lib/yum/history/2016-03-01
...
registry.access.redhat.com/rhel7.2:7.2-46 | registry.access.redhat.com/rhel7.2:7.2-56
--------------------------------------- | ---------------------------------------
Red Hat Enterprise Linux Server relea | Red Hat Enterprise Linux Server relea
se 7.2 (Maipo) | se 7.2 (Maipo)
--------------------------------------- | ---------------------------------------
kpartx-0-0.4.9-85.el7 |
| kpartx-0-0.4.9-85.el7_2.1
krb5-libs-0-1.13.2-10.el7 |
| krb5-libs-0-1.13.2-12.el7_2
libblkid-0-2.23.2-26.el7 |
| libblkid-0-2.23.2-26.el7_2.2
libmount-0-2.23.2-26.el7 |
| libmount-0-2.23.2-26.el7_2.2
libssh2-0-1.4.3-10.el7 |
| libssh2-0-1.4.3-10.el7_2.1
libuuid-0-2.23.2-26.el7 |
| libuuid-0-2.23.2-26.el7_2.2
nss-util-0-3.19.1-4.el7_1 |
| nss-util-0-3.19.1-9.el7_2
openldap-0-2.4.40-8.el7 |
| openldap-0-2.4.40-9.el7_2
tzdata-0-2016a-1.el7 |
| tzdata-0-2016b-1.el7
util-linux-0-2.23.2-26.el7 |
| util-linux-0-2.23.2-26.el7_2.2
When I run the same command with the --names-only option, I get a message stating there are no RPM differences, which is obviously not the case:
# atomic diff -r --names-only registry.access.redhat.com/rhel7.2:7.2-46 registry.access.redhat.com/rhel7.2:7.2-56
Files only in registry.access.redhat.com/rhel7.2:7.2-46:
/var/log/anaconda/ks-script-qAOJrD.log
/var/log/anaconda/ks-script-k8yjSj.log
/var/log/anaconda/ks-script-7LFMQs.log
/var/lib/yum/history/history-2016-03-01.sqlite
/var/lib/yum/history/history-2016-03-01.sqlite-journal
/var/lib/yum/history/2016-03-01
...
registry.access.redhat.com/rhel7.2:7.2-46 and registry.access.redhat.com/rhel7.2:7.2-56 have no different RPMs
FWIW, both images used in the diff were pulled locally on the system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels