Virtual provides for files in /var/log

Vít Ondruch vondruch at redhat.com
Thu Jul 18 12:23:57 UTC 2013


Dne 18.7.2013 14:19, Lennart Poettering napsal(a):
> On Thu, 18.07.13 10:34, Vít Ondruch (vondruch at redhat.com) 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?
> 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?
>
> Lennart
>

I would suggest it, but it is not recommended by guidelines :( so I 
suggest some (not yet) standardized virtual provide, which will be more 
descriptive than "syslog-files"


Vít


[1] https://fedoraproject.org/wiki/Packaging:Guidelines#File_Dependencies


More information about the devel mailing list