Bug #3332

Warning message "grep: /etc/hosts.allow: No such file or directory"

Added by Filippo Carletti about 4 years ago. Updated almost 4 years ago.

Status:CLOSEDStart date:
Priority:LowDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v7-alpha2
Security class: Resolution:
Affected version:v6.7 NEEDINFO:Yes

Description

On some systems I found the following warning in /var/log/messages:

Nov 26 04:15:49 server esmith::event[26301]: grep: /etc/hosts.allow: No such file or directory
Nov 26 04:15:49 server esmith::event[26301]: 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.


Related issues

Related to NethServer 6 - Enhancement #2785: Drop TCP wrappers hosts.allow hosts.deny templates CLOSED

History

#1 Updated by Davide Principi about 4 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to ~FUTURE
  • % Done changed from 0 to 20

--comment deleted--

see below

#2 Updated by Davide Principi about 4 years ago

-- comment deleted--

see below

#3 Updated by Davide Principi about 4 years ago

  • Related to Enhancement #2785: Drop TCP wrappers hosts.allow hosts.deny templates added

#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

#5 Updated by Filippo Carletti almost 4 years ago

  • Status changed from TRIAGED to CLOSED
  • Target version changed from ~FUTURE to v7-alpha2
  • % Done changed from 20 to 100

The bug is cosmetic, affecting system updated from 6.5.

Workaroud

yum reinstall setup

Also available in: Atom PDF