Skip to content

replfwd.conf: mimick the logic from wforce.conf - #498

Merged
neilcook merged 1 commit into
PowerDNS:masterfrom
P-EB:master
Sep 2, 2026
Merged

replfwd.conf: mimick the logic from wforce.conf#498
neilcook merged 1 commit into
PowerDNS:masterfrom
P-EB:master

Conversation

@P-EB

@P-EB P-EB commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Hello @neilcook

Before offering debian/ packaging patches as discussed in #462 , I decided to package your latest version of weakforced to be actual.

replfwd.conf doesn't follow the logic of the wforce.conf file, and I guess it might actually fail to install properly from the postinst you drafted in your debian packaging system as neither SETKEY or WEBPWD are there.

Also, the default config clashes with the wforce config on the port.

Therefore, I offer this commit with these changes

  • Replace the webserver call by addListener
  • Replace the setKey() by --SETKEY
  • Add the setWebserverPassword("--WEBPWD") call
  • Also, use a different port, to allow concurrent runs by default

If you're interested in, be my guest, otherwise I'll tag my patch as debian-specific in debian source package.

- Replace the webserver call by addListener
- Replace the setKey() by --SETKEY
- Add the setWebserverPassword("--WEBPWD") call
- Also, use a different port, to allow concurrent runs by default
@neilcook

neilcook commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Thanks, yes this looks like an oversight indeed. Not sure it will fail to install, but it certainly isn't correct as it is.

@neilcook neilcook left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Test Results

  4 files  ±0    4 suites  ±0   45m 39s ⏱️ +3s
 94 tests ±0   94 ✅ ±0  0 💤 ±0  0 ❌ ±0 
210 runs  ±0  210 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0efad08. ± Comparison against base commit d7a0da5.

♻️ This comment has been updated with latest results.

@neilcook
neilcook merged commit 01d8bbb into PowerDNS:master Sep 2, 2026
15 checks passed
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.

2 participants