From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 20:49:54 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C66106566C for ; Thu, 24 Jul 2008 20:49:54 +0000 (UTC) (envelope-from sven@dmv.com) Received: from smtp-gw-cl-d.dmv.com (smtp-gw-cl-d.dmv.com [216.240.97.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0F61C8FC1F for ; Thu, 24 Jul 2008 20:49:53 +0000 (UTC) (envelope-from sven@dmv.com) Received: from [216.240.97.46] (lanshark.dmv.com [216.240.97.46]) by smtp-gw-cl-d.dmv.com (8.12.10/8.12.10) with ESMTP id m6OKKkN0049867 for ; Thu, 24 Jul 2008 16:20:46 -0400 (EDT) (envelope-from sven@dmv.com) From: Sven Willenberger To: stable@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kC4EcY14/3M6hMo0ky2x" Date: Thu, 24 Jul 2008 16:20:46 -0400 Message-Id: <1216930846.6489.21.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-Scanned-By: MIMEDefang 2.48 on 216.240.97.42 Cc: Subject: CARP state changes and devd.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2008 20:49:54 -0000 --=-kC4EcY14/3M6hMo0ky2x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I see mention of CARP as a device-type in the devd.conf documentation but for the life of me cannot manage to get devd to recognize *any* changes in the CARP interface. I have set sysctl net.inet.carp.log=3D2 and I see message in /var/log/messages when the interface goes INIT->BACKUP and BACKUP -> MASTER, but for the life of me cannot get devd to "see" these changes. I have tried something even as simple as: notify 100 { action "logger -p kern.notice '$device-name interface has changed'"; }; and then bringing the CARP interfaces up and down on either boxes to change INIT and BACKUP/MASTER states, but *nothing* is noted. Does CARP simply not work that way with devd (i.e. only the creation of the CARP device, not any subsequent states, work )? Sven --=-kC4EcY14/3M6hMo0ky2x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBIiOQeSnmnd8q3JGsRAi4+AJwPeO73vkU4eVE15tfWJ2DM5SnoWACgh/1P YsRoTmxWVtrzqTY/KxzhuCA= =8Bdm -----END PGP SIGNATURE----- --=-kC4EcY14/3M6hMo0ky2x--