It's origin should not matter.
What to do with the “rm -rf” hoax question
11–20 of 71 posts
Re: What to do with the “rm -rf” hoax question
#12Does it matter that it didn't happen, if it could happen? Sounds like a serious issue.
I wrote Ansible, but no longer work on it.
There are numerous problems with the hoax.
(A) the user skipped --no-preserve-root to the command, if he really wanted to delete /, he would need to try harder on a modern distro, because the rm command would stop the attempt (B) ansible by default fails on undefined variables, meaning it would never execute the command (C) Jinja template variables are actually {{foo}} not {foo}, so {foo} in bash prints a literal foo
So this triply couldn't happen. Finally, most people should probably be using the file module to delete files, though if people want to call out to the shell they can with any config tool.
I hate this was even posted because it reflects poorly on me and was in exceptionally bad taste to imply ansible would let it happen.
But can you shoot yourself in the foot with any config tool? If you want to, yes. Can you be bitten by a bug? Yes. Do tool authors make mistakes? Yes.
But it was a mean thing to do, and it's not something the tool would even allow, and it hurts when tech journalists (arguably some of the worst reporters in existance) blindly parrot the article without fake checking (just like they'll also do fake comparisons that just recycle blog posts).
Re: What to do with the “rm -rf” hoax question
#13http://stackoverflow.com/questions/9751207/how-can-i-use-got...
Re: What to do with the “rm -rf” hoax question
#14How come that such user-generated-content communities always end like that?!
Re: What to do with the “rm -rf” hoax question
#15Reminds me of this post. Poster created a question and immediately answered it with his own link. http://stackoverflow.com/questions/9751207/how-can-i-use-got...
Re: What to do with the “rm -rf” hoax question
#16Now that I've said that, I do think this hoax question should be closed because one of the principles is that it should be based on real problems people face, which is a good way to keep the signal-to-noise ratio high. By definition, this hoax is not real. While we could imagine it's possible, that's pure speculation and there are infinite other scenarios we could imagine, but we don't need to ask them as StackOverflow questions.
On a practical note, it's worth banning just to prevent a thousand viral marketers and recruiters falling over themselves to compose the most attention-grabbing fake questions in the next month.
Re: What to do with the “rm -rf” hoax question
#17Reminds me of this post. Poster created a question and immediately answered it with his own link. http://stackoverflow.com/questions/9751207/how-can-i-use-got...
It's not against the rules to answer your own question, as far as I'm aware. If the question is one that other users may ask, and you have an answer, I don't see what's wrong with posting questions and immediately answering them.
The user created the question and answered it immediately with a link to his goto library.
The issue is not answering your own question, but more about posting your own question to answer.
Suppose everyone who creates a startup, posts a question & answer to advertise their own project.
Re: What to do with the “rm -rf” hoax question
#18Reminds me of this post. Poster created a question and immediately answered it with his own link. http://stackoverflow.com/questions/9751207/how-can-i-use-got...
It's not against the rules to answer your own question, as far as I'm aware. If the question is one that other users may ask, and you have an answer, I don't see what's wrong with posting questions and immediately answering them.
Re: What to do with the “rm -rf” hoax question
#19So the Wikipedia-Delete-Nazis spread to StackExchange? How come that such user-generated-content communities always end like that?!
Re: What to do with the “rm -rf” hoax question
#20Reminds me of this post. Poster created a question and immediately answered it with his own link. http://stackoverflow.com/questions/9751207/how-can-i-use-got...