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

Package: slim; Reported by: Jan Hamrle <[email protected]>; Done: Mark Hindley <[email protected]>; Maintainer for slim is Devuan Dev Team <[email protected]>.

Message received at [email protected]:


Received: (at 739-done) by bugs.devuan.org; 30 Jan 2023 07:22:35 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Mon, 30 Jan 2023 07:22:35 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id ibi9FuRv12NlCgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Mon, 30 Jan 2023 07:21:08 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 53842A04; Mon, 30 Jan 2023 07:21:08 +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=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 0470C2A8
	for <[email protected]>; Mon, 30 Jan 2023 07:21:07 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pMOTS-0001SB-5R; Mon, 30 Jan 2023 07:21:06 +0000
Received: (nullmailer pid 10088 invoked by uid 1000);
	Mon, 30 Jan 2023 07:21:05 -0000
Date: Mon, 30 Jan 2023 07:21:05 +0000
From: Mark Hindley <[email protected]>
To: Rob Pearce <[email protected]>, [email protected]
Subject: Re: [devuan-dev] bug#739: bug#739: /etc/init.d/slim: fails to stop
 slim daemon with sysvinit
Message-ID: <[email protected]>
References: <167498737257.4053.1246911639801157879.reportbug@acer>
 <167498737257.4053.1246911639801157879.reportbug@acer>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Version: 1.4.0-0devuan2

Manually closing as fixed.

Mark

Notification sent to Jan Hamrle <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 739) by bugs.devuan.org; 29 Jan 2023 19:50:42 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 19:50:42 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id kk6DOL3N1mNJZwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 29 Jan 2023 19:49:17 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DEF332A8; Sun, 29 Jan 2023 19:49:17 +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=-0.0 required=5.0 tests=FORGED_SPF_HELO,NICE_REPLY_A,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham autolearn_force=no
	version=3.4.6
Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=213.120.69.34; helo=sa-prd-fep-045.btinternet.com; [email protected]; receiver=<UNKNOWN> 
Received: from sa-prd-fep-045.btinternet.com (mailomta28-sa.btinternet.com [213.120.69.34])
	by email.devuan.org (Postfix) with ESMTPS id 1B04225
	for <[email protected]>; Sun, 29 Jan 2023 19:49:11 +0000 (UTC)
Received: from sa-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.38.5])
          by sa-prd-fep-045.btinternet.com with ESMTP
          id <20230129194910.QZHV5235.sa-prd-fep-045.btinternet.com@sa-prd-rgout-002.btmx-prd.synchronoss.net>
          for <[email protected]>; Sun, 29 Jan 2023 19:49:10 +0000
Authentication-Results: btinternet.com;
    auth=pass (LOGIN) [email protected];
    bimi=skipped
X-SNCR-Rigid: 6139417C4DA68DD6
X-Originating-IP: [86.153.58.55]
X-OWM-Source-IP: 86.153.58.55 (GB)
X-OWM-Env-Sender: [email protected]
X-VadeSecure-score: verdict=clean score=49/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudeftddgudefudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucgoufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptfhosgcurfgvrghrtggvuceoshhlihhmsehflhhithhsphgrtggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepiedvgeektdfhvdfghfeugeejjeevvefhieekleegfeettdffhedtveetgeffueegnecuffhomhgrihhnpehsohhurhgtvghfohhrghgvrdhnvghtnecukfhppeekiedrudehfedrheekrdehheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehflhhithhsphgrtggvrdhorhhgrdhukhdpihhnvghtpeekiedrudehfedrheekrdehhedpmhgrihhlfhhrohhmpehslhhimhesfhhlihhtshhprggtvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefleessghughhsrdguvghvuhgrnhdrohhrgh
X-RazorGate-Vade-Verdict: clean 49
X-RazorGate-Vade-Classification: clean
Received: from flitspace.org.uk (86.153.58.55) by sa-prd-rgout-002.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as [email protected])
        id 6139417C4DA68DD6 for [email protected]; Sun, 29 Jan 2023 19:49:10 +0000
Received: from [192.168.0.21] (unknown [192.168.0.21])
	by flitspace.org.uk (Postfix) with ESMTP id 5D9D6A98EA
	for <[email protected]>; Sun, 29 Jan 2023 19:49:10 +0000 (GMT)
Message-ID: <[email protected]>
Date: Sun, 29 Jan 2023 19:49:41 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.6.1
Subject: Re: [devuan-dev] bug#739: /etc/init.d/slim: fails to stop slim daemon
 with sysvinit
Content-Language: en-GB
To: [email protected]
References: <167498737257.4053.1246911639801157879.reportbug@acer>
From: Rob Pearce <[email protected]>
In-Reply-To: <167498737257.4053.1246911639801157879.reportbug@acer>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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>


Acknowledgement sent to Rob Pearce <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Dev Team <[email protected]>:
bug#739; Package slim. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 29 Jan 2023 10:18:21 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; receiver=<UNKNOWN> 
Received: from bear.unicode.cz (bear.unicode.cz [176.97.15.3])
	by email.devuan.org (Postfix) with ESMTPS id 8D0A884
	for <[email protected]>; 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 <[email protected]>)
	id 1pM4k5-0000hb-J5
	for [email protected]; 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 <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: /etc/init.d/slim: fails to stop slim daemon with sysvinit
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: [email protected]

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

Acknowledgement sent to Jan Hamrle <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected], Devuan Dev Team <[email protected]>. Full text available.
Report forwarded to [email protected], [email protected], Devuan Dev Team <[email protected]>:
bug#739; Package slim. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 06:39:01 UTC