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

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

 



On Mon, 3 Aug 2015 20:48:53 +0200, Reindl Harald wrote:


> >> * as long the config fiel is untouched it will be overwritten
> >>     and in sync with the package due updates
> >
> > Same when marking as %config. Same for all ordinary files.
> 
> yes, but not relevant

Really? Ordinary files in /etc don't meet your expectations (see below).
They could be overwritten any time during an upgrade. Just like files
marked as %config.

Hell could break lose, if  /etc/init.d/functions  were marked as
%config(noreplace) and an update would only create an .rpmnew copy of the
new file. Marking files as %config(noreplace) is a trade-off. Whether to
mark a file as such is to be decided on a case-by-case basis.

> as sysadmin i expect *anything* below /etc as configuration intended to 
> be changed local and not overwritten by regular package updates
> 
> anything which is not intended to for local changes belongs to /usr

Sure. That may be the future. However, not everything in /etc is marked as
a configuration file yet.  Simply claiming that files in /etc/profile.d/
are not configuration files to begin complicates matters too much.
-- 
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