Bug #9384
open
devd putting "$" before variable contents when using single quotes
Added by Jim Pingle over 5 years ago.
Updated over 2 years ago.
Affected Architecture:
All
Description
On 2.5.0 snapshots, when check_reload_status
logs a linkup event, the message contains a $
before the interface name that does not appear to be necessary/relevant:
Mar 6 14:17:25 check_reload_status 357 Linkup starting $vmx1
Mar 6 14:17:25 check_reload_status 357 Linkup starting $vmx2
Mar 6 14:17:28 check_reload_status 357 Linkup starting $vmx3
This also appears to affect rc.carpmaster (and rc.carpbackup), which is also run through pfSctl
Mar 15 11:34:23 php-fpm 321 /rc.carpmaster: HA cluster member "(2001:db8::11:11@vmx0): (WAN)" has resumed CARP state "MASTER" for vhid $11
Mar 15 11:34:24 php-fpm 321 /rc.carpmaster: HA cluster member "(2001:db8::11:11@vmx0): (WAN)" has resumed CARP state "MASTER" for vhid $15
Also, not sure if it's related but the IP address printed for the VHID 11 line is incorrect.
inet6 2001:db8::12 prefixlen 64
inet6 2001:db8::11 prefixlen 64 vhid 15
inet6 2001:db8::11:11 prefixlen 64 vhid 15
inet 198.51.100.12 netmask 0xffffff00 broadcast 198.51.100.255
inet 198.51.100.11 netmask 0xffffff00 broadcast 198.51.100.255 vhid 11
carp: MASTER vhid 11 advbase 1 advskew 0
carp: MASTER vhid 15 advbase 1 advskew 0
- Subject changed from check_reload_status linkup log message has a "$" before the interface name to devd putting "$" before variable contents when using single quotes
- Assignee set to Renato Botelho
- Assignee changed from Renato Botelho to Mark Johnston
Mark told me he would take a look at upstream regression
- Status changed from New to In Progress
- Assignee changed from Mark Johnston to Renato Botelho
I'll fix it as suggested by imp@
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to In Progress
- Status changed from In Progress to Confirmed
- Target version changed from 2.5.0 to CE-Next
Pingle's workaround is enough for now. Move ticket to next release and wait a proper fix from upstream
- Assignee deleted (
Renato Botelho)
Also available in: Atom
PDF