Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 22:03:16 -0700
From:      Rudy <crapsh@monkeybrains.net>
To:        freebsd-jail@freebsd.org
Subject:   CARP events propagating to host devd
Message-ID:  <b3a88467-01c3-b86f-a794-21471ecf7d98@monkeybrains.net>

next in thread | raw e-mail | index | archive | help

Using VNET, I have some carp interfaces in a jail.

When an event happens and a device goes into 'backup', devd in the host 
gets the carp event, but does not set $jail.

Right now, I do some trickery in jail.conf and rename epair interfaces 
with the JailName_jail0 ... example: 'ns1_jail0', so I can get the jail 
name.  I would rather see $jail setup.

current setup:

# /etc/devd/carp.conf
notify 0 {
         match "system" "CARP";
         action "/root/carpcontrol.sh $subsystem $type";
};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b3a88467-01c3-b86f-a794-21471ecf7d98>