CARP events propagating to host devd

Rudy crapsh at monkeybrains.net
Mon Sep 28 05:03:19 UTC 2020


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";
};


More information about the freebsd-jail mailing list