Deutsch English Français Italiano |
<rq44alxv4u.ln2@Telcontar.valinor> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." <robin_listas@es.invalid> Newsgroups: comp.os.linux.misc Subject: Re: More systemdCrap Date: Mon, 10 Mar 2025 23:14:19 +0100 Lines: 39 Message-ID: <rq44alxv4u.ln2@Telcontar.valinor> References: <vqn41l$1efis$1@dont-email.me> <vqna2v$1fks2$1@dont-email.me> <vqnbm7$1g56j$1@dont-email.me> <gjo3alxe38.ln2@Telcontar.valinor> <vqnja1$1hrbi$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net l4YIjo1bNGXB8ZWW6tNGkwkoOWe51ALcuQzQ7UBIPq/MddVSsG X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:hMzNRAd/2BW7PPNemQu8b2QTzZQ= sha256:dZjGMOKLStZ3/JalqFeaxuqS2J5erYBcgqw0S8555CA= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <vqnja1$1hrbi$1@dont-email.me> Bytes: 2342 On 2025-03-10 21:50, The Natural Philosopher wrote: > On 10/03/2025 18:45, Carlos E.R. wrote: >> On 2025-03-10 19:40, The Natural Philosopher wrote: >>> On 10/03/2025 18:12, Dan Espen wrote: >>>> The Natural Philosopher <tnp@invalid.invalid> writes: >>>> >>>>> I have an errant service spewing out pages of errors. >>>>> >>>>> It appears that journalctl is not able to clear a single service from >>>>> its log files. >>>>> Anyone know different? >>>> >>>> https://serverfault.com/questions/1053748/how-can-i-ask-journalctl- >>>> to- show-records-for-all-units-except-one >>>> >>> What has that got to do with the question? >> >> Systemd by intentional design can not clear anything from its log >> files. You should know this. >> > Of course it can. > > The problem is it doesn't do it selectively by service, only globally > by time or by size. > IN short journalctl is fundamentally broken. No, it can not do. The journal contains everything, nothing can be removed. This is intentional by design. At display time, you can choose what to show, which is different. Obviously it can delete old entries, that's different. Either by date, or by choosing what total size to keep. Nothing is broken, it has been intentionally designed this way, looking at integrity of the recorded data, which can be, I heard, cryptographically signed. -- Cheers, Carlos.