Re: Virtual provides for files in /var/log

2013-07-19 Thread Matthew Miller
On Fri, Jul 19, 2013 at 10:26:24AM +0300, Panu Matilainen wrote: > Yeah... Log analyzers are one thing, but I dont know what eg hplip > and lvm2 are doing with the info scraped out of /var/log/messages, > it seems somewhat suspect at least. They're just gathering it into a diagnostic report -- not

Re: Virtual provides for files in /var/log

2013-07-19 Thread Panu Matilainen
On 07/18/2013 11:35 PM, Bill Nottingham wrote: Panu Matilainen (pmati...@laiskiainen.org) said: So... /var/log/messages is not guaranteed to be there even now, because it depends on rsyslog configuration. So any packages which cannot handle missing /var/log/messages are broken already in a non-d

Re: Virtual provides for files in /var/log

2013-07-18 Thread Matthew Miller
On Thu, Jul 18, 2013 at 04:35:22PM -0400, Bill Nottingham wrote: > Yes, it's just that if we're moving these packages from being broken in a > non-default, administrator-configured configuration to being broken in the > out-of-the-box configuration, it might be worthwhile to know that ahead of > ti

Re: Virtual provides for files in /var/log

2013-07-18 Thread Bill Nottingham
Panu Matilainen (pmati...@laiskiainen.org) said: > So... /var/log/messages is not guaranteed to be there even now, > because it depends on rsyslog configuration. So any packages which > cannot handle missing /var/log/messages are broken already in a > non-default (but probably not all that uncommo

Re: Virtual provides for files in /var/log

2013-07-18 Thread Matthew Miller
On Thu, Jul 18, 2013 at 04:11:47PM -0400, Bill Nottingham wrote: > > 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 > > provid

Re: Virtual provides for files in /var/log

2013-07-18 Thread Panu Matilainen
On 07/18/2013 06:11 PM, Matthew Miller wrote: 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 goo

Re: Virtual provides for files in /var/log

2013-07-18 Thread Bill Nottingham
Matthew Miller (mat...@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

Re: Virtual provides for files in /var/log

2013-07-18 Thread Panu Matilainen
On 07/18/2013 04:42 PM, Lennart Poettering wrote: On Thu, 18.07.13 15:47, Panu Matilainen (pmati...@laiskiainen.org) wrote: 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"

Re: Virtual provides for files in /var/log

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 11:30, Orion Poplawski (or...@cora.nwra.com) wrote: > On 07/18/2013 06:19 AM, Lennart Poettering wrote: > >On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@redhat.com) wrote: > > > >>Dne 18.7.2013 01:02, Lennart Poettering napsal(a): > >>>So, maybe, instead of dropping the "Provides

Re: Virtual provides for files in /var/log

2013-07-18 Thread Orion Poplawski
On 07/18/2013 06:19 AM, Lennart Poettering wrote: On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@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" depende

Re: Virtual provides for files in /var/log

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 11:11, Matthew Miller (mat...@fedoraproject.org) wrote: > 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

Re: Virtual provides for files in /var/log

2013-07-18 Thread Matthew Miller
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 t

Re: Virtual provides for files in /var/log

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 15:47, Panu Matilainen (pmati...@laiskiainen.org) wrote: > >>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://fedora

Re: Virtual provides for files in /var/log

2013-07-18 Thread Panu Matilainen
On 07/18/2013 03:28 PM, Lennart Poettering wrote: On Thu, 18.07.13 14:23, Vít Ondruch (vondr...@redhat.com) wrote: Dne 18.7.2013 14:19, Lennart Poettering napsal(a): On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@redhat.com) wrote: Dne 18.7.2013 01:02, Lennart Poettering napsal(a): So, maybe

Re: Virtual provides for files in /var/log

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 14:23, Vít Ondruch (vondr...@redhat.com) wrote: > Dne 18.7.2013 14:19, Lennart Poettering napsal(a): > >On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@redhat.com) wrote: > > > >>Dne 18.7.2013 01:02, Lennart Poettering napsal(a): > >>>So, maybe, instead of dropping the "Provides sys

Re: Virtual provides for files in /var/log

2013-07-18 Thread Vít Ondruch
Dne 18.7.2013 14:19, Lennart Poettering napsal(a): On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@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" depend

Re: Virtual provides for files in /var/log

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 10:34, Vít Ondruch (vondr...@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

Re: Virtual provides for files in /var/log

2013-07-18 Thread Vít Ondruch
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 "Prov

Re: Virtual provides for files in /var/log

2013-07-18 Thread Mathieu Bridon
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 > >>> journa

Re: Virtual provides for files in /var/log

2013-07-18 Thread Vít Ondruch
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 somethi

Re: Virtual provides for files in /var/log

2013-07-18 Thread Mathieu Bridon
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