GNU bug report logs -
#76532
tlp-shepherd-service cannot launch bin/tlp -- it's sbin/tlp now
Previous Next
Reported by: Simen Endsjø <contact <at> simendsjo.me>
Date: Mon, 24 Feb 2025 20:15:01 UTC
Severity: normal
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 24 Feb 2025 23:23:47 +0100
with message-id <87ikozoubw.fsf <at> nicolasgoaziou.fr>
and subject line Re: bug#76532: tlp-shepherd-service cannot launch bin/tlp -- it's sbin/tlp now
has caused the debbugs.gnu.org bug report #76532,
regarding tlp-shepherd-service cannot launch bin/tlp -- it's sbin/tlp now
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
76532: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76532
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
tlp-shepherd-service tries to start bin/tlp, but looks like the binary has relocated to sbin/tlp somewhere between 1.5 and 1.8 (updated in 0b8ceaa1cd26a73059a69d8df50f5de3775eaf37).
diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm
index 64b64e01fb..9b8066a38f 100644
--- a/gnu/services/pm.scm
+++ b/gnu/services/pm.scm
@@ -448,7 +448,7 @@ (define-configuration tlp-configuration
(define (tlp-shepherd-service config)
(let* ((tlp-bin (file-append
- (tlp-configuration-tlp config) "/bin/tlp"))
+ (tlp-configuration-tlp config) "/sbin/tlp"))
(tlp-action (lambda args
#~(lambda _
(zero? (system* #$tlp-bin #$@args))))))
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
Hello,
Simen Endsjø <contact <at> simendsjo.me> writes:
> tlp-shepherd-service tries to start bin/tlp, but looks like the binary
> has relocated to sbin/tlp somewhere between 1.5 and 1.8 (updated in
> 0b8ceaa1cd26a73059a69d8df50f5de3775eaf37).
Indeed!
> diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm
> index 64b64e01fb..9b8066a38f 100644
> --- a/gnu/services/pm.scm
> +++ b/gnu/services/pm.scm
> @@ -448,7 +448,7 @@ (define-configuration tlp-configuration
>
> (define (tlp-shepherd-service config)
> (let* ((tlp-bin (file-append
> - (tlp-configuration-tlp config) "/bin/tlp"))
> + (tlp-configuration-tlp config) "/sbin/tlp"))
> (tlp-action (lambda args
> #~(lambda _
> (zero? (system* #$tlp-bin #$@args))))))
Applied. Thank you.
Regards,
--
Nicolas Goaziou
This bug report was last modified 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.