Re: Question about profile.d scripts definition in Spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/02/2015 08:39 AM, Marcin Haba wrote:
Hello,

I am trying to make informal review following feature request:

https://bugzilla.redhat.com/show_bug.cgi?id=1244353

One from warnings returned by rpmlint is:

ossim-data.x86_64: W: non-conffile-in-etc /etc/profile.d/ossim.sh

Because ossim.sh is not configuration file but shell script (as usual in
profile.d/) I had a doubt about treating this warning.

Well, I sense a misinterpretation of "%config".

In the context of the /etc file hierarchy "%config" means "user-customizable", which means rpm/yum/dnf updates must not destroy any changes a user may have applied and should backup instead.

So I asked on fedora-review IRC channel and there I received answer that
this warning is acceptable.
Well, it's a minor issue, but it definitely is arguable.

In the bugzilla task I received answer that for the ossim.sh file should
be used %config macro.

My question is: what is valid answer for this case?

My recommendation is to use %config.

Ralf

--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux