Warning message "grep: /etc/hosts.allow: No such file or directory"
On some systems I found the following warning in /var/log/messages:
Nov 26 04:15:49 server esmith::event: grep: /etc/hosts.allow: No such file or directory Nov 26 04:15:49 server esmith::event: grep: /etc/hosts.deny: No such file or directory
Both hosts. files are missing:
# rpm -V setup missing c /etc/hosts.allow missing c /etc/hosts.deny
Trying to reproduce the bug, I found systems where the files are not missing.
Maybe a stderr redirect to /dev/null is ok to fix the warning.
#4 Updated by Davide Principi about 4 years ago
- NEEDINFO changed from No to Yes
I almost sure they were a template, that has been removed when 6.6 was released. On a 6.7 the files are present and are unmodified.
What is the action that generates that error? Could you grep some lines before/after the warning messages?
Edit: It was 6.5: see issue #2785