diff --git a/docker_squash/image.py b/docker_squash/image.py
index 9487d44..40fa7fe 100644
--- a/docker_squash/image.py
+++ b/docker_squash/image.py
@@ -492,15 +492,21 @@ class Image(object):
                     "Skipping '%s' marker file, this file was added earlier for some reason..." % marker.name)
                 continue
 
+            # https://github.com/goldmann/docker-squash/issues/108
+            # Some tar archives do have the filenames prefixed with './'
+            # which does not have any effect when we unpack the tar achive,
+            # but when processing tar content - we see this.
+            actual_files = [actual_file, "./%s" % actual_file, "%s/" % actual_file, ".%s/" % actual_file]
+
             if files_in_layers:
                 for files in files_in_layers.values():
-                    if actual_file in files or "%s/" % actual_file in files:
+                    if set(files).intersection(actual_files):
                         should_be_added_back = True
                         break
             else:
                 # There are no previous layers, so we need to add it back
                 # In fact this shouldn't happen since having a marker file
-                # where there is no previous layer doesn not make sense.
+                # where there is no previous layer does not make sense.
                 should_be_added_back = True
 
             if should_be_added_back:

Marker files is skipped when it shouldn't be
When using d568d17703beed8d4eea04ef3987f591c1082af0 -- a removed file `/lib/systemd/system/getty.target`  was added back because the marker file `usr/lib/systemd/system/.wh.getty.target` was not added back.

Build log:

