Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111371 - denyhosts log is filled with startup info because initscript "needs logger"
Summary: denyhosts log is filled with startup info because initscript "needs logger"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 10:09 UTC by Gokdeniz Karadag
Modified: 2005-11-03 12:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gokdeniz Karadag 2005-11-03 10:09:00 UTC
I have been using denyhosts for a while, and I migrated to the ebuild   
recently.    
   
But I found this annoying; because the initscript has "needs logger", then it  
is stopped and started again when the logger is restarted.  
  
I am using logrotate to rotate quick filling logs every night (not the  
denyhosts logs), but during this process, denyhosts gets restarted, and the 
denyhosts log is filled with ~35 lines of initialization logs. This makes the 
*real* information from the logs incomprehensible. I temporarily solved this 
by removing "logger" from the needs part. In fact, denyhosts runs fine without 
a logger on :) and this modification saved my logs from being cluttered. 
 
I am not knowledged much about initscripts, but changing "needs logger" to 
"uses logger" may help. 

Reproducible: Always
Steps to Reproduce:
1. install and run denyhosts ebuild  
2. if logger is restarted regularly for some reason 
3. 
  
Actual Results:  
denyhosts logs are filled with initialization information, making it 
impossible to spot denied and purged hosts information (main purpose of the 
log ) 

Expected Results:  
the logs should be still in a human readable comlexity (denied and purged 
hosts only)
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-11-03 12:00:10 UTC
fixed in cvs, thanks for reporting. Note there is no version bump for this so
you will have to emerge sync and remerge denyhosts to get the change.