Comment 4 for bug 75031

Revision history for this message
Christian Holtje (docwhat) wrote :

In the version I now have in feisty, -E no longer causes a problem.

However, you can cause problems with GREP_OPTIONS="-P" which causes
the "egrep -q" commands to always return true.

In addition, using something like GREP_OPTIONS="--color=always" can
also mess up anything that needs to parse the output of grep.

May I suggest that all init.d scripts start with 'unset GREP_OPTIONS'? Or maybe put it in /lib/lsb/init-functions?

Ciao!