Bug #26432
open
When using an external database, special characters are breaking the password detection
Added by Nicolas CHARLES 3 months ago.
Updated 5 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
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2992
- Status changed from Pending technical review to Pending release
Also available in: Atom
PDF