Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927991 - net-dns/pdns-recursor-5.0.2 requires recursor.conf for init script and did not allow migration to yaml configuration
Summary: net-dns/pdns-recursor-5.0.2 requires recursor.conf for init script and did no...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 21:25 UTC by Marcel Pennewiß
Modified: 2024-03-28 19:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Pennewiß 2024-03-27 21:25:48 UTC
PowerDNS Recursor introduces a yaml based configuration in 5.x. Migrating to a yaml config file and remove recursor.conf leads to errors in init script.

Reproducible: Always

Steps to Reproduce:
1. Install/Upgrade PowerDNS Recursor to 5.0.2
2. Migrate Configuration (rec_control show-yaml >> /etc/powerdns/recursor.yml)
3. Remove old recursor.conf (rm /etc/powerdns/recursor.conf)
4. (Re)Start pdns-recursor
Actual Results:  
Error on Start:
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
 * Stopping PowerDNS Recursor ...                                                                                                                                                                                                      [ ok ]
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
awk: Fatal: Die Datei »/etc/powerdns/recursor.conf« kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
 * /var/run/pdns-recursor: creating directory
 * Starting PowerDNS Recursor ...  

Expected Results:  
The init script get chroot-/socket-dir and uid/gid from recursor.yml instead of recursor.conf, if file exists.
Starting without errors.

The init script gets chroot-/socket-dir and uid/gid from recursor.conf.