Bug 1506655
| Summary: | autoconf contains a config file under /usr | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Schmidt <mschmidt> | |
| Component: | autoconf | Assignee: | Pavel Raiskup <praiskup> | |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 27 | CC: | karsten, kasal, praiskup, ttomecek | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1506935 (view as bug list) | Environment: | ||
| Last Closed: | 2017-10-27 08:20:50 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1506935 | |||
|
Description
Michal Schmidt
2017-10-26 13:52:13 UTC
Hi Michal, thanks for the report. The thing is that config.site is configuration file, to some extent. Solution would be to drop the %config attribute? I tend to ack this, even though I'm glad that `rpm -qc autoconf` gives the "hint". Why is this actually problem? I'm asking because you are asking for compromise... Yes, PackagingGuidelines mention the /usr && %config advice, but the statement seems to be rather vague: Don't use %config or %config(noreplace) under /usr. /usr is deemed to not contain configuration files in Fedora. While I would expect something like: Packages *can not* install ... under /usr. Is this about share-able /usr mountpoint? What issues existence of the file actually causes? Hi Pavel, > The thing is that config.site is configuration file, to some extent. > Solution would be to drop the %config attribute? Yes. > I tend to ack this, even though I'm > glad that `rpm -qc autoconf` gives the "hint". > Why is this actually problem? It's not that anything is broken by the file being marked as %config. I want people to get used to not editing files under /usr. A hint that there's a config file under /usr goes against that idea. > Is this about share-able /usr mountpoint? I was thinking more of systems using rpm-ostree, but sure, a sharable /usr mount is nice. Again, it's not outright broken. It just may lead people in a wrong direction. Ack. FTR, configure accepts also also /usr/etc/config.site, but that's still under /usr. Should be fixed upstream so that --sysconfdir affects the "user-configurable" location. I'm removing %config attribute (the noreplace argument was not used anyways, so the configuration file was replaced with updates anyways). https://src.fedoraproject.org/rpms/autoconf/c/0e943051ba402fa58f3c6f0087a1d615de584fb1?branch=master |