```
2016-07-21 08:32:36,167 - atomic_reactor.plugins.squash - INFO - will squash from base-image: 'sha256:5fbb74308f2db1a6c2fa06e72ede9fdd4ecf34754e8e9280e382b77652b470a3'
2016-07-21 08:32:36,167 - atomic_reactor.plugins.squash - DEBUG - Preparing Docker client...
2016-07-21 08:32:36,257 - atomic_reactor.plugins.squash - DEBUG - Docker client ready
2016-07-21 08:32:36,433 - atomic_reactor.plugins.squash - INFO - docker-squash version 1.0.0dev, Docker 7ffc8ee-unsupported, API 1.22...
2016-07-21 08:32:36,434 - atomic_reactor.plugins.squash - INFO - Using v2 image format
2016-07-21 08:32:36,435 - atomic_reactor.plugins.squash - DEBUG - Using /tmp/docker-squash-rXDNxo as the temporary directory
2016-07-21 08:32:36,619 - atomic_reactor.plugins.squash - INFO - Old image has 37 layers
2016-07-21 08:32:36,619 - atomic_reactor.plugins.squash - DEBUG - Old layers: [u'sha256:5fbb74308f2db1a6c2fa06e72ede9fdd4ecf34754e8e9280e382b77652b470a3', u'sha256:bbee0f5d0ff117a3d79fa01be9736f0857454f2cb84a3509e27a5c8ced5ddde9', u'sha256:832da14f124378d10b5bf503e027f79f87e470a6aae150ed8405011ee3a4e90f', u'sha256:b276d5028ac16bec8160a5efb359bb92bab09c0f57219e5eb1f275dc6ba07ac1', u'sha256:e3d88785934717f96c14268ac609c0051637e10ade16e72f86b033aad5644063', u'sha256:97bb7a6f821846c9f74720782e71d8d58b032708605db2005636206eb1ccb376', u'sha256:dc584227175f896f8a88e606e199139489ecdc9a7937c91bace4d7a1509657d3', u'sha256:280d0437a5fea1bd95efa83c7ee81da1e8796219f40cb7899ff61b072c35f1d0', u'sha256:feabda7193bf435dd18e53fe22e8229de59e47b24934a4348bbd443a2281e5df', u'sha256:e544a788961c41219be547f02bcfd9f783510feda88a8b11718e3d202935d4ff', u'sha256:6d005672424201244af31e9340e65c8f4b2dfe81e37f8c747db78ecbe245508b', u'sha256:118f84e0dd0d7ef09bed5b5e5393184299d0c6602c1f2b1b83dab00700857de9', u'sha256:c09f0dea089b08f8905f2e881d5a29d2319d366dafe9b23ffcb2fa2868a7bee2', u'sha256:bbdaa984deb66c72828ca785bbd0fa2c937217c1e0f7ad0bead3806188d0b2ab', u'sha256:42f45005f9a773018e0da6b0ae68fb1821dd2eb919455c54a729c86fca80a1c0', u'sha256:9f6da8b3ddd79b39d99625aaa93b19f86177ec4b48da9e30c019764d107b120e', u'sha256:ea023ebd14ed0701fd291ee34d78fa3da2197ec456402b85135616745832d0fc', u'sha256:60a5c01275d5332d769a806c1dd5cba4e88f6faa776a013ef4567cc266066d6b', u'sha256:3091849c14c020c13832e3aee982043204971850a7720baaf8d2153c8a31115c', u'sha256:f22e7e897116af57810575e3bfabafe26200ac21499ba63b3adcc962abd77570', u'sha256:8d3c9563a66aafa920e5adab86508d6817d67e6485dab5bf735ee53b37e782ef', u'sha256:b20efd6f3e7f10a55dc8dd2d8501fae01aa0f66cd77b83f1bc0a5d782e9ee56c', u'sha256:6a3365a64966f3c1c7f3d709fe6274fcca4bd6701ae8d7fc9de958cbe29a1af9', u'sha256:819df5700f8fad20f1911ee83b30e240bcc70568757a6df82fee8286be7c3f38', u'sha256:72f2deb0660e678c0a44e3f5b0099fe693e67304619913a8e0744f70a1784b63', u'sha256:d16c502709728c73f00cd47fed58ad7533d47b032825c5319c9e0a7cdc233103', u'sha256:0eaad91b9476a5d724e10417df335f9ed5683cd65afb73bc21e8b5ca1d50ff3a', u'sha256:afb45d9f8f31741a4cbc1e5da1dff2735828976f1463394f5f269e2369337902', u'sha256:cfeec6a9ef41f307b29e3349ee7b1ebdf61d0ef7525245f3c9b6998949a257a1', u'sha256:c38bf991060ff332099a45ac442653e6c45664bd03df583d8bd674583a2c39a2', u'sha256:2720289416f1983f6eaf4ebd9efd2ec40561ee5a0ec8d4af22b3190823f25c4c', u'sha256:66baef731ae867db4513fa1e8ad4da2f79aba65359e5b376b61f334f6113263d', u'sha256:3838b05694fd9924171b58784cf91b0ee1b692fe8bf1d70033bf6e00513fa49a', u'sha256:2c8942f23fc3dc2cf400c624ec30deb6401d6a934992cfcb661a8fde6300c1de', u'sha256:9010760b9de5c078759da7490e98047843d9f137ed6951d5d63ff44707b63e19', u'sha256:94deeb9a1f4a6196b799dcc5333560184bf2cdbb6d1f8205201808854a5b837f', u'sha256:8d5939338b94210f4258c7e03bbfa1b318fb5353ece6ed749ae7423aed488af4']
2016-07-21 08:32:36,619 - atomic_reactor.plugins.squash - DEBUG - We detected layer as the argument to squash
2016-07-21 08:32:36,650 - atomic_reactor.plugins.squash - DEBUG - Layer ID to squash from: sha256:5fbb74308f2db1a6c2fa06e72ede9fdd4ecf34754e8e9280e382b77652b470a3
2016-07-21 08:32:36,650 - atomic_reactor.plugins.squash - INFO - Checking if squashing is necessary...
2016-07-21 08:32:36,651 - atomic_reactor.plugins.squash - INFO - Attempting to squash last 36 layers...
2016-07-21 08:32:36,651 - atomic_reactor.plugins.squash - DEBUG - Layers to squash: [u'sha256:bbee0f5d0ff117a3d79fa01be9736f0857454f2cb84a3509e27a5c8ced5ddde9', u'sha256:832da14f124378d10b5bf503e027f79f87e470a6aae150ed8405011ee3a4e90f', u'sha256:b276d5028ac16bec8160a5efb359bb92bab09c0f57219e5eb1f275dc6ba07ac1', u'sha256:e3d88785934717f96c14268ac609c0051637e10ade16e72f86b033aad5644063', u'sha256:97bb7a6f821846c9f74720782e71d8d58b032708605db2005636206eb1ccb376', u'sha256:dc584227175f896f8a88e606e199139489ecdc9a7937c91bace4d7a1509657d3', u'sha256:280d0437a5fea1bd95efa83c7ee81da1e8796219f40cb7899ff61b072c35f1d0', u'sha256:feabda7193bf435dd18e53fe22e8229de59e47b24934a4348bbd443a2281e5df', u'sha256:e544a788961c41219be547f02bcfd9f783510feda88a8b11718e3d202935d4ff', u'sha256:6d005672424201244af31e9340e65c8f4b2dfe81e37f8c747db78ecbe245508b', u'sha256:118f84e0dd0d7ef09bed5b5e5393184299d0c6602c1f2b1b83dab00700857de9', u'sha256:c09f0dea089b08f8905f2e881d5a29d2319d366dafe9b23ffcb2fa2868a7bee2', u'sha256:bbdaa984deb66c72828ca785bbd0fa2c937217c1e0f7ad0bead3806188d0b2ab', u'sha256:42f45005f9a773018e0da6b0ae68fb1821dd2eb919455c54a729c86fca80a1c0', u'sha256:9f6da8b3ddd79b39d99625aaa93b19f86177ec4b48da9e30c019764d107b120e', u'sha256:ea023ebd14ed0701fd291ee34d78fa3da2197ec456402b85135616745832d0fc', u'sha256:60a5c01275d5332d769a806c1dd5cba4e88f6faa776a013ef4567cc266066d6b', u'sha256:3091849c14c020c13832e3aee982043204971850a7720baaf8d2153c8a31115c', u'sha256:f22e7e897116af57810575e3bfabafe26200ac21499ba63b3adcc962abd77570', u'sha256:8d3c9563a66aafa920e5adab86508d6817d67e6485dab5bf735ee53b37e782ef', u'sha256:b20efd6f3e7f10a55dc8dd2d8501fae01aa0f66cd77b83f1bc0a5d782e9ee56c', u'sha256:6a3365a64966f3c1c7f3d709fe6274fcca4bd6701ae8d7fc9de958cbe29a1af9', u'sha256:819df5700f8fad20f1911ee83b30e240bcc70568757a6df82fee8286be7c3f38', u'sha256:72f2deb0660e678c0a44e3f5b0099fe693e67304619913a8e0744f70a1784b63', u'sha256:d16c502709728c73f00cd47fed58ad7533d47b032825c5319c9e0a7cdc233103', u'sha256:0eaad91b9476a5d724e10417df335f9ed5683cd65afb73bc21e8b5ca1d50ff3a', u'sha256:afb45d9f8f31741a4cbc1e5da1dff2735828976f1463394f5f269e2369337902', u'sha256:cfeec6a9ef41f307b29e3349ee7b1ebdf61d0ef7525245f3c9b6998949a257a1', u'sha256:c38bf991060ff332099a45ac442653e6c45664bd03df583d8bd674583a2c39a2', u'sha256:2720289416f1983f6eaf4ebd9efd2ec40561ee5a0ec8d4af22b3190823f25c4c', u'sha256:66baef731ae867db4513fa1e8ad4da2f79aba65359e5b376b61f334f6113263d', u'sha256:3838b05694fd9924171b58784cf91b0ee1b692fe8bf1d70033bf6e00513fa49a', u'sha256:2c8942f23fc3dc2cf400c624ec30deb6401d6a934992cfcb661a8fde6300c1de', u'sha256:9010760b9de5c078759da7490e98047843d9f137ed6951d5d63ff44707b63e19', u'sha256:94deeb9a1f4a6196b799dcc5333560184bf2cdbb6d1f8205201808854a5b837f', u'sha256:8d5939338b94210f4258c7e03bbfa1b318fb5353ece6ed749ae7423aed488af4']
2016-07-21 08:32:36,651 - atomic_reactor.plugins.squash - DEBUG - Layers to move: [u'sha256:5fbb74308f2db1a6c2fa06e72ede9fdd4ecf34754e8e9280e382b77652b470a3']
2016-07-21 08:32:36,651 - atomic_reactor.plugins.squash - INFO - Saving image sha256:8d5939338b94210f4258c7e03bbfa1b318fb5353ece6ed749ae7423aed488af4 to /tmp/docker-squash-rXDNxo/old/image.tar file...
2016-07-21 08:32:36,651 - atomic_reactor.plugins.squash - DEBUG - Try #1...
2016-07-21 08:33:35,240 - atomic_reactor.plugins.squash - INFO - Image saved!
2016-07-21 08:33:35,240 - atomic_reactor.plugins.squash - INFO - Unpacking /tmp/docker-squash-rXDNxo/old/image.tar tar file to /tmp/docker-squash-rXDNxo/old directory
2016-07-21 08:33:36,523 - atomic_reactor.plugins.squash - INFO - Archive unpacked!
2016-07-21 08:33:36,524 - atomic_reactor.plugins.squash - DEBUG - Removing exported tar (/tmp/docker-squash-rXDNxo/old/image.tar)...
2016-07-21 08:33:36,674 - atomic_reactor.plugins.squash - INFO - Squashing image 'sha256:8d5939338b94210f4258c7e03bbfa1b318fb5353ece6ed749ae7423aed488af4'...
2016-07-21 08:33:36,675 - atomic_reactor.plugins.squash - DEBUG - Reading '/tmp/docker-squash-rXDNxo/old/manifest.json' JSON file...
2016-07-21 08:33:36,676 - atomic_reactor.plugins.squash - DEBUG - Reading '/tmp/docker-squash-rXDNxo/old/8d5939338b94210f4258c7e03bbfa1b318fb5353ece6ed749ae7423aed488af4.json' JSON file...
2016-07-21 08:33:36,689 - atomic_reactor.plugins.squash - INFO - Starting squashing...
2016-07-21 08:33:36,689 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/37b1cf0c18c9775f6c1b90d2c31912259f18592c5a91bec55f4fc9663548e8bb/layer.tar'...
2016-07-21 08:33:36,691 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/37b1cf0c18c9775f6c1b90d2c31912259f18592c5a91bec55f4fc9663548e8bb/layer.tar' archive...
2016-07-21 08:33:36,691 - atomic_reactor.plugins.squash - DEBUG - Found 'etc/yum.repos.d/.wh.rhgs-docker.repo' marker file
2016-07-21 08:33:36,693 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/yum.repos.d/.wh.rhgs-docker.repo' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:36,693 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/cd17bd725c39babaa6695303ea2bf52ad1aa9ca7af626ddd4715be577e0db700/layer.tar'...
2016-07-21 08:33:36,695 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/cd17bd725c39babaa6695303ea2bf52ad1aa9ca7af626ddd4715be577e0db700/layer.tar' archive...
2016-07-21 08:33:36,696 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/e7a0da1b99477373e8dfc4bf0a6e8b19d6f3c86be46f176251c688e8f4390d52/layer.tar'...
2016-07-21 08:33:36,698 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/e7a0da1b99477373e8dfc4bf0a6e8b19d6f3c86be46f176251c688e8f4390d52/layer.tar' archive...
2016-07-21 08:33:36,698 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,699 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/512004235517479565c3b551711f31d2fb0b870ee3107b6c4bf492e49b035e03/layer.tar'...
2016-07-21 08:33:36,700 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/512004235517479565c3b551711f31d2fb0b870ee3107b6c4bf492e49b035e03/layer.tar' archive...
2016-07-21 08:33:36,701 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,701 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd' file because it's older than file already added to the archive
2016-07-21 08:33:36,701 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd/system' file because it's older than file already added to the archive
2016-07-21 08:33:36,701 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd/system/multi-user.target.wants' file because it's older than file already added to the archive
2016-07-21 08:33:36,701 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/8c643c4ce3f04c2c54fb28328d69101f15dff20c216cbe1fdc65ca66d47cfaec/layer.tar'...
2016-07-21 08:33:36,703 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/8c643c4ce3f04c2c54fb28328d69101f15dff20c216cbe1fdc65ca66d47cfaec/layer.tar' archive...
2016-07-21 08:33:36,742 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/c5ad8634728331c6361417c356104f9ddaf355dec459bec4ad19dcda076f2e5f/layer.tar'...
2016-07-21 08:33:36,744 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/c5ad8634728331c6361417c356104f9ddaf355dec459bec4ad19dcda076f2e5f/layer.tar' archive...
2016-07-21 08:33:36,744 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Group' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Installtid' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Name' file because it's older than file already added to the archive
2016-07-21 08:33:36,745 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Packages' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Providename' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Sha1header' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.001' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.002' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.003' file because it's older than file already added to the archive
2016-07-21 08:33:36,746 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/4016a911b5fa873be6dbf21b92da3ed34cc17d6eef01b113c08cf22d9ec2f594/layer.tar'...
2016-07-21 08:33:36,747 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/4016a911b5fa873be6dbf21b92da3ed34cc17d6eef01b113c08cf22d9ec2f594/layer.tar' archive...
2016-07-21 08:33:36,748 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/95fe99e8d651069505ad86144924048152d11b65738423db087c4152ebdc3308/layer.tar'...
2016-07-21 08:33:36,749 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/95fe99e8d651069505ad86144924048152d11b65738423db087c4152ebdc3308/layer.tar' archive...
2016-07-21 08:33:36,749 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr' file because it's older than file already added to the archive
2016-07-21 08:33:36,749 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/sbin' file because it's older than file already added to the archive
2016-07-21 08:33:36,750 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/cc1c8659cdb6f73f52e533a84a29c9d38b362c563c0ca7bed659ddd93e94c0c5/layer.tar'...
2016-07-21 08:33:36,751 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/cc1c8659cdb6f73f52e533a84a29c9d38b362c563c0ca7bed659ddd93e94c0c5/layer.tar' archive...
2016-07-21 08:33:36,751 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr' file because it's older than file already added to the archive
2016-07-21 08:33:36,751 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/sbin' file because it's older than file already added to the archive
2016-07-21 08:33:36,752 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/sbin/gluster-setup.sh' file because it's older than file already added to the archive
2016-07-21 08:33:36,752 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/e8516839de22e25bd0623c249f00e669015ccf51fb840c7c210260a86d7654a5/layer.tar'...
2016-07-21 08:33:36,753 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/e8516839de22e25bd0623c249f00e669015ccf51fb840c7c210260a86d7654a5/layer.tar' archive...
2016-07-21 08:33:36,753 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,754 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd' file because it's older than file already added to the archive
2016-07-21 08:33:36,754 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd/system' file because it's older than file already added to the archive
2016-07-21 08:33:36,754 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/ee5df63d06865eebe86318dcafa447e8623d728e15d00bc3e07129aa86de09d2/layer.tar'...
2016-07-21 08:33:36,765 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/ee5df63d06865eebe86318dcafa447e8623d728e15d00bc3e07129aa86de09d2/layer.tar' archive...
2016-07-21 08:33:36,766 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,769 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var' file because it's older than file already added to the archive
2016-07-21 08:33:36,769 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib' file because it's older than file already added to the archive
2016-07-21 08:33:36,781 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/f32375a80ae4bd943cbc3b808e10e699adcadfc0c72bc50da7195a1f80c91f57/layer.tar'...
2016-07-21 08:33:36,783 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/f32375a80ae4bd943cbc3b808e10e699adcadfc0c72bc50da7195a1f80c91f57/layer.tar' archive...
2016-07-21 08:33:36,783 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,783 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/9c2b4573275d60a182bdccf958a4be651513c9709aec7249bf7356344500dc8e/layer.tar'...
2016-07-21 08:33:36,784 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/9c2b4573275d60a182bdccf958a4be651513c9709aec7249bf7356344500dc8e/layer.tar' archive...
2016-07-21 08:33:36,785 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:36,786 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/96f5dc33a3b54f675842fd5ab829bf460485547eb1998c50c5fe9b52ba040d76/layer.tar'...
2016-07-21 08:33:36,787 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/96f5dc33a3b54f675842fd5ab829bf460485547eb1998c50c5fe9b52ba040d76/layer.tar' archive...
2016-07-21 08:33:36,787 - atomic_reactor.plugins.squash - DEBUG - Found 'usr/lib/systemd/system/.wh.getty.target' marker file
2016-07-21 08:33:36,787 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr' file because it's older than file already added to the archive
2016-07-21 08:33:36,788 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd/system/.wh.getty.target' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:36,788 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/dbf1ba70edba86c927c15719195c38ef165baaa87f0b9dc9c48ef76d44737dbf/layer.tar'...
2016-07-21 08:33:37,159 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/dbf1ba70edba86c927c15719195c38ef165baaa87f0b9dc9c48ef76d44737dbf/layer.tar' archive...
2016-07-21 08:33:37,161 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:37,181 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/ssh' file because it's older than file already added to the archive
2016-07-21 08:33:37,183 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/ssh/sshd_config' file because it's older than file already added to the archive
2016-07-21 08:33:37,189 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd' file because it's older than file already added to the archive
2016-07-21 08:33:37,189 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd/system' file because it's older than file already added to the archive
2016-07-21 08:33:37,189 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/systemd/system/multi-user.target.wants' file because it's older than file already added to the archive
2016-07-21 08:33:37,191 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr' file because it's older than file already added to the archive
2016-07-21 08:33:37,215 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib' file because it's older than file already added to the archive
2016-07-21 08:33:37,333 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd' file because it's older than file already added to the archive
2016-07-21 08:33:37,334 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd/system' file because it's older than file already added to the archive
2016-07-21 08:33:37,517 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/sbin' file because it's older than file already added to the archive
2016-07-21 08:33:37,625 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var' file because it's older than file already added to the archive
2016-07-21 08:33:37,628 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib' file because it's older than file already added to the archive
2016-07-21 08:33:37,652 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm' file because it's older than file already added to the archive
2016-07-21 08:33:37,657 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Group' file because it's older than file already added to the archive
2016-07-21 08:33:37,658 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Installtid' file because it's older than file already added to the archive
2016-07-21 08:33:37,658 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Name' file because it's older than file already added to the archive
2016-07-21 08:33:37,659 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Packages' file because it's older than file already added to the archive
2016-07-21 08:33:37,659 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Providename' file because it's older than file already added to the archive
2016-07-21 08:33:37,661 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Sha1header' file because it's older than file already added to the archive
2016-07-21 08:33:37,662 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.001' file because it's older than file already added to the archive
2016-07-21 08:33:37,663 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.002' file because it's older than file already added to the archive
2016-07-21 08:33:37,663 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.003' file because it's older than file already added to the archive
2016-07-21 08:33:37,931 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/log' file because it's older than file already added to the archive
2016-07-21 08:33:37,940 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/28995220d92565311a680db8e19a0678ece71608a7bb438779bf802aeb0ecf25/layer.tar'...
2016-07-21 08:33:37,943 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/28995220d92565311a680db8e19a0678ece71608a7bb438779bf802aeb0ecf25/layer.tar' archive...
2016-07-21 08:33:37,943 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:37,944 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/25197a0411b14fd70d3aa675fb01ba89e703603ecf8924aaf46eefcced544027/layer.tar'...
2016-07-21 08:33:38,250 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/25197a0411b14fd70d3aa675fb01ba89e703603ecf8924aaf46eefcced544027/layer.tar' archive...
2016-07-21 08:33:38,252 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/rpmdb-indexes/.wh.conflicts' marker file
2016-07-21 08:33:38,252 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/rpmdb-indexes/.wh.file-requires' marker file
2016-07-21 08:33:38,252 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/rpmdb-indexes/.wh.obsoletes' marker file
2016-07-21 08:33:38,252 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/rpmdb-indexes/.wh.pkgtups-checksums' marker file
2016-07-21 08:33:38,253 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/rpmdb-indexes/.wh.version' marker file
2016-07-21 08:33:38,253 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/b/.wh.af68a0f05a10ae1013a9d128a322d95bd2d2253c-bash-4.2.46-19.el7-x86_64' marker file
2016-07-21 08:33:38,253 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/c/.wh.0d55537940fff88ff97b377bf78c1cb52d99374b-coreutils-8.22-15.el7_2.1-x86_64' marker file
2016-07-21 08:33:38,253 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/d/.wh.dfdb080818dfd2e02836534dd7c19e821e2b1e8c-device-mapper-1.02.107-5.el7_2.4-x86_64' marker file
2016-07-21 08:33:38,254 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/d/.wh.f3565c38beb21b718dce196260cb748e64665dd7-device-mapper-libs-1.02.107-5.el7_2.4-x86_64' marker file
2016-07-21 08:33:38,254 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/l/.wh.c07ac9e951c85c7131a4c486a02a6300b70c3d6a-libxml2-2.9.1-6.el7_2.2-x86_64' marker file
2016-07-21 08:33:38,254 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/l/.wh.c66656ef67456a38385b0177a27456a780cb21eb-libxml2-python-2.9.1-6.el7_2.2-x86_64' marker file
2016-07-21 08:33:38,255 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/r/.wh.b96bc12559ab41298e99719fd6a0564fbf646f69-redhat-release-server-7.2-9.el7-x86_64' marker file
2016-07-21 08:33:38,255 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/s/.wh.42fe7434d9c2e306eacd4dc4bd7713efb431595e-sed-4.2.2-5.el7-x86_64' marker file
2016-07-21 08:33:38,255 - atomic_reactor.plugins.squash - DEBUG - Found 'var/lib/yum/yumdb/t/.wh.a39e4ca78e7a994a840cbd96cff6584d1ed31118-tzdata-2016d-1.el7-noarch' marker file
2016-07-21 08:33:38,255 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:38,259 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/ld.so.cache' file because it's older than file already added to the archive
2016-07-21 08:33:38,271 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/yum.repos.d' file because it's older than file already added to the archive
2016-07-21 08:33:38,273 - atomic_reactor.plugins.squash - DEBUG - Skipping 'root' file because it's older than file already added to the archive
2016-07-21 08:33:38,274 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr' file because it's older than file already added to the archive
2016-07-21 08:33:38,275 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/bin' file because it's older than file already added to the archive
2016-07-21 08:33:38,344 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib' file because it's older than file already added to the archive
2016-07-21 08:33:38,345 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd' file because it's older than file already added to the archive
2016-07-21 08:33:38,345 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd/system' file because it's older than file already added to the archive
2016-07-21 08:33:38,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/udev' file because it's older than file already added to the archive
2016-07-21 08:33:38,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/udev/rules.d' file because it's older than file already added to the archive
2016-07-21 08:33:38,350 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib64' file because it's older than file already added to the archive
2016-07-21 08:33:38,365 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/libexec' file because it's older than file already added to the archive
2016-07-21 08:33:38,367 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/sbin' file because it's older than file already added to the archive
2016-07-21 08:33:38,370 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/share' file because it's older than file already added to the archive
2016-07-21 08:33:39,200 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var' file because it's older than file already added to the archive
2016-07-21 08:33:39,200 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache' file because it's older than file already added to the archive
2016-07-21 08:33:39,201 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/ldconfig' file because it's older than file already added to the archive
2016-07-21 08:33:39,201 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/ldconfig/aux-cache' file because it's older than file already added to the archive
2016-07-21 08:33:39,202 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/yum' file because it's older than file already added to the archive
2016-07-21 08:33:39,202 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/yum/x86_64' file because it's older than file already added to the archive
2016-07-21 08:33:39,202 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/yum/x86_64/7Server' file because it's older than file already added to the archive
2016-07-21 08:33:39,311 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/cache/yum/x86_64/7Server/timedhosts' file because it's older than file already added to the archive
2016-07-21 08:33:39,311 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib' file because it's older than file already added to the archive
2016-07-21 08:33:39,313 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm' file because it's older than file already added to the archive
2016-07-21 08:33:39,314 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Basenames' file because it's older than file already added to the archive
2016-07-21 08:33:39,314 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Conflictname' file because it's older than file already added to the archive
2016-07-21 08:33:39,315 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Dirnames' file because it's older than file already added to the archive
2016-07-21 08:33:39,315 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Group' file because it's older than file already added to the archive
2016-07-21 08:33:39,317 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Installtid' file because it's older than file already added to the archive
2016-07-21 08:33:39,318 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Name' file because it's older than file already added to the archive
2016-07-21 08:33:39,319 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Obsoletename' file because it's older than file already added to the archive
2016-07-21 08:33:39,319 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Packages' file because it's older than file already added to the archive
2016-07-21 08:33:39,320 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Providename' file because it's older than file already added to the archive
2016-07-21 08:33:39,321 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Requirename' file because it's older than file already added to the archive
2016-07-21 08:33:39,322 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Sha1header' file because it's older than file already added to the archive
2016-07-21 08:33:39,323 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Sigmd5' file because it's older than file already added to the archive
2016-07-21 08:33:39,324 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.001' file because it's older than file already added to the archive
2016-07-21 08:33:39,324 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.002' file because it's older than file already added to the archive
2016-07-21 08:33:39,325 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.003' file because it's older than file already added to the archive
2016-07-21 08:33:39,325 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum' file because it's older than file already added to the archive
2016-07-21 08:33:39,326 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/history' file because it's older than file already added to the archive
2016-07-21 08:33:39,327 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/history/2016-06-16' file because it's older than file already added to the archive
2016-07-21 08:33:39,331 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/history/history-2016-06-16.sqlite' file because it's older than file already added to the archive
2016-07-21 08:33:39,332 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/history/history-2016-06-16.sqlite-journal' file because it's older than file already added to the archive
2016-07-21 08:33:39,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.conflicts' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.file-requires' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.obsoletes' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.pkgtups-checksums' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,348 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.version' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,349 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb' file because it's older than file already added to the archive
2016-07-21 08:33:39,349 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/b' file because it's older than file already added to the archive
2016-07-21 08:33:39,358 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/b/.wh.af68a0f05a10ae1013a9d128a322d95bd2d2253c-bash-4.2.46-19.el7-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,359 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/c' file because it's older than file already added to the archive
2016-07-21 08:33:39,366 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/c/.wh.0d55537940fff88ff97b377bf78c1cb52d99374b-coreutils-8.22-15.el7_2.1-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,366 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/d' file because it's older than file already added to the archive
2016-07-21 08:33:39,381 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/d/.wh.dfdb080818dfd2e02836534dd7c19e821e2b1e8c-device-mapper-1.02.107-5.el7_2.4-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,381 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/d/.wh.f3565c38beb21b718dce196260cb748e64665dd7-device-mapper-libs-1.02.107-5.el7_2.4-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,381 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/l' file because it's older than file already added to the archive
2016-07-21 08:33:39,387 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/l/.wh.c07ac9e951c85c7131a4c486a02a6300b70c3d6a-libxml2-2.9.1-6.el7_2.2-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,388 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/l/.wh.c66656ef67456a38385b0177a27456a780cb21eb-libxml2-python-2.9.1-6.el7_2.2-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,394 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/r' file because it's older than file already added to the archive
2016-07-21 08:33:39,394 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/r/.wh.b96bc12559ab41298e99719fd6a0564fbf646f69-redhat-release-server-7.2-9.el7-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,402 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/s' file because it's older than file already added to the archive
2016-07-21 08:33:39,403 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/s/.wh.42fe7434d9c2e306eacd4dc4bd7713efb431595e-sed-4.2.2-5.el7-x86_64' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,409 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/t' file because it's older than file already added to the archive
2016-07-21 08:33:39,415 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/t/.wh.a39e4ca78e7a994a840cbd96cff6584d1ed31118-tzdata-2016d-1.el7-noarch' marker file, at the end of squashing we'll see if it's necessary to add it back
2016-07-21 08:33:39,415 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/log' file because it's older than file already added to the archive
2016-07-21 08:33:39,416 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/log/rhsm' file because it's older than file already added to the archive
2016-07-21 08:33:39,416 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/log/rhsm/rhsm.log' file because it's older than file already added to the archive
2016-07-21 08:33:39,417 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/log/yum.log' file because it's older than file already added to the archive
2016-07-21 08:33:39,417 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/e480600995182186ed587a8339e775f2a994ac69e8f9e5605321d7b17a4f183b/layer.tar'...
2016-07-21 08:33:39,421 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/e480600995182186ed587a8339e775f2a994ac69e8f9e5605321d7b17a4f183b/layer.tar' archive...
2016-07-21 08:33:39,422 - atomic_reactor.plugins.squash - DEBUG - Skipping 'run' file because it's older than file already added to the archive
2016-07-21 08:33:39,423 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var' file because it's older than file already added to the archive
2016-07-21 08:33:39,423 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib' file because it's older than file already added to the archive
2016-07-21 08:33:39,424 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm' file because it's older than file already added to the archive
2016-07-21 08:33:39,424 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Group' file because it's older than file already added to the archive
2016-07-21 08:33:39,424 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Installtid' file because it's older than file already added to the archive
2016-07-21 08:33:39,425 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Name' file because it's older than file already added to the archive
2016-07-21 08:33:39,425 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Packages' file because it's older than file already added to the archive
2016-07-21 08:33:39,425 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Providename' file because it's older than file already added to the archive
2016-07-21 08:33:39,426 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/Sha1header' file because it's older than file already added to the archive
2016-07-21 08:33:39,426 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.001' file because it's older than file already added to the archive
2016-07-21 08:33:39,426 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.002' file because it's older than file already added to the archive
2016-07-21 08:33:39,427 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/rpm/__db.003' file because it's older than file already added to the archive
2016-07-21 08:33:39,427 - atomic_reactor.plugins.squash - INFO - Squashing file '/tmp/docker-squash-rXDNxo/old/42134c2195d29c68166fcc5643d8cc00a18f0f431b177815612939ea35f683b0/layer.tar'...
2016-07-21 08:33:39,428 - atomic_reactor.plugins.squash - DEBUG - Searching for marker files in '/tmp/docker-squash-rXDNxo/old/42134c2195d29c68166fcc5643d8cc00a18f0f431b177815612939ea35f683b0/layer.tar' archive...
2016-07-21 08:33:39,428 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc' file because it's older than file already added to the archive
2016-07-21 08:33:39,429 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/yum.repos.d' file because it's older than file already added to the archive
2016-07-21 08:33:39,429 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/yum.repos.d/rhgs-docker.repo' file because it's on the list to skip files
2016-07-21 08:33:40,170 - atomic_reactor.plugins.squash - DEBUG - Generating list of files in layer '94f79d4a6ca60db40b3095e4dd367211092685793d2c6f113b86134ade4fb2ab'...
2016-07-21 08:33:41,803 - atomic_reactor.plugins.squash - DEBUG - Done, found 11085 files
2016-07-21 08:33:41,817 - atomic_reactor.plugins.squash - DEBUG - Marker files to add: ['var/lib/yum/rpmdb-indexes/.wh.conflicts', 'var/lib/yum/yumdb/l/.wh.c07ac9e951c85c7131a4c486a02a6300b70c3d6a-libxml2-2.9.1-6.el7_2.2-x86_64', 'var/lib/yum/yumdb/c/.wh.0d55537940fff88ff97b377bf78c1cb52d99374b-coreutils-8.22-15.el7_2.1-x86_64', 'var/lib/yum/rpmdb-indexes/.wh.pkgtups-checksums', 'var/lib/yum/rpmdb-indexes/.wh.file-requires', 'var/lib/yum/yumdb/t/.wh.a39e4ca78e7a994a840cbd96cff6584d1ed31118-tzdata-2016d-1.el7-noarch', 'var/lib/yum/yumdb/r/.wh.b96bc12559ab41298e99719fd6a0564fbf646f69-redhat-release-server-7.2-9.el7-x86_64', 'var/lib/yum/rpmdb-indexes/.wh.obsoletes', 'var/lib/yum/yumdb/s/.wh.42fe7434d9c2e306eacd4dc4bd7713efb431595e-sed-4.2.2-5.el7-x86_64', 'var/lib/yum/yumdb/l/.wh.c66656ef67456a38385b0177a27456a780cb21eb-libxml2-python-2.9.1-6.el7_2.2-x86_64', 'var/lib/yum/rpmdb-indexes/.wh.version', 'var/lib/yum/yumdb/d/.wh.f3565c38beb21b718dce196260cb748e64665dd7-device-mapper-libs-1.02.107-5.el7_2.4-x86_64', 'etc/yum.repos.d/.wh.rhgs-docker.repo', 'usr/lib/systemd/system/.wh.getty.target', 'var/lib/yum/yumdb/b/.wh.af68a0f05a10ae1013a9d128a322d95bd2d2253c-bash-4.2.46-19.el7-x86_64', 'var/lib/yum/yumdb/d/.wh.dfdb080818dfd2e02836534dd7c19e821e2b1e8c-device-mapper-1.02.107-5.el7_2.4-x86_64']
2016-07-21 08:33:41,821 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.conflicts' marker file...
2016-07-21 08:33:41,822 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/l/.wh.c07ac9e951c85c7131a4c486a02a6300b70c3d6a-libxml2-2.9.1-6.el7_2.2-x86_64' marker file...
2016-07-21 08:33:41,823 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/c/.wh.0d55537940fff88ff97b377bf78c1cb52d99374b-coreutils-8.22-15.el7_2.1-x86_64' marker file...
2016-07-21 08:33:41,824 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.pkgtups-checksums' marker file...
2016-07-21 08:33:41,825 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.file-requires' marker file...
2016-07-21 08:33:41,826 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/t/.wh.a39e4ca78e7a994a840cbd96cff6584d1ed31118-tzdata-2016d-1.el7-noarch' marker file...
2016-07-21 08:33:41,827 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/r/.wh.b96bc12559ab41298e99719fd6a0564fbf646f69-redhat-release-server-7.2-9.el7-x86_64' marker file...
2016-07-21 08:33:41,828 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.obsoletes' marker file...
2016-07-21 08:33:41,829 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/s/.wh.42fe7434d9c2e306eacd4dc4bd7713efb431595e-sed-4.2.2-5.el7-x86_64' marker file...
2016-07-21 08:33:41,830 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/l/.wh.c66656ef67456a38385b0177a27456a780cb21eb-libxml2-python-2.9.1-6.el7_2.2-x86_64' marker file...
2016-07-21 08:33:41,831 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/rpmdb-indexes/.wh.version' marker file...
2016-07-21 08:33:41,832 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/d/.wh.f3565c38beb21b718dce196260cb748e64665dd7-device-mapper-libs-1.02.107-5.el7_2.4-x86_64' marker file...
2016-07-21 08:33:41,834 - atomic_reactor.plugins.squash - DEBUG - Skipping 'etc/yum.repos.d/.wh.rhgs-docker.repo' marker file...
2016-07-21 08:33:41,835 - atomic_reactor.plugins.squash - DEBUG - Skipping 'usr/lib/systemd/system/.wh.getty.target' marker file...
2016-07-21 08:33:41,836 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/b/.wh.af68a0f05a10ae1013a9d128a322d95bd2d2253c-bash-4.2.46-19.el7-x86_64' marker file...
2016-07-21 08:33:41,838 - atomic_reactor.plugins.squash - DEBUG - Skipping 'var/lib/yum/yumdb/d/.wh.dfdb080818dfd2e02836534dd7c19e821e2b1e8c-device-mapper-1.02.107-5.el7_2.4-x86_64' marker file...
2016-07-21 08:33:41,839 - atomic_reactor.plugins.squash - INFO - Squashing finished!
2016-07-21 08:33:45,324 - atomic_reactor.plugins.squash - DEBUG - Moving unmodified layer '94f79d4a6ca60db40b3095e4dd367211092685793d2c6f113b86134ade4fb2ab'...
2016-07-21 08:33:45,326 - atomic_reactor.plugins.squash - INFO - New squashed image ID is 4b406ac86d1ef8b15580141883c49901f20909347446095719eea85e81094cdd
2016-07-21 08:33:45,329 - atomic_reactor.plugins.squash - DEBUG - Generating tar archive for the squashed image...
2016-07-21 08:33:46,195 - atomic_reactor.plugins.squash - DEBUG - Archive generated
2016-07-21 08:33:46,195 - atomic_reactor.plugins.squash - INFO - Image available at '/tmp/tmp5cg_J_/image.tar'
2016-07-21 08:33:46,196 - atomic_reactor.plugins.squash - DEBUG - Generating tar archive for the squashed image...
2016-07-21 08:33:48,727 - atomic_reactor.plugins.squash - DEBUG - Archive generated
2016-07-21 08:33:48,728 - atomic_reactor.plugins.squash - DEBUG - Loading squashed image...
2016-07-21 08:34:09,220 - atomic_reactor.plugins.squash - DEBUG - Image loaded!
2016-07-21 08:34:09,342 - atomic_reactor.plugins.squash - INFO - Image registered in Docker daemon as vrutkovs/buildroot:none-20160721141845
2016-07-21 08:34:09,342 - atomic_reactor.plugins.squash - DEBUG - Cleaning up /tmp/docker-squash-rXDNxo temporary directory
2016-07-21 08:34:09,546 - atomic_reactor.plugins.squash - INFO - Done
```
diff --git a/tests/test_unit_v1_image.py b/tests/test_unit_v1_image.py
index f742365..6316399 100644
--- a/tests/test_unit_v1_image.py
+++ b/tests/test_unit_v1_image.py
@@ -274,6 +274,31 @@ class TestAddMarkers(unittest.TestCase):
 
         self.assertTrue(len(tar.addfile.mock_calls) == 0)
 
