GNU bug report logs -
#44260
[PATCH 0/1] knot-resolver: Silence warning re: deprecated option
Previous Next
Reported by: Simon South <simon <at> simonsouth.net>
Date: Tue, 27 Oct 2020 18:27:01 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44260 in the body.
You can then email your comments to 44260 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#44260
; Package
guix-patches
.
(Tue, 27 Oct 2020 18:27:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon South <simon <at> simonsouth.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 27 Oct 2020 18:27:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This small patch silences this warning from Knot Resolver when it starts:
deprecation WARNING: use --noninteractive instead of --forks=1
With version 5.0.0 the "-f" option was deprecated[0] in favour of "-n" as a
means of starting the daemon as a non-interactive process.
The patch updates Guix's service definition to match, without any functional
change to the service.
[0] https://gitlab.nic.cz/knot/knot-resolver/issues/529
--
Simon South
simon <at> simonsouth.net
Simon South (1):
services: knot-resolver: Replace deprecated command-line option.
gnu/services/dns.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.28.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44260
; Package
guix-patches
.
(Tue, 27 Oct 2020 18:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44260 <at> debbugs.gnu.org (full text, mbox):
This silences a warning from the service at startup.
* gnu/services/dns.scm (knot-resolver-shepherd-services)[start]: Use the "-n"
command-line option to kresd in place of the deprecated "-f 1".
---
gnu/services/dns.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 572880561c..b339eb0619 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -700,7 +700,7 @@ cache.size = 100 * MB
(documentation "Run the Knot Resolver daemon.")
(start #~(make-forkexec-constructor
'(#$(file-append package "/sbin/kresd")
- "-c" #$kresd-config-file "-f" "1"
+ "-c" #$kresd-config-file "-n"
"/var/cache/knot-resolver")))
(stop #~(make-kill-destructor)))
(shepherd-service
--
2.28.0
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Tue, 27 Oct 2020 22:44:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Simon South <simon <at> simonsouth.net>
:
bug acknowledged by developer.
(Tue, 27 Oct 2020 22:44:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 44260-done <at> debbugs.gnu.org (full text, mbox):
On Tue, Oct 27, 2020 at 02:23:19PM -0400, Simon South wrote:
> This silences a warning from the service at startup.
>
> * gnu/services/dns.scm (knot-resolver-shepherd-services)[start]: Use the "-n"
> command-line option to kresd in place of the deprecated "-f 1".
Thanks! Pushed as 5ede2595260d74e2990a8f004298ecf23ea66206
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 25 Nov 2020 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 207 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.