GNU bug report logs - #76532
tlp-shepherd-service cannot launch bin/tlp -- it's sbin/tlp now

Previous Next

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76532 in the body.
You can then email your comments to 76532 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76532; Package guix. (Mon, 24 Feb 2025 20:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Endsjø <contact <at> simendsjo.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 24 Feb 2025 20:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simen Endsjø <contact <at> simendsjo.me>
To: bug-guix <at> gnu.org
Subject: tlp-shepherd-service cannot launch bin/tlp -- it's sbin/tlp now
Date: Mon, 24 Feb 2025 21:14:10 +0100
[Message part 1 (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)]

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Mon, 24 Feb 2025 22:25:02 GMT) Full text and rfc822 format available.

Notification sent to Simen Endsjø <contact <at> simendsjo.me>:
bug acknowledged by developer. (Mon, 24 Feb 2025 22:25:02 GMT) Full text and rfc822 format available.

Message #10 received at 76532-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Simen Endsjø <contact <at> simendsjo.me>
Cc: 76532-done <at> debbugs.gnu.org
Subject: Re: bug#76532: tlp-shepherd-service cannot launch bin/tlp -- it's
 sbin/tlp now
Date: Mon, 24 Feb 2025 23:23:47 +0100
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






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Mar 2025 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.