Debian dhclient spamt mein syslog voll

SoKoBaN

B.Ohlsen der alte Schwede
Teammitglied
Eine Frage, wie kann ich dem dhclient abgewöhnen, das dieser mein syslog mit sekündlichen DHCPREQUEST's floodet?

Ich meine, ich weiss das ich den dhclient mit dem Parameter -q starten muss um das lediglich Warnmeldungen ausgegeben werden. Die Sache ist nun die, das ich zwar weiss wo sich der dhclient versteckt, ich aber nicht weiss, von wo aus Dieser aufgerufen wird und wie ich da einen zusätzlichen Parameter bei starten mit angeben kann.
 
Ja, konfiguriert ist der dhclient ja schon.
Ich versuche nun rauszufinden, an welcher Stelle der aufgerufen wird, um das ich einen Startparameter übergeben kann.
Ich finde dazu absolut nichts, weder in /etc/init.d noch in einem der Runlevel Scriptverzeichnisse.

Ein find /etc -name "*.*" -exec grep -l "dhclient" {} \;
liefert folgendes:
/etc/dhcp3/dhclient.conf
/etc/selinux/refpolicy-targeted/modules/active/base.linked
/etc/selinux/refpolicy-targeted/modules/active/base.pp
/etc/selinux/refpolicy-targeted/modules/active/file_contexts.template
/etc/selinux/refpolicy-targeted/modules/previous/base.linked
/etc/selinux/refpolicy-targeted/modules/previous/base.pp
/etc/selinux/refpolicy-targeted/modules/previous/file_contexts.template

Das hilft mir irgendwie nicht wirklich weiter...
 
das folgende hab ich von freebsd.monkey.org. Hoffentlich wirst Du
schlau daraus:

Code:
> > dhclient is filling up my /var/log/messages.
> > Every 10th minute it makes a new request and logging it.
>
> That's a pretty annoying ISP you've got there.
>
> > I've tried to request a longer lease time in my dhclient.conf without any
> > luck, and I've tried to get it to log to another logfile named dhclient,
> > resulting in it logging to two files. dhclient and /var/log/messages.
>
> Yep, that's what the !dhclient syntax is for...
>
> > I've tried to talk to my ISP about this problem, without any luck.
> > I think most of the computers connected to this network are win-boxes,
> > and they don't seem to have this problem. ( Don't log this kind of info )
>
> Right.  The ISP is trying to be able to make major changes to their
> network without needing to plan ahead for it.
>
> > How can I keep the program from logging all this info ?
> > Not really a problem, but very annoying.
>
> What I did was to put all of the user.notice messages into a separate
> file from the main log.
>
> *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;user.warning	
>/var/log/messages user.notice 					/var/log/user.messages
>
> Remember to create user.messages first, and to set up some log
> rotation for it.
 
Ich habe es nicht hin bekommen.
Ich habe mir jetzt einfach das syslog so eingestellt, das es die Protokolle separiert nach Prioritäten erstellt. Damit hab ich zwar immer noch den dhclient Spam aber anders gehts halt nicht.
 
Oben