[systemd-bugs] [Bug 90333] New: The unit file "-.slice" should be renamed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 5 23:23:30 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90333

            Bug ID: 90333
           Summary: The unit file "-.slice" should be renamed
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: pollock at acm.org
        QA Contact: systemd-bugs at lists.freedesktop.org

On Linux, try this:
 cd .../systemd/system
 grep foo *

You will get an error message from grep!  I believe the problem is that the
file "-.slice" appears as a bunch of options to grep, and possibly other
commands.

Desired action: rename this file to something less error-prone, maybe
"0.slice".

Work-around: when in the systemd/system directory, always use "--", as in:
  grep -- foo *

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150506/12b10ecc/attachment.html>


More information about the systemd-bugs mailing list