GNU bug report logs -
#70469
[PATCH] gnu: isc-dhcp: Make dhclien-script hooks work.
Previous Next
Reported by: Alexey Abramov <levenson <at> mmer.org>
Date: Fri, 19 Apr 2024 06:32:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
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 70469 in the body.
You can then email your comments to 70469 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#70469
; Package
guix-patches
.
(Fri, 19 Apr 2024 06:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alexey Abramov <levenson <at> mmer.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 19 Apr 2024 06:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
dhclient provides a hook mechanism for users. In order to run these
hooks, dhclient-script uses run-parts to run all the executable files
found in requested directory. run-parts is part of debianutils
packages.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add "debianutils" to
provide access to run-parts.
---
gnu/packages/admin.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b60857b264..0bf96af835 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -122,6 +122,7 @@ (define-module (gnu packages admin)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages datastructures)
+ #:use-module (gnu packages debian)
#:use-module (gnu packages dns)
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
@@ -1563,7 +1564,8 @@ (define-public isc-dhcp
(coreutils (assoc-ref inputs "coreutils*"))
(inetutils (assoc-ref inputs "inetutils"))
(grep (assoc-ref inputs "grep*"))
- (sed (assoc-ref inputs "sed*")))
+ (sed (assoc-ref inputs "sed*"))
+ (debianutils (assoc-ref inputs "debianutils")))
(substitute* "client/scripts/linux"
(("/sbin/ip")
(search-input-file inputs "/sbin/ip")))
@@ -1578,7 +1580,7 @@ (define-public isc-dhcp
,(map (lambda (dir)
(string-append dir "/bin:"
dir "/sbin"))
- (list inetutils coreutils grep sed))))))))))
+ (list inetutils coreutils grep sed debianutils))))))))))
(native-inputs
(list config perl file))
@@ -1589,6 +1591,10 @@ (define-public isc-dhcp
'()
`(("iproute" ,iproute)))
+ ;; dhclient-script provides hooks to users and uses run-parts in
+ ;; order to list users defined hooks.
+ ("debianutils" ,debianutils)
+
;; isc-dhcp bundles a copy of BIND, which has proved vulnerable
;; in the past. Use a BIND-VERSION of our choosing instead.
("bind-source-tarball"
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#70469
; Package
guix-patches
.
(Mon, 13 May 2024 12:19:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 70469 <at> debbugs.gnu.org (full text, mbox):
user guix
usertag 70469 + reviewed-looks-good
thanks
Guix QA review form submission:
LGTM.
Items marked as checked: Lint warnings, Package builds, Commit messages
--
Best regards,
Nicolas Graves
Information forwarded
to
guix-patches <at> gnu.org
:
bug#70469
; Package
guix-patches
.
(Mon, 13 May 2024 20:46:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alexey Abramov via Guix-patches via <guix-patches <at> gnu.org> writes:
> dhclient provides a hook mechanism for users. In order to run these
> hooks, dhclient-script uses run-parts to run all the executable files
> found in requested directory. run-parts is part of debianutils
> packages.
>
> * gnu/packages/admin.scm (isc-dhcp)[inputs]: Add "debianutils" to
> provide access to run-parts.
> ---
> gnu/packages/admin.scm | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
Thanks both, I've pushed this to master as
7d6d54202ab609877b14490e487a1df106072b7d.
Chris
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Mon, 13 May 2024 20:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alexey Abramov <levenson <at> mmer.org>
:
bug acknowledged by developer.
(Mon, 13 May 2024 20:46:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Jun 2024 11:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.