Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-17 Thread Matthew Miller
On Wed, Oct 17, 2012 at 02:13:35PM +0200, Lennart Poettering wrote: > This is implemented now, but I called it --since= and --until=. I'll > push this into F18 as well, sicne it's actually a minor change only, and > just too useful. Thanks Lennart. This is great stuff. -- Matthew Miller ☁☁☁ Fe

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-17 Thread Lennart Poettering
On Tue, 09.10.12 23:24, Lennart Poettering (mzerq...@0pointer.de) wrote: > I am not generally against adding time-based rotation, but really, this > is much less of a "necessity" than other things the journal provides, > which syslog does not: for example per-service rate limits, and > unfakable m

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-17 Thread Lennart Poettering
On Thu, 11.10.12 01:48, Lennart Poettering (mzerq...@0pointer.de) wrote: > On Wed, 10.10.12 16:50, Kevin Fenzi (ke...@scrye.com) wrote: > > > "My laptop started acting up last tuesday, I should see whats in the > > logs from then" > > > > "I'd like to run a daily report on my logs" > > These tw

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-13 Thread Miloslav Trmač
On Sat, Oct 13, 2012 at 1:36 AM, Lennart Poettering wrote: > On Fri, 12.10.12 15:29, Bill Nottingham (nott...@redhat.com) wrote: >> And we've got a lot of technology going around. journald - that's >> technology. rsyslog - that's technology. libumberlog & ceelog - that's >> technology. > > THis re

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-13 Thread Miloslav Trmač
On Fri, Oct 12, 2012 at 9:29 PM, Bill Nottingham wrote: > Konstantin Ryabitsev (i...@fedoraproject.org) said: >> So, in other words, all our existing log analysis tools have to be >> modified if they are to be of any use in Fedora 18? > > Right, you'll have to port them to understand CEE from upda

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-12 Thread Lennart Poettering
On Fri, 12.10.12 15:29, Bill Nottingham (nott...@redhat.com) wrote: Heya, > And we've got a lot of technology going around. journald - that's > technology. rsyslog - that's technology. libumberlog & ceelog - that's > technology. THis really makes me wonder where CEE actually belongs in this. Is

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-12 Thread Bill Nottingham
Konstantin Ryabitsev (i...@fedoraproject.org) said: > > Not sure I can parse this, but IIUC you are wondering whether logwatch > > is compatible with the journal. Not to my knowledge, no. But adding this > > should be fairly easy as the output of "journalctl" is a pixel-perfect > > copy of the ori

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kevin Fenzi
On Thu, 11 Oct 2012 01:48:07 +0200 Lennart Poettering wrote: > These two are much better implemented via explicit time seeks. The > journal APIs support that just fine, journalctl currently > doesn't. However it's trivial to add that based on the lower level > APIs, the only thing that stopped me

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Adam Williamson
On Wed, 2012-10-10 at 14:37 -0400, Konstantin Ryabitsev wrote: > On Wed, Oct 10, 2012 at 2:32 PM, Lennart Poettering > wrote: > >> Can journalctl send the logs via logwatch? > > > > Not sure I can parse this, but IIUC you are wondering whether logwatch > > is compatible with the journal. Not to my

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Matthew Miller
On Thu, Oct 11, 2012 at 01:48:07AM +0200, Lennart Poettering wrote: > > "My laptop started acting up last tuesday, I should see whats in the > > logs from then" > > "I'd like to run a daily report on my logs" > These two are much better implemented via explicit time seeks. The > journal APIs suppor

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 16:50, Kevin Fenzi (ke...@scrye.com) wrote: > "My laptop started acting up last tuesday, I should see whats in the > logs from then" > > "I'd like to run a daily report on my logs" These two are much better implemented via explicit time seeks. The journal APIs support that just

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Chris Adams
Once upon a time, Matthew Miller said: > On Wed, Oct 10, 2012 at 02:44:53PM -0400, Konstantin Ryabitsev wrote: > > Well, hang on, Kay. My understanding was that we're trying to make > > syslog an optional install in Fedora 18 (or is it 19?). If that is the > > The suggestion was to propose this a

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kevin Fenzi
On Wed, 10 Oct 2012 22:02:26 +0200 Kay Sievers wrote: > On Wed, Oct 10, 2012 at 9:49 PM, Simo Sorce wrote: ...snip... > > So make it really better and support time-based rotation. You don't > > need to make time-based rotation the default, but you'll make a lot > > of people happy to have the

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Chris Murphy
On Oct 10, 2012, at 2:54 PM, Lennart Poettering wrote: > On Wed, 10.10.12 14:39, Chris Murphy (li...@colorremedies.com) wrote: > >> How is rsyslog properly disabled? >> >> sockets.target syslog.target rsyslog.service all seem related. > > "systemctl disable rsyslog.service" should suffice. I

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 14:39, Chris Murphy (li...@colorremedies.com) wrote: > > On Oct 10, 2012, at 2:02 PM, Kay Sievers wrote: > > > Syslog is by fact today already an "add-on", and not a > > required component, it is just installed by default today. I don't use > > or run syslog on any of my boxes s

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 22:19, Tomasz Torcz (to...@pipebreaker.pl) wrote: > On Wed, Oct 10, 2012 at 03:49:11PM -0400, Simo Sorce wrote: > > So make it really better and support time-based rotation. You don't need > > to make time-based rotation the default, but you'll make a lot of people > > happy to ha

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Chris Murphy
On Oct 10, 2012, at 2:02 PM, Kay Sievers wrote: > Syslog is by fact today already an "add-on", and not a > required component, it is just installed by default today. I don't use > or run syslog on any of my boxes since quite a while. How is rsyslog properly disabled? sockets.target syslog.targe

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Tomasz Torcz
On Wed, Oct 10, 2012 at 03:49:11PM -0400, Simo Sorce wrote: > So make it really better and support time-based rotation. You don't need > to make time-based rotation the default, but you'll make a lot of people > happy to have the option. Journald will rotate logs when signalled with SIGUSR2. So

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Konstantin Ryabitsev
On Wed, Oct 10, 2012 at 3:44 PM, Kay Sievers wrote: >> I think you overestimate how much a sysadmin cares about fake >> messages. The thing that's really important to a sysadmin is to make >> sure that none of the REAL messages are lost. If someone fakes root >> login entries by using something as

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 9:49 PM, Simo Sorce wrote: > On Wed, 2012-10-10 at 21:44 +0200, Kay Sievers wrote: >> On Wed, Oct 10, 2012 at 9:31 PM, Konstantin Ryabitsev >> wrote: >> > On Tue, Oct 9, 2012 at 5:24 PM, Lennart Poettering >> > wrote: >> >> I am not generally against adding time-based ro

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Simo Sorce
On Wed, 2012-10-10 at 21:44 +0200, Kay Sievers wrote: > On Wed, Oct 10, 2012 at 9:31 PM, Konstantin Ryabitsev > wrote: > > On Tue, Oct 9, 2012 at 5:24 PM, Lennart Poettering > > wrote: > >> I am not generally against adding time-based rotation, but really, this > >> is much less of a "necessity"

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 9:31 PM, Konstantin Ryabitsev wrote: > On Tue, Oct 9, 2012 at 5:24 PM, Lennart Poettering > wrote: >> I am not generally against adding time-based rotation, but really, this >> is much less of a "necessity" than other things the journal provides, >> which syslog does not:

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Konstantin Ryabitsev
On Tue, Oct 9, 2012 at 5:24 PM, Lennart Poettering wrote: > I am not generally against adding time-based rotation, but really, this > is much less of a "necessity" than other things the journal provides, > which syslog does not: for example per-service rate limits, and > unfakable meta-data for lo

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 9:01 PM, Matthew Miller wrote: > Additionally, it _would_ be cool for log monitoring and analysis tools to > gain journald support, so that users of those tools can take advantage of > all the features Lennart lists. If we could have some of those in place > along with the

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Tomas Mraz
On Wed, 2012-10-10 at 15:01 -0400, Matthew Miller wrote: > On Wed, Oct 10, 2012 at 02:44:53PM -0400, Konstantin Ryabitsev wrote: > > case, then even if I require rsyslog for a package, that won't work > > unless rsyslog is started and running. So, sysadmin's experience > > changes: > > Was: Insta

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Konstantin Ryabitsev
On Wed, Oct 10, 2012 at 3:01 PM, Matthew Miller wrote: > Additionally, it _would_ be cool for log monitoring and analysis tools to > gain journald support, so that users of those tools can take advantage of > all the features Lennart lists. If we could have some of those in place > along with the

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Matthew Miller
On Wed, Oct 10, 2012 at 02:44:53PM -0400, Konstantin Ryabitsev wrote: > Well, hang on, Kay. My understanding was that we're trying to make > syslog an optional install in Fedora 18 (or is it 19?). If that is the The suggestion was to propose this as a feature for F19. I think there's some addition

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 8:44 PM, Konstantin Ryabitsev wrote: > On Wed, Oct 10, 2012 at 2:39 PM, Kay Sievers wrote: >>> So, in other words, all our existing log analysis tools have to be >>> modified if they are to be of any use in Fedora 18? >> >> What part of "Run the syslog daemon like you alwa

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Konstantin Ryabitsev
On Wed, Oct 10, 2012 at 2:39 PM, Kay Sievers wrote: >> So, in other words, all our existing log analysis tools have to be >> modified if they are to be of any use in Fedora 18? > > What part of "Run the syslog daemon like you always did, if you need > syslog files." did you not understand? Well,

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Seth Vidal
On Wed, 10 Oct 2012, Kay Sievers wrote: So, in other words, all our existing log analysis tools have to be modified if they are to be of any use in Fedora 18? What part of "Run the syslog daemon like you always did, if you need syslog files." did you not understand? Kay, This is not an

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Matthew Miller
On Wed, Oct 10, 2012 at 02:37:05PM -0400, Konstantin Ryabitsev wrote: > So, in other words, all our existing log analysis tools have to be > modified if they are to be of any use in Fedora 18? No, not in the even slightest. I don't think that's even up for discussion. -- Matthew Miller ☁☁☁ Fe

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 8:37 PM, Konstantin Ryabitsev wrote: > On Wed, Oct 10, 2012 at 2:32 PM, Lennart Poettering > wrote: >>> Can journalctl send the logs via logwatch? >> >> Not sure I can parse this, but IIUC you are wondering whether logwatch >> is compatible with the journal. Not to my know

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Konstantin Ryabitsev
On Wed, Oct 10, 2012 at 2:32 PM, Lennart Poettering wrote: >> Can journalctl send the logs via logwatch? > > Not sure I can parse this, but IIUC you are wondering whether logwatch > is compatible with the journal. Not to my knowledge, no. But adding this > should be fairly easy as the output of "j

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 10:12, Richard W.M. Jones (rjo...@redhat.com) wrote: > On Wed, Oct 10, 2012 at 09:54:28AM +0100, Richard W.M. Jones wrote: > > On Wed, Oct 10, 2012 at 09:50:43AM +0200, Björn Persson wrote: > > > Lennart Poettering wrote: > > > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 09:54, Richard W.M. Jones (rjo...@redhat.com) wrote: > On Wed, Oct 10, 2012 at 09:50:43AM +0200, Björn Persson wrote: > > Lennart Poettering wrote: > > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > > > How do you read this log when the system is not running

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 08:54, Frank Murphy (frankl...@gmail.com) wrote: > On 09/10/12 15:16, Lennart Poettering wrote: > > >journalctl -D > > > >Lennart > > > > Can journalctl send the logs via logwatch? Not sure I can parse this, but IIUC you are wondering whether logwatch is compatible with the jo

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Seth Vidal
On Wed, 10 Oct 2012, Lennart Poettering wrote: On Wed, 10.10.12 14:16, Seth Vidal (skvi...@fedoraproject.org) wrote: On Tue, 09.10.12 22:30, Simo Sorce (s...@redhat.com) wrote: logrotate has time based policies for very good reasons. Yeah, because Unix doesn't really allow much else...

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 14:16, Seth Vidal (skvi...@fedoraproject.org) wrote: > >On Tue, 09.10.12 22:30, Simo Sorce (s...@redhat.com) wrote: > > > logrotate has time based policies for very good reasons. > >>> > >>>Yeah, because Unix doesn't really allow much else... > >>> > >>Oh come on, stop bashing

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 17:05, Miloslav Trmač (m...@volny.cz) wrote: > On Tue, Oct 9, 2012 at 11:24 PM, Lennart Poettering > wrote: > > I am not generally against adding time-based rotation, but really, this > > is much less of a "necessity" than other things the journal provides, > > which syslog does

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Seth Vidal
On Wed, 10 Oct 2012, Lennart Poettering wrote: On Tue, 09.10.12 22:30, Simo Sorce (s...@redhat.com) wrote: logrotate has time based policies for very good reasons. Yeah, because Unix doesn't really allow much else... Oh come on, stop bashing unix, logrotate could certainly grow a size c

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Tue, 09.10.12 22:30, Simo Sorce (s...@redhat.com) wrote: > > > logrotate has time based policies for very good reasons. > > > > Yeah, because Unix doesn't really allow much else... > > > Oh come on, stop bashing unix, logrotate could certainly grow a size > checking policy if people felt the

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Miloslav Trmač
On Wed, Oct 10, 2012 at 6:13 PM, Kay Sievers wrote: >>> and >>> unfakable meta-data for log messages. >> >> False: http://www.rsyslog.com/doc/imuxsock.html, "trusted syslog >> properties are available" (and in v7 they can be enabled in the Fedora >> configuration by default) > > It's well meant, b

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Kay Sievers
On Wed, Oct 10, 2012 at 5:05 PM, Miloslav Trmač wrote: > On Tue, Oct 9, 2012 at 11:24 PM, Lennart Poettering > wrote: >> which syslog does not: for example per-service rate limits, > > False. http://www.rsyslog.com/doc/imuxsock.html, "There is input rate > limiting available", currently enable

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Miloslav Trmač
I apologize, I'm ill and not generally up to providing detailed responses. So just some sourced facts to counter [1] untruths. For education on what current syslogs do, http://blog.gerhards.net/2012/10/main-advantages-of-rsyslog-v7-vs-v5.html is a possible start and http://www.rsyslog.com/doc/man

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Richard W.M. Jones
On Wed, Oct 10, 2012 at 02:54:13PM +0200, drago01 wrote: > On Wed, Oct 10, 2012 at 12:49 PM, Richard W.M. Jones > wrote: > > On Wed, Oct 10, 2012 at 10:11:03AM +, "Jóhann B. Guðmundsson" wrote: > >> On 10/10/2012 08:54 AM, Richard W.M. Jones wrote: > >> >This would be essential for libguestfs

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread drago01
On Wed, Oct 10, 2012 at 2:54 PM, drago01 wrote: > On Wed, Oct 10, 2012 at 12:49 PM, Richard W.M. Jones > wrote: >> On Wed, Oct 10, 2012 at 10:11:03AM +, "Jóhann B. Guðmundsson" wrote: >>> On 10/10/2012 08:54 AM, Richard W.M. Jones wrote: >>> >This would be essential for libguestfs tools to p

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread drago01
On Wed, Oct 10, 2012 at 12:49 PM, Richard W.M. Jones wrote: > On Wed, Oct 10, 2012 at 10:11:03AM +, "Jóhann B. Guðmundsson" wrote: >> On 10/10/2012 08:54 AM, Richard W.M. Jones wrote: >> >This would be essential for libguestfs tools to parse logs out of >> >guests (we do it now by reading /var

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Matthew Miller
On Wed, Oct 10, 2012 at 12:12:26PM +0530, Rahul Sundaram wrote: > >>About time :-) > >Awesome. > >And I want to take a moment to thank everyone for listening to these > >concerns. I'm optimistic that we can make this all work very nicely. > Is this documented in the relevant man pages as well? In

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 09:50, Björn Persson (bjorn@rombobjörn.se) wrote: > Lennart Poettering wrote: > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > > How do you read this log when the system is not running (e.g. > > > mounting filesystems of a drive on another system, running fr

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Björn Persson
Daniel P. Berrange wrote: > On Wed, Oct 10, 2012 at 12:00:41PM +0200, Björn Persson wrote: > > So if my Fedora box won't boot, and I take the disk out and mount it > > in a CentOS box, I might not be able to read the log because > > journalctl in CentOS might be too old? Not fun. > > You can easil

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Richard W.M. Jones
On Wed, Oct 10, 2012 at 10:11:03AM +, "Jóhann B. Guðmundsson" wrote: > On 10/10/2012 08:54 AM, Richard W.M. Jones wrote: > >This would be essential for libguestfs tools to parse logs out of > >guests (we do it now by reading /var/log/messages etc which has all of > >the properties you state). >

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Jóhann B. Guðmundsson
On 10/10/2012 07:54 AM, Frank Murphy wrote: On 09/10/12 15:16, Lennart Poettering wrote: journalctl -D Lennart Can journalctl send the logs via logwatch? As far as I know logwatch has not been patched to parse and use journal. Try filing an RFE against logwatch for that JBG -- devel

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Jóhann B. Guðmundsson
On 10/10/2012 08:54 AM, Richard W.M. Jones wrote: This would be essential for libguestfs tools to parse logs out of guests (we do it now by reading /var/log/messages etc which has all of the properties you state). I'm not sure how you are doing this currently but for shutdown guest I assume yo

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Daniel P. Berrange
On Wed, Oct 10, 2012 at 12:00:41PM +0200, Björn Persson wrote: > Richard W.M. Jones wrote: > > I checked out the code, and it does seem as if the format is intended > > to be backwards compatible. It uses a set of filesystem-like > > "compatible" and "incompatible" flags, so presumably a sufficien

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Björn Persson
Richard W.M. Jones wrote: > I checked out the code, and it does seem as if the format is intended > to be backwards compatible. It uses a set of filesystem-like > "compatible" and "incompatible" flags, so presumably a sufficiently > recent journalctl would be able to read any previous version of t

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Richard W.M. Jones
On Wed, Oct 10, 2012 at 09:54:28AM +0100, Richard W.M. Jones wrote: > On Wed, Oct 10, 2012 at 09:50:43AM +0200, Björn Persson wrote: > > Lennart Poettering wrote: > > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > > > How do you read this log when the system is not running (e

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Richard W.M. Jones
On Wed, Oct 10, 2012 at 09:50:43AM +0200, Björn Persson wrote: > Lennart Poettering wrote: > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > > How do you read this log when the system is not running (e.g. > > > mounting filesystems of a drive on another system, running from a

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Björn Persson
Lennart Poettering wrote: > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > How do you read this log when the system is not running (e.g. > > mounting filesystems of a drive on another system, running from a > > rescue image, etc.)? > > journalctl -D So the rescue system (whi

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-10 Thread Frank Murphy
On 09/10/12 15:16, Lennart Poettering wrote: journalctl -D Lennart Can journalctl send the logs via logwatch? -- Regards, Frank "Jack of all, fubars" -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Rahul Sundaram
On 10/09/2012 09:42 PM, Matthew Miller wrote: On Tue, Oct 09, 2012 at 11:59:08AM -0400, Simo Sorce wrote: In current versions .service is implied if no extension is provided: https://bugs.freedesktop.org/show_bug.cgi?id=39386 About time :-) Awesome. And I want to take a moment to thank every

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 20:45, Simo Sorce wrote: > On Tue, 2012-10-09 at 22:33 -0400, Matthew Miller wrote: >> On Tue, Oct 09, 2012 at 10:30:38PM -0400, Simo Sorce wrote: >> > Oh come on, stop bashing unix, logrotate could certainly grow a size >> > checking policy if people felt the need, unix is not h

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Simo Sorce
On Tue, 2012-10-09 at 22:33 -0400, Matthew Miller wrote: > On Tue, Oct 09, 2012 at 10:30:38PM -0400, Simo Sorce wrote: > > Oh come on, stop bashing unix, logrotate could certainly grow a size > > checking policy if people felt the need, unix is not holding you back, > > in fact you are building thi

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 10:30:38PM -0400, Simo Sorce wrote: > Oh come on, stop bashing unix, logrotate could certainly grow a size > checking policy if people felt the need, unix is not holding you back, > in fact you are building this stuff on a unix-like system. In fact, logrotate _has_ a size c

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Simo Sorce
On Tue, 2012-10-09 at 23:24 +0200, Lennart Poettering wrote: > I am not generally against adding time-based rotation, but really, > this > is much less of a "necessity" than other things the journal provides, > which syslog does not: for example per-service rate limits, and > unfakable meta-data fo

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Jóhann B. Guðmundsson
On 10/09/2012 10:08 PM, Lennart Poettering wrote: With the feature I am planning to propose for F19: Which in essence is the same as I proposed for F18 ( Although for completely different purposes ). There was absolutely nothing preventing this feature having been accepted and those changed

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 16:24, Matthew Miller wrote: > On Tue, Oct 09, 2012 at 04:20:14PM -0600, Stephen John Smoogen wrote: >> > "If you have strict requirements on time-based logging rotation or >> > certain audit requirements, then something like rsyslog(?) is required >> > in parallel with the journ

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 04:20:14PM -0600, Stephen John Smoogen wrote: > > "If you have strict requirements on time-based logging rotation or > > certain audit requirements, then something like rsyslog(?) is required > > in parallel with the journal. In most other cases (desktops, tablets, > > many

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 17:18, Dan Williams wrote: > On Tue, 2012-10-09 at 15:57 -0600, Stephen John Smoogen wrote: >> On 9 October 2012 15:50, Matthew Miller wrote: >> > On Tue, Oct 09, 2012 at 03:41:51PM -0600, Stephen John Smoogen wrote: >> >> > If you want audit-like semantics with crashing if we c

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 16:08, Lennart Poettering wrote: > On Tue, 09.10.12 15:41, Stephen John Smoogen (smo...@gmail.com) wrote: > >> On 9 October 2012 15:24, Lennart Poettering wrote: >> > On Tue, 09.10.12 16:53, Simo Sorce (s...@redhat.com) wrote: >> >> > If you want audit-like semantics with crashi

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Dan Williams
On Tue, 2012-10-09 at 15:57 -0600, Stephen John Smoogen wrote: > On 9 October 2012 15:50, Matthew Miller wrote: > > On Tue, Oct 09, 2012 at 03:41:51PM -0600, Stephen John Smoogen wrote: > >> > If you want audit-like semantics with crashing if we cannot write, then > >> > use something else, not th

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 15:41, Stephen John Smoogen (smo...@gmail.com) wrote: > On 9 October 2012 15:24, Lennart Poettering wrote: > > On Tue, 09.10.12 16:53, Simo Sorce (s...@redhat.com) wrote: > > > If you want audit-like semantics with crashing if we cannot write, then > > use something else, not th

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Dan Williams
On Tue, 2012-10-09 at 15:41 -0600, Stephen John Smoogen wrote: > On 9 October 2012 15:24, Lennart Poettering wrote: > > On Tue, 09.10.12 16:53, Simo Sorce (s...@redhat.com) wrote: > > > If you want audit-like semantics with crashing if we cannot write, then > > use something else, not the journal

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 15:50, Matthew Miller wrote: > On Tue, Oct 09, 2012 at 03:41:51PM -0600, Stephen John Smoogen wrote: >> > If you want audit-like semantics with crashing if we cannot write, then >> > use something else, not the journal. The journal is supposed to be >> > robust and do the right t

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 03:41:51PM -0600, Stephen John Smoogen wrote: > > If you want audit-like semantics with crashing if we cannot write, then > > use something else, not the journal. The journal is supposed to be > > robust and do the right thing so that you can leave it unnatteneded and > > wh

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Stephen John Smoogen
On 9 October 2012 15:24, Lennart Poettering wrote: > On Tue, 09.10.12 16:53, Simo Sorce (s...@redhat.com) wrote: > If you want audit-like semantics with crashing if we cannot write, then > use something else, not the journal. The journal is supposed to be > robust and do the right thing so that y

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 11:26:19PM +0200, Lennart Poettering wrote: > Well, you have to actually enable the journal on persistent storage > first. Try "mkdir /var/log/journal". Without that we will only keep a > very small set of logs in RAM, so that things are flushed out quickly. So, minutes bef

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 14:57, Chris Murphy (li...@colorremedies.com) wrote: > > On Oct 9, 2012, at 11:20 AM, Lennart Poettering wrote: > > > On Tue, 09.10.12 15:35, Bryn M. Reeves (b...@redhat.com) wrote: > >> Setting PIPE or piping to a pager is even worse - the lines are > >> truncated at 77 chars r

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 16:53, Simo Sorce (s...@redhat.com) wrote: > > > Also: what is the equivalent for logrotate in the systemd journal > > > case? > > > > Rotation happens in-line, i.e. each time before we are about to write an > > entry we check if rotation is necessary and execute it. This should

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Chris Murphy
On Oct 9, 2012, at 11:20 AM, Lennart Poettering wrote: > On Tue, 09.10.12 15:35, Bryn M. Reeves (b...@redhat.com) wrote: >> Setting PIPE or piping to a pager is even worse - the lines are >> truncated at 77 chars regardless of the term width so for now I'm >> running journalctl --no-pager -a | le

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Simo Sorce
On Tue, 2012-10-09 at 20:47 +0200, Lennart Poettering wrote: > On Tue, 09.10.12 13:40, Chris Adams (cmad...@hiwaay.net) wrote: > > > Once upon a time, Lennart Poettering said: > > > Only users in the "adm" group can see system logs and logs of > > > other users. > > > > Is this configurable (if

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread John . Florian
> From: Matthew Miller > On Tue, Oct 09, 2012 at 03:55:30PM -0400, john.flor...@dart.biz wrote: > > So maybe I should say that I think Fedora has always had it just about > > right, IMHO. A very small, but functional system ready to grow and can do > > so with its own tools. > > Yeah, but th

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 03:55:30PM -0400, john.flor...@dart.biz wrote: > So maybe I should say that I think Fedora has always had it just about > right, IMHO. A very small, but functional system ready to grow and can do > so with its own tools. Yeah, but there's _so much_ room to quibble over w

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread John . Florian
> From: Jesse Keating > On 10/09/2012 05:55 AM, john.flor...@dart.biz wrote: > >> From: "Jóhann B. Guðmundsson" > > > >> I personally want to see the documentation releng/fesco has about what > >> the default minimal set, what the process is to have something > >> include,excluded from it and wh

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Till Maas
On Tue, Oct 09, 2012 at 07:51:30PM +0200, Lennart Poettering wrote: > To summarize: > > Previously: /var/log/secure readable only for root, /var/log/messages > readable for everybody and including data from everybody. Currently (Fedora 17 and before) /var/log/message is only readably by root. R

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Dan Williams
On Tue, 2012-10-09 at 21:29 +0200, Reindl Harald wrote: > > Am 09.10.2012 19:19, schrieb Lennart Poettering: > > On Tue, 09.10.12 15:19, Tom Hughes (t...@compton.nu) wrote: > > > >> On 09/10/12 15:04, Lennart Poettering wrote: > >> > >>> h) It's much shorter to type: "journalctl" than "less > >>>

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Reindl Harald
Am 09.10.2012 19:19, schrieb Lennart Poettering: > On Tue, 09.10.12 15:19, Tom Hughes (t...@compton.nu) wrote: > >> On 09/10/12 15:04, Lennart Poettering wrote: >> >>> h) It's much shorter to type: "journalctl" than "less >>>/var/log/messages". "journalctl -n" is shorter than "tail >>>/v

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 03:14:06PM -0400, Seth Vidal wrote: > This must be changed. Many policies at IT departments world wide > have a date-based requirement, not a disk space size. > It is simply unacceptable. https://bugzilla.redhat.com/show_bug.cgi?id=864629 -- Matthew Miller ☁☁☁ Fedora C

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Seth Vidal
On Tue, 9 Oct 2012, Lennart Poettering wrote: Rotation happens in-line, i.e. each time before we are about to write an entry we check if rotation is necessary and execute it. This should make things a lot more robust, as this fixes a common issue with syslog where a lot of data generated in bu

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 13:40, Chris Adams (cmad...@hiwaay.net) wrote: > Once upon a time, Lennart Poettering said: > > Only users in the "adm" group can see system logs and logs of > > other users. > > Is this configurable (if so, how)? For example, all the "wheel is > special" behavior I am aware of

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Chris Adams
Once upon a time, Lennart Poettering said: > Only users in the "adm" group can see system logs and logs of > other users. Is this configurable (if so, how)? For example, all the "wheel is special" behavior I am aware of is configurable (e.g. PAM config, visudo). Also: what is the equivalent for

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Jesse Keating
On 10/09/2012 05:55 AM, john.flor...@dart.biz wrote: From: "Jóhann B. Guðmundsson" I personally want to see the documentation releng/fesco has about what the default minimal set, what the process is to have something include,excluded from it and why the packages that exist in it are there

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 11:30, Matthew Miller (mat...@fedoraproject.org) wrote: > On Tue, Oct 09, 2012 at 05:24:42PM +0200, Richard Marko wrote: > > > Compared to the other things I mentioned this is less important (because > > > hey, sysadmins can learn new ways!), but I wanted to elaborate on where >

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 11:00, Matthew Miller (mat...@fedoraproject.org) wrote: > On Tue, Oct 09, 2012 at 10:45:24AM -0400, Matthew Miller wrote: > > > c) it auto-pages if run on a tty > > Hmmm. That's not necessarily what people are expecting, but okay. > > To expand on this: there is a general expecta

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 10:45, Matthew Miller (mat...@fedoraproject.org) wrote: > > i) You always see the full set of logs you have access to. No need > >anymore to to look through /var/log/messages, /var/log/secure and so > >on one individually. And you get all of this nicely interleaved. > > A

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Matthew Miller
On Tue, Oct 09, 2012 at 07:27:19PM +0200, Lennart Poettering wrote: > That all said, the color and autopaging is disabled automatically if you > pipe the tools to something that is not a tty. You can also enable this > via command line args, and env vars. This is similar to man or git. If As long

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 18:37, Richard W.M. Jones (rjo...@redhat.com) wrote: > On Tue, Oct 09, 2012 at 07:34:50PM +0200, drago01 wrote: > > On Tue, Oct 9, 2012 at 7:30 PM, Richard W.M. Jones > > wrote: > > > On Tue, Oct 09, 2012 at 04:16:16PM +0200, Lennart Poettering wrote: > > >> On Tue, 09.10.12 09:

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Richard W.M. Jones
On Tue, Oct 09, 2012 at 07:34:50PM +0200, drago01 wrote: > On Tue, Oct 9, 2012 at 7:30 PM, Richard W.M. Jones wrote: > > On Tue, Oct 09, 2012 at 04:16:16PM +0200, Lennart Poettering wrote: > >> On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > >> > >> > Once upon a time, Lennart Po

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 09:38, Chris Adams (cmad...@hiwaay.net) wrote: > Once upon a time, Lennart Poettering said: > > On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: > > > Once upon a time, Lennart Poettering said: > > > > If people want some pixel-perfect copy of the traditional > >

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread drago01
On Tue, Oct 9, 2012 at 7:30 PM, Richard W.M. Jones wrote: > On Tue, Oct 09, 2012 at 04:16:16PM +0200, Lennart Poettering wrote: >> On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote: >> >> > Once upon a time, Lennart Poettering said: >> > > If people want some pixel-perfect copy of th

Re: replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

2012-10-09 Thread Lennart Poettering
On Tue, 09.10.12 15:45, Tom Hughes (t...@compton.nu) wrote: > On 09/10/12 15:35, Bryn M. Reeves wrote: > >On 10/09/2012 03:19 PM, Tom Hughes wrote: > > > >>More importantly though, what is the equivalent of "fgrep xxx > >>/var/log/messages" which is certainly pretty much the most common thing > >>

  1   2   >