+    # https://github.com/goldmann/docker-squash/issues/108
+    def test_should_add_marker_file_when_tar_has_prefixed_entries(self):
+        tar = mock.Mock()
+        # Files already in tar
+        tar.getnames.return_value = ['./abc', './def']
+
+        marker_1 = mock.Mock()
+        type(marker_1).name = mock.PropertyMock(return_value='.wh.some/file')
+        marker_2 = mock.Mock()
+        type(marker_2).name = mock.PropertyMock(return_value='.wh.file2')
+
+        markers = {marker_1: 'filecontent1', marker_2: 'filecontent2'}
+
+        # List of layers to move (and files in these layers)
+        self.squash._add_markers(markers, tar, {'1234layerdid': ['./some/file', './other/file', './stuff']})
+
+        self.assertEqual(len(tar.addfile.mock_calls), 1)
+        tar_info, marker_file = tar.addfile.call_args[0]
+        self.assertIsInstance(tar_info, tarfile.TarInfo)
+        # We need to add the marker file because we need to
+        # override the already existing file
+        self.assertEqual(marker_file, 'filecontent1')
+        self.assertTrue(tar_info.isfile())
+
+
 class TestGeneral(unittest.TestCase):
 
     def setUp(self):

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov mock
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
docker-py==1.10.6
docker-pycreds==0.4.0
-e git+https://github.com/goldmann/docker-squash.git@afd81aefb5230ef8f001fec544e8649984427444#egg=docker_squash
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
mock==5.2.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
requests==2.32.3
six==1.17.0
tomli==2.2.1
urllib3==2.3.0
websocket-client==1.8.0

