daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.34.224, hostname: <none>

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.34.224, hostname: <none>

Bob Harold
I am seeing a DHCP message that I don't remember seeing before:

Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.34.224, hostname: <none>
Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.34.230, hostname: <none>
Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.35.23, hostname: <none>

Has anyone else seen this?

A quick Google search did not find anyone else with the same question, only pointers to the source code.

Running: dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1

Looking at the source code,
This message was added to dhcpd in version 4.3.5

I notice that this seems to be the only time in failover.c that "log_debug" occurs without being enclosed in:
#if defined (DEBUG_FAILOVER_MESSAGES)
log_debug ( ...
#endif

Is that an oversight, or intentional?

I don't think I have any type of debugging enabled. But I did not compile from source, so I don't know what options were defined.
The startup shows:

root@bdds-its-cool-1:/var/log# grep 'Apr 19 11:40:37 bdds-its-cool-1 dhcpd:' syslog
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: libmsgrouter.so.1.0 loaded.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Copyright 2004-2018 Internet Systems Consortium.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: All rights reserved.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Config file: /replicated/etc/dhcpd.conf
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Database file: /var/state/dhcp/dhcpd.leases
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: PID file: /var/run/dhcpd.pid
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Not using fsync() to flush lease writes
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Setting server-id-check true
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Source compiled to use binary-leases
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Wrote 0 class decls to leases file.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Wrote 0 deleted host decls to leases file.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Wrote 0 new dynamic host decls to leases file.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Wrote 0 leases to leases file.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Listening on LPF/eth0/ac:40:ea:01:10:a1/xx.xx.147.144/29
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Sending on LPF/eth0/ac:40:ea:01:10:a1/xx.xx.147.144/29
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Sending on Socket/fallback/fallback-net
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: failover peer 8dd39393-8dd3939c: I move from recover to startup
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: 0MQ: Initializing message router.
Apr 19 11:40:37 bdds-its-cool-1 dhcpd: Server starting service.

--
Bob Harold


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: daemon dhcpd: failover.c(2644):scrubbing lease for 10.225.34.224, hostname: <none>

Christian Kratzer
Hi,

On Thu, 19 Apr 2018, Bob Harold wrote:

> I am seeing a DHCP message that I don't remember seeing before:
>
> Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for
> 10.225.34.224, hostname: <none>
> Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for
> 10.225.34.230, hostname: <none>
> Apr 19 12:57:23 adonis2 daemon dhcpd: failover.c(2644):scrubbing lease for
> 10.225.35.23, hostname: <none>
>
> Has anyone else seen this?

your copy of isc dhcp has been compiled wit debugging.  There are loads of messages
that only get logged during debugging to help in seeing code flow.

> A quick Google search did not find anyone else with the same question, only
> pointers to the source code.
>
> Running: dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
>
> Looking at the source code,
> This message was added to dhcpd in version 4.3.5
>
> I notice that this seems to be the only time in failover.c that "log_debug"
> occurs without being enclosed in:
> #if defined (DEBUG_FAILOVER_MESSAGES)
> log_debug ( ...
> #endif
>
> Is that an oversight, or intentional?
>
> I don't think I have any type of debugging enabled. But I did not compile
> from source, so I don't know what options were defined.
> The startup shows:


there is now way to tell if you have not compiled it yourself.

Could be that somebody has enabled this one line only in the build you have.

If you want a clean copy of isc dhcp compile it yourself from the source.

Greetings
Christian

--
Christian Kratzer                   CK Software GmbH
Email:   [hidden email]               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer
Web:     http://www.cksoft.de/
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users