Bug 11009 - 4_a1: /lib/systemd/system/-.slice causing invalid option errors with ls, grep, less, ...
Summary: 4_a1: /lib/systemd/system/-.slice causing invalid option errors with ls, grep...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 17:37 CEST by Bit Twister
Modified: 2013-08-20 23:54 CEST (History)
0 users

See Also:
Source RPM: systemd-206-5.mga4.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2013-08-15 17:37:37 CEST
Description of problem:

/lib/systemd/system/-.slice causing invalid option errors with ls, grep, less,..

$ cd /lib/systemd/system/
$ less -.slice
There is no -. option ("less --help" for help)
Missing filename ("less --help" for help)

$ grep ControlGroup *
grep: invalid option -- '.'
Usage: grep [OPTION]... PATTERN [FILE]...

$ ls *.slice
ls: invalid option -- '.'

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
Clean install of Mageia-4-alpha1-LiveDVD-KDE4-x86_64-DVD.iso.

1. cd /lib/systemd/system/
2. grep ControlGroup *
3. ls *.slice
4. less -.slice



Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2013-08-20 23:54:34 CEST
Use -- before the filename, i.e.:
less -- -.slice

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.