Skip to content

Housekeeping: Clean systemd's logs and tmp directories#196

Closed
lenemter wants to merge 3 commits intomainfrom
lenemter/add-more-tmp-dirs
Closed

Housekeeping: Clean systemd's logs and tmp directories#196
lenemter wants to merge 3 commits intomainfrom
lenemter/add-more-tmp-dirs

Conversation

@lenemter
Copy link
Member

Fixes #191
Includes and requires #195

/var/log was requested here: #191
/var/tmp is a temporary directory where some stuff e.g. coredumps are located. On my install they took about 30GB of storage, so I think we definitely should clean it

@lenemter lenemter requested a review from a team June 10, 2025 11:55
Copy link
Contributor

@leonardo-lemos leonardo-lemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@lenemter lenemter marked this pull request as draft June 10, 2025 15:39
@Marukesu
Copy link
Contributor

I believe systemd already controls the cleanup of both folders, i don't think we should be acting on them behind they back.

@lenemter lenemter closed this Jun 11, 2025
@lenemter lenemter deleted the lenemter/add-more-tmp-dirs branch June 11, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Oversized /var/log/syslog should be aggersively cleaned up to combat login loops

3 participants