Bug 1746417 - fuse-overlayfs: In-container tzdata upgrades/downgrades are broken (related to hard links?)
Summary: fuse-overlayfs: In-container tzdata upgrades/downgrades are broken (related t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fuse-overlayfs
Version: 30
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Giuseppe Scrivano
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-28 12:24 UTC by Florian Weimer
Modified: 2019-08-29 22:06 UTC (History)
8 users (show)

Fixed In Version: fuse-overlayfs-0.6.1-2.gitc548530.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-29 22:06:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2019-08-28 12:24:31 UTC
Steps to reproduce:

podman run -i -t registry.fedoraproject.org/fedora:30 /bin/bash
[root@d48624f6f993 /]# ls -l /usr/share/zoneinfo/Etc/UTC
-rw-r--r--. 1 root root 118 Jul 10 03:16 /usr/share/zoneinfo/Etc/UTC
[root@d48624f6f993 /]# dnf downgrade -y tzdata
[…]
Downgraded:
  tzdata-2019a-1.fc30.noarch                                                                                           

Complete!
[root@d48624f6f993 /]# ls -l /usr/share/zoneinfo/Etc/UTC
-rw-r--r--. 8 root root 0 Aug 28 12:20 /usr/share/zoneinfo/Etc/UTC

The file should not have length 0.  I also see this for tzdata updates (but that requires an outdated base image).

I suspect that this due to the way RPM installs hard-linked files.

Seen with:

kernel-5.2.7-200.fc30.x86_64
podman-1.5.1-3.fc30.x86_64

Comment 1 Florian Weimer 2019-08-28 12:29:03 UTC
I run podman as a regular user.  I have not changed its default (at least not consciously).  The backing file system for /home is XFS.

Comment 2 Daniel Walsh 2019-08-28 12:30:57 UTC
Could you try with the latest fuse-overlayfs
There have been some changes to this, that could effect hardlinks.

Comment 3 Daniel Walsh 2019-08-28 12:32:29 UTC
fuse-overlayfs-0.6-2.git43b641d.fc30.x86_64

Comment 4 Florian Weimer 2019-08-28 12:40:58 UTC
Hah. I installed fuse-overlayfs-0.6.1-2.gitc548530.fc30.x86_64 from updates-testing and the problem is gone. Thanks!

Comment 5 Daniel Walsh 2019-08-28 13:07:25 UTC
Fixed in fuse-overlayfs-0.6.1-2.gitc548530.fc30.x86_64 

Please update karma

Comment 7 Fedora Update System 2019-08-28 15:02:36 UTC
FEDORA-2019-1bad7aefbc has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1bad7aefbc

Comment 8 Fedora Update System 2019-08-29 22:06:26 UTC
fuse-overlayfs-0.6.1-2.gitc548530.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.