orange site: https://news.ycombinator.com/item?id=40729259
developer:
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
also:
systemd locked as too heated and limited conversation to collaborators 2 days ago
Jump in the discussion.
No email address required.
Community that frequently suggests noobs run random commands to solve problems admonishes a noob for running random commands to solve problems.
Jump in the discussion.
No email address required.
More options
Context
i dont care for the code but what a fricking champ. "Git gud noob" as first answer
Jump in the discussion.
No email address required.
More options
Context
You can't say anything bad about systemD on Reddit without a bunch of lennart peepee suckers jumping down your throat. I'm looking forward to the slap fights from the wave of lovers and haters making non stop posts about this
Jump in the discussion.
No email address required.
Say something bad about flatpak and redditors will rush to defend it.
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
They literally say it'll be like android with an immutable base and that's a good thing.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
How do they react to pooping on package managers?
Jump in the discussion.
No email address required.
More options
Context
Flatpaks are fine unless ir running one of thosw gay immutable root systems like fedora silver blue. With every update silver blue users shit up the fedora forums so id rather handle my own dependencies
Jump in the discussion.
No email address required.
More options
Context
More options
Context
I didn't think anyone liked him, including redditors.
Jump in the discussion.
No email address required.
Yeah I have never seen a redditor defend Poettering, systemD, or PulseAudio
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
I think Lennart has the thickest skin of any person on the internet. I cannot imagine the deranged messages he's gotten from turbo unix neurodivergents over making functional audio and making a functional init system for linux.
Jump in the discussion.
No email address required.
He doesn't have thick skin. He just has an army of peepeesuckers to fall back on.
I remember an early systemd interview from 2011 where he was going full cwc sneed that people didn't like it
Jump in the discussion.
No email address required.
More options
Context
I can't wait until Lennart releases his next project rendering x.org and wayland obsolete
Jump in the discussion.
No email address required.
More options
Context
tbh the documentation wasn't very clear about the implications of running the purge command so it's good that lennart wrote clearer documentation in his fix.
Jump in the discussion.
No email address required.
More options
Context
I just dont know why op didnt just rm files from /var/tmp? From what i understand debian still doesnt auto delete tmp filws but if you know /var/tmp is getting full why not just rm it all or only the files you dont need?
Jump in the discussion.
No email address required.
More options
Context
More options
Context
So it's called
systemd-tmpfiles
but actually it's a more generic tool for theworld of systemd
to create and clean up files, so it is given the responsibility of creating/home
on first boot, therefore it is responsible for deleting/home
, I think even if you made/home
yourself before first boot.This is one thing I don't like about
systemd
is it's like they expect you to be a bigsystemd
fan, to really get into it and know all the lore.Jump in the discussion.
No email address required.
More options
Context
It's just doing you a favor by preventing you from using Loonix
Jump in the discussion.
No email address required.
More options
Context
Exhilarating stuff right there. What an adventure.
Do you "run ZFS with zrepl taking a snapshot every 15 minutes."? Some heroes do..
Imagine beating that person's face in with a scissor-jack. That's what I'm doing right now.
Jump in the discussion.
No email address required.
More options
Context
Darn, it must suck to have anything in your home directory that's not under version control
Jump in the discussion.
No email address required.
It apparently started with his dotfiles, so I think .git might have been in the Poetterware's path.
Jump in the discussion.
No email address required.
Oops, time to
git clone
, now my whole day is ruinedJump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Does this bug affect Windows 11?
Jump in the discussion.
No email address required.
It actually might if you use WSL.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
Why not just delete shit from your /var/tmp directory? Why run a command you don't understand
Jump in the discussion.
No email address required.
it's a linux user's right to run whatever commands he/she/they wants to run without any restriction. just like it's a programmer's right to introduce memory safety bugs in C/C++ instead of using a language that can prevent such bugs.
Jump in the discussion.
No email address required.
You can run it just dont be shocked when it nukes ur system
Jump in the discussion.
No email address required.
More options
Context
More options
Context
The docs said it cleans up temp files, it's reasonable to assume temp files are files that are temporary
Jump in the discussion.
No email address required.
More options
Context
More options
Context
please explain for the non-homosexuals in the audience, what significance does the /home have in context
Jump in the discussion.
No email address required.
The
/home
directory in Unix-like operating systems, such as Linux, is a critical directory that serves as the root for user-specific directories. Each user on the system typically has their own subdirectory within/home
, named after their username (e.g.,/home/alice
for useralice
). Here's a breakdown of its purpose and why deleting it is problematic:Purpose of the
/home
Directory1. User Data Storage: Each subdirectory within
/home
stores the personal files, documents, configuration files, and application data for the respective user. This includes things like documents, pictures, and downloads, as well as hidden files and folders that hold user-specific settings.2. Configuration Files: User-specific configuration files (often hidden and prefixed with a dot, like
.bashrc
or.profile
) are stored in these directories. These files customize the user's environment and behavior of various applications.3. User Isolation: By placing each user's data in a separate subdirectory, the system ensures a degree of isolation between users. This helps in managing permissions and enhances security, as one user's files cannot be easily accessed or modified by another user without proper authorization.
4. Easy Backup and Restoration: Having a dedicated directory for user data makes it easier to back up and restore individual user accounts without affecting system-wide files and settings.
Why Deleting
/home
Is a Problem1. Loss of User Data: Deleting the
/home
directory would erase all personal files and documents for all users on the system. This includes irreplaceable data such as personal photos, work documents, and important files.2. Configuration Loss: All user-specific configurations would be lost. This means users would lose custom settings for their applications and desktop environments, leading to a significant loss of productivity and potentially requiring extensive reconfiguration.
3. System Disruption: Many applications store user-specific data in the
/home
directory. Deleting it would likely cause applications to fail or behave unexpectedly, as they rely on these files to function correctly.4. User Account Issues: Without a
/home
directory, users would not have a default location for their personal files, leading to confusion and potential security risks. The system may not operate correctly for existing users and may prevent the creation of new user accounts.5. Recovery Complexity: Recovering a deleted
/home
directory can be extremely difficult without a proper backup. Even if recovery tools are used, the integrity of the recovered data may be compromised, and there could be significant data loss.In summary, the
/home
directory is essential for storing user data and configurations. Deleting it can lead to catastrophic data loss and significant disruption of user activity, making it critical to handle it with care and always ensure proper backups are in place.Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
More options
Context
oh LOL deleting that would be dumb
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Snapshots:
https://github.com/systemd/systemd/issues/33349:
ghostarchive.org
archive.org
archive.ph (click to archive)
https://news.ycombinator.com/item?id=40729259:
ghostarchive.org
archive.org
archive.ph (click to archive)
Jump in the discussion.
No email address required.
snappy says this shit is turbo-gay LOL
Jump in the discussion.
No email address required.
More options
Context
More options
Context