Stories
Slash Boxes
Comments

SoylentNews is people

posted by cmn32480 on Monday April 17 2017, @08:34PM   Printer-friendly
from the people-that-live-in-a-bubble dept.

Edit: The link.

There were lots of good titles for this submission, as in "Breaking news: Poettering clueless?" to finally disprove Betteridge's law, or "systemd surprisingly not as good as advertised" or "Breaking new: systemd broken" or "Poettering censors critics after epic fail".

Systemd implementation of "rm -rf .*" will follow ".." to upper directory and erase /

How to reproduce:
        # mkdir -p /foo/dir{1,2}

        # touch /foo/.bar{1,2}

        # cat /etc/tmpfiles.d/test.conf

        R! /foo/.* - - - - -

        Reboot.

After the issue was fixed, finally Poettering added this gem of wisdom:

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?

The answer to this question, as many clarified for him, obviously is a loud "NO!". After being told a couple of times in no uncertain terms, the thread was closed for non-developers

poettering locked and limited conversation to collaborators 4 hours ago

for which I proposed the "freedom-of-speech" department (although I admit it is a weak proposal).


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Funny) by Anonymous Coward on Monday April 17 2017, @09:08PM (5 children)

    by Anonymous Coward on Monday April 17 2017, @09:08PM (#495501)

    Here's the fix:
    rm -rf systemd

    Starting Score:    0  points
    Moderation   +5  
       Insightful=1, Funny=4, Total=5
    Extra 'Funny' Modifier   0  

    Total Score:   5  
  • (Score: 5, Touché) by fritsd on Tuesday April 18 2017, @04:17AM (4 children)

    by fritsd (4586) on Tuesday April 18 2017, @04:17AM (#495673) Journal

    I can't do that, Dave.

    • (Score: 2, Funny) by Anonymous Coward on Tuesday April 18 2017, @10:48AM

      by Anonymous Coward on Tuesday April 18 2017, @10:48AM (#495779)

      And for some reason the airlock just opened.

    • (Score: 1, Touché) by Anonymous Coward on Tuesday April 18 2017, @10:54AM (2 children)

      by Anonymous Coward on Tuesday April 18 2017, @10:54AM (#495784)

      sudo rm -rf systemd

      • (Score: 0) by Anonymous Coward on Tuesday April 18 2017, @11:47AM (1 child)

        by Anonymous Coward on Tuesday April 18 2017, @11:47AM (#495794)

        username is not in the sudoers file. This incident will be reported.

        • (Score: 2, Insightful) by Anonymous Coward on Tuesday April 18 2017, @02:23PM

          by Anonymous Coward on Tuesday April 18 2017, @02:23PM (#495854)