|
|
Subscribe / Log in / New account

tmpfiles footgun, apply directly to the forehead

tmpfiles footgun, apply directly to the forehead

Posted Jun 17, 2024 4:34 UTC (Mon) by jccleaver (guest, #127418)
In reply to: tmpfiles footgun, apply directly to the forehead by bluca
Parent article: systemd 256 released

>None of this has anything to do with "tmpfiles" - it is just an unfortunate legacy name (that cannot be changed without breaking scripts), but sd-tmpfiles has not been about temporary files for years and years. Just check the entries in the tmpfiles.d directory, you'll see plenty of stuff under /etc/ and /var/.

What? Scope creep in systemd leading to bombs left for sysadmins years after the fact to discover the hard way? Surely not! That's impossible.

This ranks up there with the "Bricking laptops via an errant 'rm' command is a Good Thing" rationalization.


to post comments

tmpfiles footgun, apply directly to the forehead

Posted Jun 17, 2024 5:45 UTC (Mon) by mjg59 (subscriber, #23239) [Link]

I'm the one who decided to expose efi variables via a filesystem in a way that let you rm things, and the intent was that it be mounted read-write by default. Any blame associated with rm -rf / bricking systems is on me, not systemd.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds