[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Hibernate filled my /root
From:       Teemu Likonen <tlikonen () iki ! fi>
Date:       2022-05-26 17:36:00
Message-ID: 8735gwmc1r.fsf () iki ! fi
[Download RAW message or body]


* 2022-05-26 09:58:19-0700, Peter Ehlert wrote:

> On 5/26/22 08:15, IL Ka wrote:
>> 30 GB of logs, wow. Do you use logrotate?
> No, not that I am aware of.

You can safely delete old log files with "rm" command.

I guess that you use laptop mostly without power supply connected. Many
system maintenance routines (including logrotate) newer run in such
condition because the systemd service unit has this condition:

    ConditionACPower=true

I always add an override file for some systemd units, for example:

    $ sudo systemctl edit logrotate.service

Edit file's content so that it has this:

    [Unit]
    ConditionACPower=

After editing you can verify the unit file with:

    $ systemctl cat logrotate.service

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic