Solved dhclient[370]: send_packet: Operation not permitted

Anyone seen this sort of thing before? It goes on-and-on endlessly, day-after-day. The system works, but the message is annoying. Any way to stop it? I can't even tell what it is telling me.

Two NICs - WAN facing (igb0) asking for a dhcp address from the cable modem;
LAN facing (igb1) running dhcpd on address 10.0.0.1.

dmesg -a
Code:
Jul 10 14:23:07 Xeon_Right dhclient[370]: send_packet: Operation not permitted
Jul 10 14:24:20 Xeon_Right dhclient[370]: send_packet: Operation not permitted
Jul 10 14:25:43 Xeon_Right dhclient[370]: send_packet: Operation not permitted
Jul 10 14:35:33 Xeon_Right last message repeated 4 times
Jul 10 14:46:26 Xeon_Right last message repeated 23 times
ps -axw | grep dhclient
Code:
  370  -  Ss  0:00.04 dhclient: igb0 [priv] (dhclient)
  419  -  Ss  0:00.05 dhclient: igb0 (dhclient)
sockstat
Code:
root  dhclient  370  4  dgram  -> /var/run/logpriv

Puzzled...
 
What are your firewall rules? Other things could cause the Operation not permitted message, but those are the most likely.
 
I wondered about that, but for the life of me I can't see where the firewall is blocking the "send", but then I don't know what dhclient is trying to send besides a dhcp request, which ... Hmmm. Let me test something again. You have inspired me...
 
Nope, not the firewall rules which are here:

Code:
#  pass quick all

and after making sure the rule was in force, this resulted:

Code:
Jul 10 18:30:10 Xeon_Right last message repeated 2 times

Other thoughts? I'm stumped.
 
A # at the start of a line makes it a comment. Or maybe it's not really in that file, but the wrong firewall is enabled.
 
I had removed the '#' for the test and put it back to re-enable the firewall and copied the whole line afterwards. Mistake on my part.

But I twiddled with the firewall some more and magically, the error messages stopped. I have no idea why. But thank you for pushing me. Might as well marked this SOLVED.

Many thanks!
 
Back
Top