Deutsch   English   Français   Italiano  
<vqopm8$1s78c$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: More systemdCrap
Date: Tue, 11 Mar 2025 07:45:12 +0000
Organization: A little, after lunch
Lines: 53
Message-ID: <vqopm8$1s78c$1@dont-email.me>
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> <rq44alxv4u.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Mar 2025 08:45:13 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2b7ed091c89f64c79b78af56aa5ae3d2";
	logging-data="1973516"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18o799/CXmT4W/0TJHDGl4N2PrdPUeHwQ8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wRHykh2xtA7TYdcAB2zzmLRoBIc=
In-Reply-To: <rq44alxv4u.ln2@Telcontar.valinor>
Content-Language: en-GB
Bytes: 3140

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.