[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: services: bitlbee: Run as user "bitlbee".
From: |
guix-commits |
Subject: |
05/10: services: bitlbee: Run as user "bitlbee". |
Date: |
Mon, 16 May 2022 09:49:39 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ecfcdff23a5ce390a7edc019c1f1216c4843dc04
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon May 16 15:29:06 2022 +0200
services: bitlbee: Run as user "bitlbee".
Fixes <https://issues.guix.gnu.org/55450>.
Fixes a bug introduced in 211fe3f66e6dfdaa64974931c458ab1d92afc182
whereby the inetd-spawned process would run as root (it would still run
in a separate user namespace, with UID 1000 inside of it, but had the
authority of root).
* gnu/services/messaging.scm (bitlbee-shepherd-service): Pass #:user
and #:group to 'make-inetd-constructor'. Remove "-u bitlbee" argument
to BITLBEE*.
---
gnu/services/messaging.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 26d47f47de..ec1acba416 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -855,14 +855,14 @@ string, you could instantiate a prosody service like this:
(start #~(if (defined? 'make-inetd-constructor)
(make-inetd-constructor
- (list #$bitlbee* "-I"
- "-u" "bitlbee" "-c" #$conf)
+ (list #$bitlbee* "-I" "-c" #$conf)
(addrinfo:addr
(car (getaddrinfo #$interface
#$(number->string port)
(logior AI_NUMERICHOST
AI_NUMERICSERV))))
#:service-name-stem "bitlbee"
+ #:user "bitlbee" #:group "bitlbee"
;; Allow 'bitlbee-purple' to use libpurple
plugins.
#:environment-variables
- branch master updated (8aaa9b40aa -> 61c8d0fe3d), guix-commits, 2022/05/16
- 01/10: gnu: python-jupyter-console-minimal: Use 'modify-inputs'., guix-commits, 2022/05/16
- 02/10: gnu: python-jupyter-console: Depend on python-prompt-toolkit 3.x., guix-commits, 2022/05/16
- 05/10: services: bitlbee: Run as user "bitlbee".,
guix-commits <=
- 06/10: doc: Fix typos in the "Channels" chapter., guix-commits, 2022/05/16
- 09/10: gnu: gcolor3: Fix build with libportal-0.5., guix-commits, 2022/05/16
- 03/10: gnu: python-pari-jupyter: Do not propagate 'python-ipykernel'., guix-commits, 2022/05/16
- 04/10: gnu: python-bash-kernel: Do not propagate 'python-ipykernel'., guix-commits, 2022/05/16
- 08/10: gnu: taskwarior: update to 2.6.2, guix-commits, 2022/05/16
- 07/10: gnu: xfce4-terminal: Update to 1.0.3., guix-commits, 2022/05/16
- 10/10: gnu: gcolor3: Remove input labels., guix-commits, 2022/05/16