CARP events propagating to host devd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CARP events propagating to host devd

BulkMailForRudy

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";
};
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[hidden email]"