[ 
https://issues.apache.org/jira/browse/GUACAMOLE-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015906#comment-18015906
 ] 

Mike Jumper commented on GUACAMOLE-2119:
----------------------------------------

Yep. We moved that handling into the webapp:

https://github.com/apache/guacamole-client/blob/457e3a583e0095c063833fad1e35c374ea9c5f67/guacamole/src/main/java/org/apache/guacamole/GuacamoleServletContextListener.java#L188-L203

The {{enable-file-environment-properties}} property now controls the behavior, 
but it looks like I forgot to set that to {{true}} in the Docker image:

https://github.com/apache/guacamole-client/blob/457e3a583e0095c063833fad1e35c374ea9c5f67/guacamole-docker/entrypoint.d/100-generate-guacamole-home.sh#L101-L114

> _FILE Environment variables seems to not work anymore with 1.6.0
> ----------------------------------------------------------------
>
>                 Key: GUACAMOLE-2119
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2119
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-auth-jdbc-postgresql
>    Affects Versions: 1.6.0
>         Environment: Docker Compose
>            Reporter: Roman Bäriswyl
>            Priority: Minor
>
> I use a Docker deployment and up until now, used the environment variable 
> {{POSTGRESQL_PASSWORD_FILE=/run/secrets/db_password}} to securely inject my 
> password. This worked until I upgraded to 1.6.0. It seems to just ignore it. 
> If I change the variable to {{POSTGRESQL_PASSWORD=my-real-password}}, it 
> works again.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to