Sujet : Re: More systemdCrap
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.miscDate : 11. Mar 2025, 08:45:12
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vqopm8$1s78c$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
On 10/03/2025 22:14, Carlos E.R. wrote:
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.
Exactly. It's fundamentally broken
It would be very easy to scan the file and copy to a new one deleting specific instances to remove certain classes of logs, but the programmers were too lazy and arrogant to be bothered to do it
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.
As I said designed to a stupid specification by a total wanker
All logs are not created equal.
-- The lifetime of any political organisation is about three years before its been subverted by the people it tried to warn you about.Anon.