Re: Virtual provides for files in /var/log

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

 



Dne 18.7.2013 11:13, Mathieu Bridon napsal(a):
On Thu, 2013-07-18 at 10:56 +0200, Vít Ondruch wrote:
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
Right, but that's only if you need to express a file requirement.

Your point above was that every package which drops a file in /var/log
(e.g httpd) should have virtual-provides for them.

But I don't think there's ever any reason to require the
file /var/log/https/error_log

On the other hand, Lennart's original mail above was about syslog
implementations, not "all package, which creates log in /var/log".



It was especially about /var/log/messages which should be by Lennart's proposal replaced by "syslog-files" virtual provide. How am I supposed to know what does this virtual provide means? So I propose to come with some generic, understandable way how to let other packages depend on some file in /var/log if they need (I left out the question "how common case it is" on purpose) and avoid the need of inefficient file dependency for this purpose.


Vít


--
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