You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2018/07/25 08:49:00 UTC
[jira] [Resolved] (KAFKA-7159) mark configuration files in
confluent-kafka RPM SPEC file
[ https://issues.apache.org/jira/browse/KAFKA-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Sasvari resolved KAFKA-7159.
-----------------------------------
Resolution: Won't Fix
> mark configuration files in confluent-kafka RPM SPEC file
> ---------------------------------------------------------
>
> Key: KAFKA-7159
> URL: https://issues.apache.org/jira/browse/KAFKA-7159
> Project: Kafka
> Issue Type: Improvement
> Components: packaging
> Affects Versions: 1.1.0
> Environment: RHEL7
> Reporter: Robert Fabisiak
> Priority: Trivial
> Labels: rpm
>
> All configuration files in kafka RPM SPEC file should be marked with %config prefix in %files section.
> This would prevent overwrites during install/upgrade and uninstall operations
> [https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/rpm_packaging_guide/index#files]
> It's especially important to save configuration during package upgrades.
> Section to change in SPEC file:
> {code:java}
> %files
> %config(noreplace) %{_sysconfdir}/kafka/*.conf
> %config(noreplace) %{_sysconfdir}/kafka/*.properties
> {code}
> It would also be good to mark documentation files with %doc
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)