Bug #26432
open
When using an external database, special characters are breaking the password detection
Added by Nicolas CHARLES 2 months ago.
Updated 3 days ago.
Category:
System integration
Description
A user reported that the file /opt/rudder/etc/external-db.conf is not correctly read and the password is not corectly configured when using special charaters (at least $ )
- Target version changed from 8.2.5 to 8.2.6
- Assignee set to Benoît PECCATTE
- Priority changed from To review to 2
So, the source file /opt/rudder/etc/external-db.conf
is dotsourced, then a sed is done, so it's likely why some chars are not correctly escaped.
We should:
- as a workaround, document the accepted chars (but there's no obvious reason to force restraining the char scope, esp if the pass is generated by some cloud provider)
- correctly escape the pass before copying it.
- Target version changed from 8.2.6 to 8.2.7
Also available in: Atom
PDF