odoo / odoo/docker

`ps` in host should display PG connection information

Open
#383 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

when ps -axf on host, it should display postgresql connection string, this is a very bad idea. this should cause the whole database be delete by the bad man

I think that entrypoint always read database connection string from config file. If want pass those information from environment variable , but always save it to config file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the image entrypoint and the code that reads the PostgreSQL connection string from the config file or environment. Reproduce ps -axf on the host and check whether connection details are exposed; done means the connection string is no longer visible in the process listing while the container still connects to PostgreSQL.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql
Domain
databases, devops, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.