Bug 1479003 - skopeo-containers file conflict with inn
Summary: skopeo-containers file conflict with inn
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: skopeo
Version: 26
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Antonio Murdaca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-07 17:00 UTC by Roy A. Gilmore
Modified: 2017-11-25 02:34 UTC (History)
7 users (show)

Fixed In Version: skopeo-0.1.24-7.gitdd2c3e3.fc27 skopeo-0.1.24-7.gitdd2c3e3.fc26 skopeo-0.1.25-2.git7fd6f66.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-25 02:34:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Roy A. Gilmore 2017-08-07 17:00:22 UTC
Description of problem:
file /usr/share/man/man5/storage.conf.5.gz from install of skopeo-containers-0.1.23-2.git1bbd87f.fc26.x86_64 conflicts with file from package inn-2.6.1-5.fc26.x86_64


Version-Release number of selected component (if applicable):
skopeo-containers-0.1.23-2.git1bbd87f.fc26.x86_64


How reproducible:
Every time


Steps to Reproduce:
1. dnf --refresh distro-sync


Actual results:
Last metadata expiration check: 0:00:00 ago on Mon 07 Aug 2017 09:50:42 AM PDT.
Dependencies resolved.
====================================================================================================================================
 Package                           Arch                   Version                                     Repository               Size
====================================================================================================================================
Upgrading:
 skopeo-containers                 x86_64                 0.1.23-2.git1bbd87f.fc26                    updates                  12 k

Transaction Summary
====================================================================================================================================
Upgrade  1 Package

Total size: 12 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] skopeo-containers-0.1.23-2.git1bbd87f.fc26.x86_64.rpm: Already downloaded                                                
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/share/man/man5/storage.conf.5.gz from install of skopeo-containers-0.1.23-2.git1bbd87f.fc26.x86_64 conflicts with file from package inn-2.6.1-5.fc26.x86_64

Error Summary
-------------


Expected results:
Success


Additional info:

Comment 1 Daniel Walsh 2017-08-07 17:16:08 UTC
yuck.

Comment 2 Frank Crawford 2017-08-19 11:29:23 UTC
Is anything going to happen about this issue?

Comment 3 Daniel Walsh 2017-08-20 10:59:52 UTC
I don't really know what to do.  Renaming our man page makes it difficult to find and since the package is called containers/storage and the file is storage.conf. 

inn has been around for a thousand years, so having it change stinks.  The number of people who would install both packages on the same machine is very small.  I am going to add Matt Miller to see what he thinks should be done.

