Re: Journald's qualities

2024-02-27 Thread Anssi Saari
Mariusz Gronczewski writes: > ... in what way? You need to resolve DNS first before you know which > interface the traffic is going out of. You can specify a domain via resolvectl domain for an interface. In my simple case I specify just ~. as the domain for my VPN and for my local domain it's

Re: Journald's qualities

2024-02-26 Thread Jeffrey Walton
On Mon, Feb 26, 2024 at 10:42 AM Mariusz Gronczewski wrote: > > Dnia 2024-02-26, o godz. 13:10:43 > Anssi Saari napisał(a): > > > Mariusz Gronczewski writes: > > > > > Offtopic but since Debian switched to systemd for DNS management on > > > VPNs and suc I need to restart it sometimes multiple

Re: Journald's qualities

2024-02-26 Thread Mariusz Gronczewski
Dnia 2024-02-26, o godz. 13:10:43 Anssi Saari napisał(a): > Mariusz Gronczewski writes: > > > Offtopic but since Debian switched to systemd for DNS management on > > VPNs and suc I need to restart it sometimes multiple times to just > > get "right" DNS servers, because there appears to be no

Re: Journald's qualities

2024-02-26 Thread Anssi Saari
Mariusz Gronczewski writes: > Offtopic but since Debian switched to systemd for DNS management on > VPNs and suc I need to restart it sometimes multiple times to just get > "right" DNS servers, because there appears to be no notion of priority: > > https://github.com/systemd/systemd/issues/27543

Re: Journald's qualities

2024-02-24 Thread Kamil Jońca
Mariusz Gronczewski writes: [...] > > Offtopic but since Debian switched to systemd for DNS management on > VPNs and suc I need to restart it sometimes multiple times to just get > "right" DNS servers, because there appears to be no notion of priority: Well, I am using openresolv (earlier

Re: Journald's qualities (was: Selective rotation of journald logs)

2024-02-24 Thread Mariusz Gronczewski
Dnia 2024-02-23, o godz. 15:05:52 Nicholas Geovanis napisał(a): > On Fri, Feb 23, 2024, 2:57 PM Dan Ritter wrote: > > > Stefan Monnier wrote: > > > Makes one wonder why they don't use naive append-only "plain > > > text" logs (tho with appropriate delimiters (maybe some kind of > > > CSV) to

Re: Journald's qualities

2024-02-24 Thread Mariusz Gronczewski
Dnia 2024-02-23, o godz. 23:02:49 Jeffrey Walton napisał(a): > > Systemd also provides tamper-resistant logs. The property is often > desirable in the enterprise. See Forward Secure Sealing, > . > > Jeff > I had mentioned that feature. I haven't it seen in a

Re: Journald's qualities (was: Selective rotation of journald logs)

2024-02-24 Thread Mariusz Gronczewski
Dnia 2024-02-23, o godz. 12:34:34 Dan Ritter napisał(a): > Stefan Monnier wrote: > > Makes one wonder why they don't use naive append-only "plain text" > > logs (tho with appropriate delimiters (maybe some kind of CSV) to > > make searches more reliable than with old-style plain text logs)? > >

Re: Journald's qualities

2024-02-23 Thread Stefan Monnier
but what are the advantages of journald's representation compared to a naive one? >>> >>> in short: querability without text parsing. That's about it. >> >> They have to parse the binary format, so that's not in and of itself >> an upside compared to parsing CSV. >> >> I've made my

Re: Journald's qualities

2024-02-23 Thread Jeffrey Walton
On Fri, Feb 23, 2024 at 10:17 PM The Wanderer wrote: > > On 2024-02-23 at 15:35, Stefan Monnier wrote: > > >>> but what are the advantages of journald's representation compared > >>> to a naive one? > >> > >> in short: querability without text parsing. That's about it. > > > > They have to parse

Re: Journald's qualities

2024-02-23 Thread The Wanderer
On 2024-02-23 at 15:35, Stefan Monnier wrote: >>> but what are the advantages of journald's representation compared >>> to a naive one? >> >> in short: querability without text parsing. That's about it. > > They have to parse the binary format, so that's not in and of itself > an upside

Re: Journald's qualities (was: Selective rotation of journald logs)

2024-02-23 Thread Nicholas Geovanis
On Fri, Feb 23, 2024, 2:57 PM Dan Ritter wrote: > Stefan Monnier wrote: > > Makes one wonder why they don't use naive append-only "plain text" logs > > (tho with appropriate delimiters (maybe some kind of CSV) to make > > searches more reliable than with old-style plain text logs)? > > > > What

Re: Journald's qualities

2024-02-23 Thread Stefan Monnier
> systemd's design philosophy, observed from the outside, goes > like this: Let's try and stick to the subject of the log representation in `journald`, because we all know about the varied opinions about SystemD. Being an "old-hand", I'm not in love of SystemD, but the thing does have its

Re: Journald's qualities

2024-02-23 Thread Stefan Monnier
>> Oh, that bug report is quite interesting, thanks. >> Makes one wonder why they don't use naive append-only "plain text" >> logs (tho with appropriate delimiters (maybe some kind of CSV) to make >> searches more reliable than with old-style plain text logs)? >> >> What are the advantages of

Re: Journald's qualities (was: Selective rotation of journald logs)

2024-02-23 Thread Dan Ritter
Stefan Monnier wrote: > Makes one wonder why they don't use naive append-only "plain text" logs > (tho with appropriate delimiters (maybe some kind of CSV) to make > searches more reliable than with old-style plain text logs)? > > What are the advantages of journald's representation? > I mean,

Re: Journald's qualities (was: Selective rotation of journald logs)

2024-02-23 Thread Mariusz Gronczewski
Dnia 2024-02-23, o godz. 10:26:49 Stefan Monnier napisał(a): > > [13:37:48]cthulhu:/var/log/journal☠ journalctl |dd of=/dev/zero > > bs=1M 0+15442 records in > > 0+15442 records out > > 63643115 bytes (64 MB, 61 MiB) copied, 5,47791 s, 11,6 MB/s > > du -h /var/log/journal/ > > 337M

Journald's qualities (was: Selective rotation of journald logs)

2024-02-23 Thread Stefan Monnier
> [13:37:48]cthulhu:/var/log/journal☠ journalctl |dd of=/dev/zero bs=1M > 0+15442 records in > 0+15442 records out > 63643115 bytes (64 MB, 61 MiB) copied, 5,47791 s, 11,6 MB/s > du -h /var/log/journal/ > 337M /var/log/journal/44cf6f547971fc33309d1e9e02e7 > 337M /var/log/journal/ > > (I've