Skip to content

debian: remove dbc_debug to avoid username/password leakage#2417

Merged
BareosBot merged 4 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/master/fix-dbconfig-debug
Oct 30, 2025
Merged

debian: remove dbc_debug to avoid username/password leakage#2417
BareosBot merged 4 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/master/fix-dbconfig-debug

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Oct 27, 2025

This PR aims to set dbc_debug to 0
so it won't show database connections details to terminal
and in apt logs

Fix bareos/internal#467

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@bruno-at-bareos bruno-at-bareos self-assigned this Oct 27, 2025
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/fix-dbconfig-debug branch from 2ce5a31 to 309f489 Compare October 28, 2025 09:24
@bruno-at-bareos bruno-at-bareos marked this pull request as ready for review October 28, 2025 11:33
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/fix-dbconfig-debug branch from 309f489 to b914b65 Compare October 29, 2025 08:12
Copy link
Member

@joergsteffens joergsteffens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done. However, bareos-check-source did complain, so I added a commit which reformats the code. Also I've a small suggestion for the doc. Once you approve this, it can be merged.

@bruno-at-bareos bruno-at-bareos added this to the 25.0.0 milestone Oct 30, 2025
bruno-at-bareos and others added 4 commits October 30, 2025 13:50
Fix bareos/internal#467

The way upstream script are using this variable, doesn't care about
the value but only the variable existence.

Added documentation notes about debug output with `export dbc_debug=1`.

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Jörg Steffens <joerg.steffens@bareos.com>
@BareosBot BareosBot force-pushed the dev/bruno/master/fix-dbconfig-debug branch from 8054aeb to a976468 Compare October 30, 2025 13:50
@BareosBot BareosBot merged commit 85a0c87 into bareos:master Oct 30, 2025
@bruno-at-bareos bruno-at-bareos deleted the dev/bruno/master/fix-dbconfig-debug branch November 26, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants