Re: tail bug?

2009-10-05 Thread Jim Meyering
Eric Blake wrote: $ echo abc | tail -c +1 tail: cannot open `+1' for reading: No such file or directory $ echo abc | tail -c+1 abc $ tail --version | head -n1 tail (GNU coreutils) 7.6 Shouldn't -c behave the same, whether or not there is a space before the count argument? Thanks for the

[PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-05 Thread Ondřej Vašík
Hello, as reported in https://bugzilla.redhat.com/show_bug.cgi?id=527142 by Yanko Kaneti, chcon aborts on SELinux disabled kernel due to missing check for SELinux enabled kernel. Attached patch is fixing the issue. Additionally - for consistency - error message of this check in runcon was

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Pádraig Brady
Passed Skipped Failed \- Fedora core 5 x86 | 352 43 1 Fedora 11 x86 | 351 45 0 Solaris 10 x86| 334 62 0 Solaris 9 x86| 331

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Jim Meyering
Pádraig Brady wrote: Passed Skipped Failed \- Fedora core 5 x86 | 352 43 1 Fedora 11 x86 | 351 45 0 Solaris 10 x86| 334 62 0

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Pádraig Brady
Jim Meyering wrote: Pádraig Brady wrote: Passed Skipped Failed \- Fedora core 5 x86 | 352 43 1 Fedora 11 x86 | 351 45 0 Solaris 10 x86| 334

Re: Bug: tail (GNU coreutils) 5.97

2009-10-05 Thread Bob Proulx
barnettm...@comcast.net wrote: This particular default version of tail cannot handle the argument, +line-number. This shortcoming does not permit portability. The work-around is to do more math than is necessary. Thank you for your report. However there are a number of IFs, ANDs and HERETOs

Re: [PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-05 Thread Jim Meyering
Stephen Smalley wrote: ... Must have previously booted an ancient kernel with SELinux permissive and no policy loaded. Kernel was fixed by the commit below in 2006. I'd recommend that he run the following to clean up the droppings in his filesystem: find / \( -fstype ext2 -o -fstype ext3 -o

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Eric Blake
Pádraig Brady P at draigBrady.com writes: FC5 test failure: ln/hard-to-sym ln -P -L symlink3 hard-to-a ln: creating hard link `hard-to-a' = `symlink3': Invalid argument I'd be interested in the strace of ln -P -L symlink3 hard-to-a as well as 'grep LINK_FOLLOWS config.log'. It

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Pádraig Brady
Eric Blake wrote: Pádraig Brady P at draigBrady.com writes: FC5 test failure: ln/hard-to-sym ln -P -L symlink3 hard-to-a ln: creating hard link `hard-to-a' = `symlink3': Invalid argument I'd be interested in the strace of ln -P -L symlink3 hard-to-a attached as well as

Re: new snapshot available: coreutils-7.6.63-addb6

2009-10-05 Thread Eric Blake
Pádraig Brady P at draigBrady.com writes: __xstat64(3, symlink, 0xbfee893c) = 0 linkat(-100, 0xbfee8d3e, -100, 0xbfee8d46, 1024)= -1 stat64(symlink, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0 connect(-100,

RE: du: slosh/slash problem in windows build (solved)

2009-10-05 Thread da Silva, Joe
Thanks for the tip, Eric. 5.3.0 was the latest stand-alone version I could find. However, following your suggestion, I installed cygwin and found this included version 6.10-2 and this doesn't exhibit the slosh/slash bug. :-) BTW, sorry for the stupid disclaimer. Unfortunately, our IT tyrants