:: [devuan-dev] bug#739: /etc/init.d/s…
Inizio della pagina
Delete this message
Reply to this message
Autore: Jan Hamrle
Data:  
To: Devuan Bug Tracking System
Oggetto: [devuan-dev] bug#739: /etc/init.d/slim: fails to stop slim daemon with sysvinit
Package: slim
Version: 1.3.9-1devuan2
Severity: normal
File: /etc/init.d/slim
X-Debbugs-Cc: hamic@???

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