Report various failures during startup (#1774028)

Report failed start when port is bound already by different service or
configuration is wrong.
This commit is contained in:
Petr Menšík 2021-03-31 09:59:03 +02:00
parent f497e41434
commit d7ba69deba
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,9 @@ Description=DNS caching server.
After=network.target
[Service]
ExecStart=/usr/sbin/dnsmasq -k
ExecStart=/usr/sbin/dnsmasq --pid-file=/run/dnsmasq.pid
Type=forking
PIDFile=/run/dnsmasq.pid
[Install]
WantedBy=multi-user.target

View File

@ -183,6 +183,7 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
%changelog
* Wed Mar 31 2021 Petr Menšík <pemensik@redhat.com> - 2.85-1.rc2
- Update to 2.85rc2 (CVE-2021-3448)
- Switch systemd unit to forking, reports error on startup (#1774028)
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.84-2
- Rebuilt for updated systemd-rpm-macros