Devuan bug report logs - #739
/etc/init.d/slim: fails to stop slim daemon with sysvinit

version graph

Package: slim; Maintainer for slim is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for slim is src:slim.

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>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#739: /etc/init.d/slim: fails to stop slim daemon with sysvinit
Reply-To: Jan Hamrle <hamic@centrum.cz>, 739@bugs.devuan.org
Resent-From: Jan Hamrle <hamic@centrum.cz>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: hamic@centrum.cz, Devuan Dev Team <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 29 Jan 2023 10:20:01 +0000
Resent-Message-ID: <handler.739.B.16749875018682@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 739
X-Devuan-PR-Package: slim
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.16749875018682
          (code B); Sun, 29 Jan 2023 10:20:01 +0000
Received: (at submit) by bugs.devuan.org; 29 Jan 2023 10:18:21 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 29 Jan 2023 10:18:21 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id +3FCAaBH1mMZTAAAmSBk0A
	(envelope-from <hamic@centrum.cz>)
	for <bugs@devuan.org>; Sun, 29 Jan 2023 10:17:04 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id EF04EA04; Sun, 29 Jan 2023 10:17:03 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,
	SPOOFED_FREEMAIL autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Neutral (mailfrom) identity=mailfrom; client-ip=176.97.15.3; helo=bear.unicode.cz; envelope-from=hamic@centrum.cz; receiver=<UNKNOWN> 
Received: from bear.unicode.cz (bear.unicode.cz [176.97.15.3])
	by email.devuan.org (Postfix) with ESMTPS id 8D0A884
	for <submit@bugs.devuan.org>; Sun, 29 Jan 2023 10:16:59 +0000 (UTC)
Received: from localhost ([::1] helo=[127.0.1.1])
	by bear.unicode.cz with esmtp (Exim 4.94.2)
	(envelope-from <hamic@centrum.cz>)
	id 1pM4k5-0000hb-J5
	for submit@bugs.devuan.org; Sun, 29 Jan 2023 11:16:57 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jan Hamrle <hamic@centrum.cz>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Message-ID: <167498737257.4053.1246911639801157879.reportbug@acer>
X-Mailer: reportbug 11.6.0devuan2
Date: Sun, 29 Jan 2023 11:16:12 +0100
X-Spam_score: -1.0
X-Spam_bar: -
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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 19:27:51 2024;