Sudo recently started redirecting the stdout of the commands somewhere else. It works correctly on Fedora Core 1: % /usr/bin/sudo echo foo > /dev/null % rpm -q sudo sudo-1.6.7p5-2 But fails in Raw Hide: % /usr/bin/sudo echo foo > /dev/null foo % sudo-1.6.7p5-18 P.S. really annoying - for example, things like sudo grep something /var/log/something | less no longer work as expected :-(
I can not reproduce this bug: $ /usr/bin/sudo echo foo > /dev/null $ rpm -q sudo sudo-1.6.7p5-18 $ $ sudo grep kernel /var/log/messages | less Works, too. Do you have any special settings for root?
> Do you have any special settings for root? I do not believe so.
Perhaps this is some shell issue. From the prompt, it looks like you, Aleksey use csh/tcsh while Thomas uses bash. Is it like this?
Yes, I use tcsh, but the root's shell is still bash.
This is an error in the SElinux patch for sudo.
Fixed in rawhide in rpm sudo-1.6.7p5-20 or newer.
Confirming fixed.