this post was submitted on 22 Jun 2024
124 points (98.4% liked)

Technology

59168 readers
1991 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 52 points 4 months ago (5 children)

I'm gonna be real. I dont think home directory files should handled by something named tmpfiles. I think something named tmpfiles should only handled volatile data as it is colloquially known. I get there's a lot that can be considered that in home directories. But user data should be handled by something that is made for that and users inherently know by the name that this will mess your home directory. This only applies to monoliths and monoliths to be like systemd. Maybe you're doing too much with a single program if your naming becomes problematic.

[–] [email protected] 54 points 4 months ago (1 children)

I'm gonna be real. I dont think home directory files should handled by something named tmpfiles.

But... but... it was in the documentation! /s

What killed me about the whole thing was how defensive the dev was about the whole thing, basically calling the reporter a moron for running a command without extensive knowledge of the entire system. I don't care how good the documentation is, if open file proceeds to format your hard drive in some circumstances, you done goofed as a dev.

[–] [email protected] 1 points 4 months ago

I agree his answer sucks, but perhaps the fault still lies with the distribution developers (who should know better), not the authors of systemd. In that context I can understand the resentment expressed by the dev. It's not directed toward the end user but toward the distro developers, who have implemented systemd in a broken and dangerous way.

[–] [email protected] 14 points 4 months ago

That first response was awful, like fuck you man, maybe I should read the doc but maybe your software should be better designed if it handles my data like that. Jesus Christ...

[–] [email protected] 13 points 4 months ago

Especially when "tmpfiles" is an existing term of art with a very specific meaning

[–] [email protected] 10 points 4 months ago (1 children)

Tbf, this is something that only some distros do. Those distros should be reprimanded for handling home directories with the tmpfiles system, not systemd.

[–] [email protected] 2 points 4 months ago

What distros are those?

[–] [email protected] 1 points 4 months ago (1 children)

I dont think home directory files should handled by something named tmpfiles.

The only reason its still called tmpfiles is because of backwards compatibility

[–] [email protected] 5 points 4 months ago (1 children)

Well, the back is my hand is compatible with the dev's face. You don't see me slapping people all willy-nilly.

[–] [email protected] 1 points 4 months ago

I dunno, I don't have a camera feed into your life. But considering that is the first thing you respond to a clarification it most certainly wouldn't surprise me if you did.

[–] [email protected] 9 points 4 months ago

this is just systemds way of telling you to listen to me when i say you gotta make backups

[–] [email protected] 5 points 4 months ago

Well that's good... 😳

[–] [email protected] 4 points 4 months ago

Good god, thats a hell of a patch lol

[–] [email protected] 4 points 4 months ago

Fixes catastrophic data loss, er, ~~bug~~, er ~~poorly documented feature~~... user error

Gotta love the Register