Devuan bug report logs -
#739
/etc/init.d/slim: fails to stop slim daemon with sysvinit
Reported by: Jan Hamrle <hamic@centrum.cz>
Date: Sun, 29 Jan 2023 10:20:01 UTC
Severity: normal
Found in version 1.3.9-1devuan2
Fixed in version 1.4.0-0devuan2
Done: Mark Hindley <mark@hindley.org.uk>
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to devuan-bugs@lists.dyne.org, hamic@centrum.cz, Devuan Dev Team <devuan-dev@lists.dyne.org>
:
bug#739
; Package slim
.
(Sun, 29 Jan 2023 10:20:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Jan Hamrle <hamic@centrum.cz>
:
New bug report received and forwarded. Copy sent to hamic@centrum.cz, Devuan Dev Team <devuan-dev@lists.dyne.org>
.
(Sun, 29 Jan 2023 10:20:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):
Package: slim
Version: 1.3.9-1devuan2
Severity: normal
File: /etc/init.d/slim
X-Debbugs-Cc: hamic@centrum.cz
Dear Maintainer,
slim daemon can not be stopped with sysvinit
# service slim status
slim is running.
# service slim stop
Stopping X display manager: slim failed!
Pid file defined in config file (/etc/slim.conf) and in init.d file
(/etc/init.d/slim) are different.
Best regards
Jan Hamrle
*** bugs/init.d-slim.diff
--- /etc/init.d/slim.dist 2023-01-28 20:17:45.592507155 +0100
+++ /etc/init.d/slim 2023-01-28 22:38:29.086358062 +0100
@@ -22,7 +22,7 @@
NAME="slim"
DESC="X display manager"
DAEMON=/usr/bin/slim
-PIDFILE=/var/run/slim.lock
+PIDFILE=/run/slim.pid
SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON -- -d"
SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry TERM/5/TERM/5"
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 5 (daedalus/ceres)
Release: 5
Codename: daedalus ceres
Architecture: i686
Kernel: Linux 6.1.0-1-686-pae (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages slim depends on:
ii dbus 1.14.4-1devuan1
ii debconf [debconf-2.0] 1.5.82
ii libc6 2.36-8
ii libgcc-s1 12.2.0-14
ii libjpeg62-turbo 1:2.1.2-1+b1
ii libpam-elogind [logind] 246.10-5
ii libpam0g 1.5.2-6
ii libpng16-16 1.6.39-2
ii libstdc++6 12.2.0-14
ii libx11-6 2:1.8.3-3
ii libxext6 2:1.3.4-1+b1
ii libxft2 2.3.6-1
ii libxmu6 2:1.1.3-3
ii libxrandr2 2:1.5.2-2+b1
ii lsb-base 11.5
ii sysvinit-utils [lsb-base] 3.06-2devuan1
ii x11-xserver-utils 7.7+9+b1
Versions of packages slim recommends:
ii xterm 378-1
Versions of packages slim suggests:
ii scrot 1.8.1-1
ii xauth 1:1.1.1-1
-- Configuration Files:
/etc/init.d/slim changed [not included]
-- debconf information:
* shared/default-x-display-manager: slim
slim/daemon_name: /usr/bin/slim
Information forwarded
to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>
:
bug#739
; Package slim
.
(Sun, 29 Jan 2023 19:52:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Rob Pearce <slim@flitspace.org.uk>
:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>
.
(Sun, 29 Jan 2023 19:52:03 GMT) (full text, mbox, link).
Message #10 received at 739@bugs.devuan.org (full text, mbox, reply):
On 29/01/2023 10:16, Jan Hamrle wrote:
> *** bugs/init.d-slim.diff
> --- /etc/init.d/slim.dist 2023-01-28 20:17:45.592507155 +0100
> +++ /etc/init.d/slim 2023-01-28 22:38:29.086358062 +0100
> @@ -22,7 +22,7 @@
> NAME="slim"
> DESC="X display manager"
> DAEMON=/usr/bin/slim
> -PIDFILE=/var/run/slim.lock
> +PIDFILE=/run/slim.pid
>
> SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON -- -d"
> SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry TERM/5/TERM/5"
Thank you for this report and patch. I will apply it to the current
development.
This was entirely my mistake - I'd changed the upstream default over a
year ago, as some other distros were already patching it to the now more
common form, but just failed to spot the reference when I updated the
Devuan package.
Thanks,
Rob
--
Maintainer of the <href="https://sourceforge.net/projects/slim-fork/">SLiM Login Manager fork</a>
Reply sent
to Mark Hindley <mark@hindley.org.uk>
:
You have taken responsibility.
(Mon, 30 Jan 2023 07:24:02 GMT) (full text, mbox, link).
Notification sent
to Jan Hamrle <hamic@centrum.cz>
:
bug acknowledged by developer.
(Mon, 30 Jan 2023 07:24:03 GMT) (full text, mbox, link).
Message #15 received at 739-done@bugs.devuan.org (full text, mbox, reply):
Version: 1.4.0-0devuan2
Manually closing as fixed.
Mark
Send a report that this bug log contains spam.