Package: runit-services
Version: 0.7.2
Severity: normal
Tags: patch

Dear Maintainer,

gpm fails to start, emitting a failure on the console every second,
since the addition of a gpm runscript to runit-services/0.7.0.

The cause is the computed command line option set being quoted as a
single argument, resulting in a failure to parse the options
by the daemon. The error message is confusing because it appears to
request what we already doing:

2024-10-26_14:30:27.36287 O0o.oops(): [daemon/old_main.c(54)]: Please use -m 
/dev/mouse -t protocol

I have raised a merge request with the fix at:

https://salsa.debian.org/debian/runit-services/-/merge_requests/10

Patch also attached for convenience.

Thank you!


-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 6 (excalibur/ceres)
Release:        6
Codename:       excalibur ceres
Architecture: x86_64

Kernel: Linux 6.10.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages runit-services depends on:
ii  runit         2.1.2-60
ii  runit-helper  2.16.3

Versions of packages runit-services recommends:
ii  runit-init  2.1.2-60

Versions of packages runit-services suggests:
pn  socklog  <none>

-- no debconf information
>From b73f6c575894d67a4073e6581559ecd735c9c959 Mon Sep 17 00:00:00 2001
From: Andrew Bower <and...@bower.uk>
Date: Sat, 26 Oct 2024 15:37:03 +0100
Subject: [PATCH] fix gpm command line

---
 sv/gpm/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sv/gpm/run b/sv/gpm/run
index d6491e3..a0482af 100644
--- a/sv/gpm/run
+++ b/sv/gpm/run
@@ -30,4 +30,4 @@ fi
 #mouse position and other data are only useful for debugging
 exec >/dev/null 
 exec 2>/dev/null
-exec /usr/sbin/gpm -D "${cmdln:- -m /dev/input/mice -t exps2}"
+exec /usr/sbin/gpm -D ${cmdln:- -m /dev/input/mice -t exps2}
-- 
2.45.2

Reply via email to