Re: Virtual provides for files in /var/log

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

 



On Thu, Jul 18, 2013 at 02:19:30PM +0200, Lennart Poettering wrote:
> So, you suggest using "Requires: /var/log/messages" and "Provides:
> /var/log/messages" as indication for this, and the %ghost
> /var/log/messages in the packages in question?
> Sounds good to me! Matthew?

My main concern with this is that it's a lie. That file only exists because
of the default configuration. In many cases, rsyslog will be configured to
either write different files, or most likely, to write no local files at all
as all data is forwarded. And, as discussed in another subthread, I expect
this last configuration to be more and more common. So, not just a lie, but
a lie which may actually make it harder to use rsyslog in ways other than
the default.

In an ideal view, it makes most sense to provide the rsyslog default
configuration in a subpackage which puts the /var/log/messages and
/var/log/secure conf files in /etc/rsyslog.d -- then, this subpackage would
provide those files. Unfortunately, in order to preserve behavior on
upgrade, the main package would have to depend on this, kind of making the
distinction moot.


-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm@xxxxxxxxxxxxxxxxx>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[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