[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Maintenance is complete! We got more disk space.
Become a Patron!

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 2.71 MB, 3456x2304, IMG_2605.jpg [View same] [iqdb] [saucenao] [google] [report]
59932819 No.59932819 [Reply] [Original] [archived.moe] [rbt]

Bug: systemd deletes root, Pöttering is like
I am not sure I'd consider this much of a problem. Yeah, it's a UNIX pitfall, but "rm -rf /foo/.*" will work the exact same way, no?

Top kek

>> No.59933182

And now, this fucker just closed(like every time) the issue.... like everytime when people see that he is talking bullshit. Why does anyone use anything from such an incompetent idiot?

>> No.59933213

>Bug: systemd deletes root
Bug: Deleting /folder/.. deletes /folder/..

>> No.59933236


>issue fixed
>keeping comments open so idiots like OP who have no understanding of the whole system can get outraged while disregarding their stupidity

I would close it down too, because it's pragmatic. Issue reported, issue solved, issue closed, move on to other work.

>> No.59933267

Thank you Ranjid, RedHat owes you $0.00023

>> No.59933296

epik maymay!

>> No.59933313

>"systemd is bad because it's not traditional unix-like!"
>the equivalent of rm -r .* goes up dir
>"systemd is bad because it works like traditional unix!"

>> No.59933326

>poettering locked and limited conversation to collaborators 36 minutes ago


>> No.59933602

But rm -r .* does not go up dir.

>> No.59933621

Are you sure? It should, because .. should qualify as .*

>> No.59934144

What would be a correct way to do it?

>> No.59934153

He's literally paid by the NSA to help kill linux with his stupidity.

>> No.59934162

Why should rm special case . or ..?
If you say you want to remove .. it should just do it, having extra checks is just bloat and not the unix way.

>> No.59934172

It's closed because it's fixed you retard.
An issue tracker is not for your sjw-tier drama rants.

>> No.59934233

It is literally mandated by POSIX/SUS that rm can't remove . and .. because it was considered an extremely easy-to-trigger hazard.
It was also mentioned in the thread on github, but that assumes that you can read and are not a total faggot.


>> No.59934287

They fixed the issue though.


>> No.59934302

Fuck off to rebbit you curry goblin shitstain

>> No.59934303

>because it was considered an extremely easy-to-trigger hazard.
Software should not be made catering to retards.

>> No.59934315

Hello Lennart, how's that filesystem restore going?

>> No.59934333

The amount of Poo In Loos pretending this is some intended behaviour shows RedHat upped their shilling budget.

cd /tmp; mkdir -p foo/bar/; rm -rf foo/bar/.. || rm -rf foo/bar/.*

>> No.59934336

rm doesn't expand wildcards either.
That's what the shell does.
And that does treat . and .. special.
Try it

>> No.59934337
File: 19 KB, 116x106, delet_this.png [View same] [iqdb] [saucenao] [google] [report]


>> No.59934372

If you like BSD style init over systemd you are an idiot, move along, nothing to see here.

>> No.59934520

Why do these retards rewrite everything from scratch instead of using something like glob(3)?

>> No.59934531

BSD init is plaintext and very easy to edit for your needs.

>> No.59934567

It's easier to hide the backdoors goy :^)

>> No.59934606

The problem isn't with globbing, it's with their rm.

>> No.59934668

That would be like super inefficient, dude. Now excuse me, I have to serialize 500MB of XML back and forth over DBUS

>> No.59935576

BSD init and SysV init are two different things you retard

>> No.59936716

Windows does not have this problem.

>> No.59937069
File: 77 KB, 781x649, shocking.png [View same] [iqdb] [saucenao] [google] [report]

people like >pic related piss me off to no end

>> No.59937117

>systemd is written by people who don't understand basic UNIX concepts like . and .. in a directory
Wew. Dodged a fucking bullet blacklisting that shit in my Gentoo install.

>> No.59938259

Not everyone has to contribute on github.

>> No.59938261

>using gentoo unironically

>> No.59938938

>Software should not be made catering to retards.
and here's the guy who thinks computers should be for a select elite group.
Software MUST be designed for reliability.

>> No.59938964
File: 68 KB, 450x200, computers-are-racist.jpg [View same] [iqdb] [saucenao] [google] [report]

give it back

>> No.59938969

>implying we can't have private repos

>> No.59939130

and that is why Apple was so successful.

>> No.59939867

>rm should delete . and .. when the user inputs rm -r .* because otherwise is catering to retards!
Okay, so how do you delete all the hidden files in a directory without deleting the folder?

>> No.59939950

rm ./.*

>> No.59940011

>doesn't delete hidden folders
>still catches ./. and ./..

>> No.59940038

>Okay, so how do you delete all the hidden files

>doesn't delete hidden folders

you know how I know you are shitty at programming?

>> No.59940055

Answer the question.

>> No.59940075

I don't know what the question is anymore since you fucking changed the parameters

rule #1 when discussing programming: be specific

you can't say, delete all the files, oops I meant all the directories

>> No.59940132

Maybe not be retarded? Here's the question you keep willfully dodging:

Using a non-standard rm which is only different from normal by not refusing to recursively remove . and .., delete all files and folders in the directory whose names begin with a period, excluding . and ..

Don't try to poke holes in what the prompt is, just answer it as if you're normal. You know what the question is, you know what the problem is, now solve it.

>> No.59940223


Why is there a custom buggy rm in systemd?

>> No.59940290


>> No.59940378
File: 56 KB, 1276x720, 1490276203838.jpg [View same] [iqdb] [saucenao] [google] [report]

>using poetteringware

baka desu senpai

>> No.59940533

Why did you suddenly go quiet? I mean, after all that buildup and effort trying to figure out the question, shouldn't you have an answer? Are you still trying to figure out the solution to this trivial problem, or do we need to cater to retards and use a sane default?

>> No.59940764

15 internet points for you Len

>> No.59940953


Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.