name: docker-squash
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - coverage==7.8.0
      - docker-py==1.10.6
      - docker-pycreds==0.4.0
      - exceptiongroup==1.2.2
      - idna==3.10
      - iniconfig==2.1.0
      - mock==5.2.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - pytest-cov==6.0.0
      - requests==2.32.3
      - six==1.17.0
      - tomli==2.2.1
      - urllib3==2.3.0
      - websocket-client==1.8.0
prefix: /opt/conda/envs/docker-squash

tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_marker_file_when_tar_has_prefixed_entries
tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_file_not_in_path_to_skip tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_the_file_that_name_is_similar_to_skipped_path tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_exact_files tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_subdirectory tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_with_proper_tag tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_without_tag tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_create_tmp_directory_if_not_provided tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_raise_if_directory_already_exists tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_use_provided_tmp_dir tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_generate_list_of_layers tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_not_fail_with_empty_list_of_layers tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_return_all_layers_if_from_layer_is_not_found tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id_that_is_not_integer_shen_shortened tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_generate_json tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_handle_empty_image_id tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_should_not_generate_repositories_if_name_and_tag_is_missing tests/test_unit_v1_image.py::TestMarkerFiles::test_should_find_all_marker_files tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_files_are_in_the_tar tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_marker_files_are_found tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_add_any_marker_files tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_fail_with_empty_list_of_markers_to_add tests/test_unit_v1_image.py::TestAddMarkers::test_should_skip_a_marker_file_if_file_is_in_unsquashed_layers tests/test_unit_v1_image.py::TestGeneral::test_exit_if_no_output_path_provided_and_loading_is_disabled_too tests/test_unit_v1_image.py::TestGeneral::test_handle_case_when_no_image_is_provided
docker_squash/image.py
docker_squash/image.py