[SM-Grimoire-Bugs] [Bug 15499] New: coreutils 8.1 is broken a.k.a. rm: invalid argument: `'

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Thu Nov 26 13:11:34 EST 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15499

           Summary: coreutils 8.1 is broken a.k.a. rm: invalid argument:
                    `'
           Product: Codex
           Version: test grimoire
          Platform: All
        OS/Version: Linux
            Status: ASSIGNED
          Severity: blocker
          Priority: P3
         Component: utils
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: stealth at sourcemage.org



Vlad Glagolev <stealth at sourcemage.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|                            |must_fix_before_release+


As mentioned in subject,

discussed on IRC and checked by many people, 8.1 has some serious problems with
rm program.

it doesn't remove anything if something nullish has been passed,

example:

stealth at carrier:~$ touch foo; rm foo ""
rm: invalid argument: `'
stealth at carrier:~$ ls
foo

both in 7.6 and 8.1 rms return exit code 1.

on casting every spell (if not using castfs) you might see the message "rm:
invalid argument: `'". That's cause of castfs logfile not existing in your
castfsless system.

Also, while casting some xorgish (e.g. libxt) spells -- you'll see a lot of
such messages.

And it seems could be a start of the great epic fail, for example you won't be
able to cast ifupdown spell one more time with coreutils 8.1 (and there will be
A LOT of checks and fixes we should make if they keep such policy):

--
...
Dispelled spell: ifupdown
Installing ifupdown
install -m 0755 -d     /sbin
install -m 0755 ifup   /sbin
ln /sbin/ifup /sbin/ifdown    
ln: creating hard link `/sbin/ifdown': File exists
make: *** [install] Error 1
Running make with 2 jobs failed. Attempt to run with a single job? [y] 
install -m 0755 -d     /sbin
install -m 0755 ifup   /sbin
ln /sbin/ifup /sbin/ifdown    
ln: creating hard link `/sbin/ifdown': File exists
make: *** [install] Error 1
 Problem Detected! 
INSTALL failed!
Creating compile log /var/log/sorcery/compile/ifupdown-0.6.9.bz2 

Spells that encountered problems:
---------------------------------
ifupdown (install)
--

This change mustn't go to stable!

So reverted 8.1 bump (0eadc2d844fc3ef2a5891d818a10f02804622e91) in test.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list