Virtual provides for files in /var/log

Vít Ondruch vondruch at redhat.com
Thu Jul 18 08:56:50 UTC 2013


Dne 18.7.2013 10:42, Mathieu Bridon napsal(a):
> On Thu, 2013-07-18 at 10:34 +0200, Vít Ondruch wrote:
>> Dne 18.7.2013 01:02, Lennart Poettering napsal(a):
>>> So, maybe, instead of dropping the "Provides syslog" thing from
>>> journald, maybe we should add an explicit "syslog-files" dependency (or
>>> something named like that) and then make the classic syslog
>>> implementations provide that and the packages which actually need
>>> /var/log/messages pull that it?
>>>
>>> Lennart
>>>
>> So why there are files in /var/log and there is not obvious package,
>> which creates them (unless you want to guess by name)? Shouldn't all
>> package, which creates log in /var/log have some virtual provide to make
>> it obvious? Why not do it properly/consistently?
> Why a virtual provides, can't they just %ghost their log files?
>
>

That would be the best of course, unfortunately: 
https://fedoraproject.org/wiki/Packaging:Guidelines#File_Dependencies

But may be YUM/DNF can be improved in this area

Vít


More information about the devel mailing list