Pfsense 2.0 RC2 blank entries in load balancer, cannot be removed.
-
Not sure what's going on, and maybe this is my fault. I started playing with the load balancer on pfsense 2.0BETA4.
Never was able to get it running due to an error "relayd not running." Turns out that was because the relayd user did not exist.
Running the following:
[2.0-RC2][root@pfsense]/var/etc(30): /usr/sbin/pw groupadd -n _relayd -g 913 [2.0-RC2][root@pfsense]/var/etc(31): /usr/sbin/pw useradd -n _relayd -c "Relay Daemon" -d /var/empty -s /usr/sbin/nologin -u 913 -g 913 pw: login name `_relayd' already exists
Allowed the service to start. However, something weird is going on.
There are blank entries in all of the Load balancer tabs. (Pools, Virtual Servers, Monitors).These entries cannot be deleted. Since I wasn't paying much attention, are these required to be there? Or can they be removed via the command line?
Sorry if this is a newb question. Searching pfsense 2.0 "blank load balancing entries" didn't get me anywhere.
-
I added _relayd to the password file in https://github.com/bsdperimeter/pfsense/commit/b71501f65c149ada78890c9366c8e32308773335#etc/passwd
Jim added it to the group file and updated the upgrade code back in February of this year:
https://github.com/bsdperimeter/pfsense/commit/2aba8f77a2c0de6690f973e331f130000d35c451Scott added the default load balancer monitors back in November:
https://github.com/bsdperimeter/pfsense/commit/08b17c6dea43e1c541623368ff23f737495bcc3e#conf.default/config.xmlThere was no upgrade code for this, so you will probably want to add (or import) that section into your config.xml. I expect we probably need some upgrade code for this to insert the missing defaults.
–Bill
-
If you check your config.xml there are probably some entires in there like "<config>", you can edit them out of the XML directly.</config>