Comment 4 Matthew Miller 2017-08-20 12:48:34 UTC
How about containers-storage.conf for the man page? Or skopeo-storage.conf? (There are a zillion "systemd-blah.conf" man pages by analogy.

I think inn should not squat on such a generic name -- but really by the same token we don't want skopeo to take it, because there are plenty of other container-related things which plausibly might want to have a storage.conf.

Comment 5 Daniel Walsh 2017-08-20 16:26:03 UTC
Alright I will move to containers-storage.conf.

/etc/containers/containers-storage.conf

Comment 6 Roy A. Gilmore 2017-08-20 20:47:35 UTC
(In reply to Daniel Walsh from comment #5)
> Alright I will move to containers-storage.conf.
> 
> /etc/containers/containers-storage.conf

First off, let me apologize in advance, some of what I'm writing might seem really basic and condescending, it is not intended to be, I'm just trying to keep my thoughts organized.

I don't think it's necessary to move /etc/containers/storage.conf to /etc/containers/containers-storage.conf. There is no conflict with that filename because inn stores it's configuration file at /etc/news/storage.conf. I think it would suffice to move /usr/share/man/man5/storage.conf.5.gz to /usr/share/man/man5/containers-storage.conf.5.gz There are many configuration files that do not conflict in /etc because they are in different directories, but their man pages do conflict in the flat /usr/share/man/man5 namespace, and many of these man pages have a subsystem prefix added to them to reduce/prevent these conflicts. A few commonly used naming conventions are:

/usr/share/man/man5/subsystem-file_name.conf.5.gz (I prefer this)
/usr/share/man/man5/subsystem_file_name.conf.5.gz
/usr/share/man/man5/subsystem.file_name.conf.5.gz

Does the Fedora Packaging Guidelines provide any guidance on this issue? Shouldn't the Fedora Packaging Guidelines provide some guidance on this issue if it doesn't? Maybe a policy of always separating the packages/subsystems with hyphens, separating extensions with periods, and separating words with underscores. Similar to existing pathnames, except replace backslashs/slashs with hyphens, allowing subpackages and/or sub-subsystems in the flat man namespace (i.e /usr/share/man/man5/package-sub_package-very_long_file_name.conf.5.gz).

Regardless, both 'apropos storage.conf' and 'rpm -qd skopeo-containers' should allow someone to find the correct man page. And I feel anyone who's using "the dark side" (i.e. the command prompt) to access man pages probably already knows how to do this.

To verify this:

[rag@thor ~]$ su -c "mv /usr/share/man/man5/storage.conf.1.gz /usr/share/man/man5/containers-storage.conf.5.gz; mandb"
--- 8< --- Extraneous output removed --- 8< ---
[rag@thor ~]$ apropos storage.conf
blivet-gui (1)       - GTK tool for storage configuration
containers-storage.conf (5) - Syntax of Container Storage configuration file
coredump.conf (5)    - Core dump storage configuration files
coredump.conf.d (5)  - Core dump storage configuration files
storage.conf (5)     - Configuration file for storage manager
[rag@thor ~]$ su -c "mv /usr/share/man/man5/containers-storage.conf.5.gz /usr/share/man/man5/storage.conf.1.gz; mandb"
--- 8< --- Extraneous output removed --- 8< ---
[rag@thor ~]$ rpm -qd skopeo-containers
/usr/share/man/man5/storage.conf.1.gz

NOTE: I currently have skopeo-containers-0.1.23-1.git1bbd87f.fc26.x86_64 installed because of the file conflict between 0.1.23-2.git1bbd87f.fc26 and inn-2.6.1-5.fc26.x86_64, which is why I'm moving storage.conf.1.gz instead of storage.conf.5.gz :-).

Comment 7 Fedora Update System 2017-10-16 15:48:10 UTC
skopeo-0.1.24-4.dev.git28d4e08.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe72dc47ae

Comment 8 Fedora Update System 2017-10-16 15:48:32 UTC
skopeo-0.1.24-4.dev.git28d4e08.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f19e8e165

Comment 9 Fedora Update System 2017-10-17 02:25:35 UTC
skopeo-0.1.24-4.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f19e8e165

Comment 10 Fedora Update System 2017-10-17 19:18:25 UTC
skopeo-0.1.24-6.dev.git28d4e08.fc27 docker-1.13.1-32.git790e958.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 11 Fedora Update System 2017-10-18 02:21:55 UTC
skopeo-0.1.24-4.dev.git28d4e08.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe72dc47ae

Comment 12 Fedora Update System 2017-10-18 17:21:44 UTC
docker-1.13.1-33.git790e958.fc27, skopeo-0.1.24-6.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 13 Fedora Update System 2017-10-19 14:48:26 UTC
docker-1.13.1-35.git8fd0ebb.fc27 skopeo-0.1.24-6.dev.git28d4e08.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 14 Fedora Update System 2017-10-21 19:26:06 UTC
docker-1.13.1-35.git8fd0ebb.fc27, skopeo-0.1.24-6.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 15 Fedora Update System 2017-10-22 11:31:55 UTC
skopeo-0.1.24-7.gitdd2c3e3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 16 Fedora Update System 2017-10-22 11:32:35 UTC
skopeo-0.1.24-7.gitdd2c3e3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f4b15d9e3

Comment 17 Fedora Update System 2017-10-23 00:51:12 UTC
skopeo-0.1.24-7.gitdd2c3e3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f4b15d9e3

Comment 18 Fedora Update System 2017-10-23 23:20:37 UTC
skopeo-0.1.24-7.gitdd2c3e3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 19 Fedora Update System 2017-10-27 02:38:39 UTC
docker-1.13.1-36.git8fd0ebb.fc26 skopeo-0.1.24-7.gitdd2c3e3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 20 Fedora Update System 2017-10-27 15:38:10 UTC
docker-1.13.1-36.git8fd0ebb.fc26, skopeo-0.1.24-7.gitdd2c3e3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 21 Fedora Update System 2017-11-02 19:16:45 UTC
atomic-1.19.1-5.fc27 docker-1.13.1-37.git166a52e.fc27 skopeo-0.1.24-6.dev.git28d4e08.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 22 Fedora Update System 2017-11-02 19:45:33 UTC
atomic-1.19.1-5.fc26 docker-1.13.1-37.git166a52e.fc26 skopeo-0.1.24-7.gitdd2c3e3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 23 Fedora Update System 2017-11-03 14:22:24 UTC
atomic-1.19.1-5.fc26, docker-1.13.1-38.git166a52e.fc26, skopeo-0.1.24-7.gitdd2c3e3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 24 Fedora Update System 2017-11-03 19:48:51 UTC
atomic-1.19.1-6.fc26 docker-1.13.1-40.git877b6df.fc26 skopeo-0.1.24-7.gitdd2c3e3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 25 Fedora Update System 2017-11-04 18:00:31 UTC
atomic-1.19.1-5.fc27, docker-1.13.1-38.git166a52e.fc27, skopeo-0.1.24-6.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 26 Fedora Update System 2017-11-04 19:56:35 UTC
atomic-1.19.1-6.fc26, docker-1.13.1-40.git877b6df.fc26, skopeo-0.1.24-7.gitdd2c3e3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cbf83e5281

Comment 27 Fedora Update System 2017-11-06 19:01:20 UTC
atomic-1.19.1-6.fc27 docker-1.13.1-40.git877b6df.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 28 Fedora Update System 2017-11-06 21:13:31 UTC
atomic-1.19.1-6.fc27, docker-1.13.1-40.git877b6df.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 29 Fedora Update System 2017-11-11 03:00:39 UTC
skopeo-0.1.24-7.gitdd2c3e3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 30 Fedora Update System 2017-11-12 22:12:53 UTC
docker-1.13.1-41.git0861eff.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 31 Fedora Update System 2017-11-14 10:55:54 UTC
docker-1.13.1-41.git0861eff.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 32 Fedora Update System 2017-11-15 20:08:56 UTC
atomic-1.19.1-6.fc26, docker-1.13.1-40.git877b6df.fc26, skopeo-0.1.24-7.gitdd2c3e3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 33 Fedora Update System 2017-11-17 16:22:39 UTC
docker-1.13.1-42.git4402c09.fc27 skopeo-0.1.25-2.git7fd6f66.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 34 Fedora Update System 2017-11-18 00:53:30 UTC
docker-1.13.1-42.git4402c09.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 35 Fedora Update System 2017-11-25 02:34:55 UTC
docker-1.13.1-42.git4402c09.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 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.