Virtual provides for files in /var/log

Bill Nottingham notting at redhat.com
Thu Jul 18 20:11:47 UTC 2013


Matthew Miller (mattdm at fedoraproject.org) said: 
> 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.

You don't need rsyslog to require rsyslog-put-your-files-here-config, you
just need both of them to have Obsoletes for the versions before the split.

Bill


More information about the devel mailing list