Lädt...

🐧 Systemd 256.1 Addresses Complaint That 'systemd-tmpfiles' Could Unexpectedly Delete Your<nobr> <wbr></nobr>/home Directory


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: linux.slashdot.org

"A good portion of my home directory got deleted," complained a bug report for systemd filed last week. It requested an update to a flag for the systemd-tmpfiles tool which cleans up files and directories: "a huge warning next to --purge. This option is dangerous, so it should be made clear that it's dangerous." The Register explains: As long as five years ago, systemd-tmpfiles had moved on past managing only temporary files — as its name might suggest to the unwary. Now it manages all sorts of files created on the fly ... such as things like users' home directories. If you invoke the systemd-tmpfiles --purge command without specifying that very important config file which tells it which files to handle, version 256 will merrily purge your entire home directory. The bug report first drew a cool response from systemd developer Luca Boccassi of Microsoft: So an option that is literally documented as saying "all files and directories created by a tmpfiles.d/ entry will be deleted", that you knew nothing about, sounded like a "good idea"? Did you even go and look what tmpfiles.d entries you had beforehand? Maybe don't just run random commands that you know nothing about, while ignoring what the documentation tells you? Just a thought eh But the report then triggered "much discussion," reports Phoronix. Some excerpts: Lennart Poettering: "I think we should fail --purge if no config file is specified on the command line. I see no world where an invocation without one would make sense, and it would have caught the problem here." Red Hat open source developer Zbigniew JÄ(TM)drzejewski-Szmek: "We need to rethink how --purge works. The principle of not ever destroying user data is paramount. There can be commands which do remove user data, but they need to be minimized and guarded." Systemd contributor Betonhaus: "Having a function that declares irreplaceable files — such as the contents of a home directory — to be temporary files that can be easily purged, is at best poor user interfacing design and at worst a severe design flaw." But in the end, Phoronix writes, systemd-tmpfiles behavior "is now improved upon." "Merged Wednesday was this patch that now makes systemd-tmpfiles accept a configuration file when running purge. That way the user must knowingly supply the configuration file(s) to which files they would ultimately like removed. The documentation has also been improved upon to make the behavior more clear." Thanks to long-time Slashdot reader slack_justyb for sharing the news.

Read more of this story at Slashdot.

...

🐧 A Proposed Change for Fedora 40: Unify<nobr> <wbr></nobr>/usr/bin With<nobr> <wbr></nobr>/usr/sbin


📈 100.56 Punkte
🐧 Linux Tipps

📰 How a UK Treaty Could Spell the End of the<nobr> <wbr></nobr>.io Domain


📈 55.92 Punkte
📰 IT Security Nachrichten

📰 Wondering Why Your Internal<nobr> <wbr></nobr>.dev Web App Has Stopped Working?


📈 52.89 Punkte
📰 IT Security Nachrichten

📰 The<nobr> <wbr></nobr>.meme Domain Is Here


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 ICANN Lifts All Price Caps On<nobr> <wbr></nobr>.Org Domain Names


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Company Buying<nobr> <wbr></nobr>.Org Offers To Sign a Contract Banning Price Hikes


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Amazon Opens Registration For<nobr> <wbr></nobr>.BOT Domain Name


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 The Price of a<nobr> <wbr></nobr>.Com Domain Is Set To Rise, and Some Sellers Aren't Happy


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Deserialization Issues Also Affect<nobr> <wbr></nobr>.NET, Not Just Java


📈 50.28 Punkte
📰 IT Security Nachrichten

🐧 Mozilla Introduces Firefox Nightly<nobr> <wbr></nobr>.deb Packages for Debian-based Linux Distros


📈 50.28 Punkte
🐧 Linux Tipps

📰 Sale of<nobr> <wbr></nobr>.Org Domain Registry Delayed By California Attorney General


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Nintendo Is Repairing Left Joy-Cons With<nobr> <wbr></nobr>... a Piece of Foam?


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Google Registry Launches<nobr> <wbr></nobr>.ing Domains, Begg.ing For Wordplay


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Microsoft is Bringing Visual Studio To the Browser, Unveils<nobr> <wbr></nobr>.NET 5


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 ICANN Wants to Let VeriSign Raise Prices on<nobr> <wbr></nobr>.Com Domains


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Is Microsoft 'Reaping the Rewards' From Open-Sourcing Its<nobr> <wbr></nobr>.NET Core?


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Mastodon Continues to Grow - But Still<nobr> <wbr></nobr>.27% the Size of Twitter


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 ICANN Proposes Allowing Unlimited Fee Increases For<nobr> <wbr></nobr>.Org Domain Names


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Google Joins Microsoft's<nobr> <wbr></nobr>.NET Foundation


📈 50.28 Punkte
📰 IT Security

📰 Google-Free<nobr> <wbr></nobr>/e/ OS Is Now Selling Preloaded Phones In the US, Starting At $380


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Will A No-Deal Brexit Void 340,000 British-Owned<nobr> <wbr></nobr>.EU Domains?


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 The World's Internet Registries Demand ICANN's Records on<nobr> <wbr></nobr>.org Registry Transfer


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Samsung Launches SSD 960 EVO NVMe Drive At 3GB/Sec and Under<nobr> <wbr></nobr>.50 Per Gigabyte


📈 50.28 Punkte
📰 IT Security

📰 81,000 UK-Owned<nobr> <wbr></nobr>.EU Domains Suspended As Brexit Transition Ends


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Google's New<nobr> <wbr></nobr>.dev Domain Opens To All


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 ReactOS 0.4.2 Released: Supports Linux Filesystems,<nobr> <wbr></nobr>.NET Applications, and Doom 3


📈 50.28 Punkte
📰 IT Security

📰 EFF Reveals Behind-the-Scenes Account of the Fight to Save<nobr> <wbr></nobr>.ORG


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Google Launches New<nobr> <wbr></nobr>.dev TLD


📈 50.28 Punkte
📰 IT Security Nachrichten

📰 Controversial Sale of<nobr> <wbr></nobr>.Org Domain Manager Faces Review At ICANN


📈 50.28 Punkte
📰 IT Security Nachrichten

matomo