Package: foolsm Version: 1.0.21-1.1 Severity: normal Tags: patch Dear Maintainer,
The init script (/etc/init.d/foolsm) has not been updated to reflect the name change from lsm to foolsm. Thus, if systemd is not being used, the program fails to start. The attached patch solves this issue. Regards Georgios -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 6 (excalibur/ceres) Release: 6 Codename: excalibur ceres Architecture: x86_64 Kernel: Linux 6.11.4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages foolsm depends on: ii libc6 2.40-3 foolsm recommends no packages. foolsm suggests no packages. -- no debconf information
diff --git a/debian/foolsm.init b/debian/foolsm.init index 4a9c966..b7ab366 100755 --- a/debian/foolsm.init +++ b/debian/foolsm.init @@ -16,18 +16,18 @@ ### END INIT INFO # Author: Lucas de Castro Borges <lucascastrobor...@gmail.com> -NAME=lsm +NAME=foolsm DESC="Link Monitor" -DAEMON=/usr/sbin/lsm +DAEMON=/usr/sbin/foolsm PIDFILE=/var/run/$NAME.pid -CONFIG=/etc/lsm/lsm.conf +CONFIG=/etc/foolsm/foolsm.conf PATH=/sbin:/bin:/usr/sbin:/usr/bin . /lib/lsb/init-functions if [ ! -x $DAEMON ]; then - log_daemon_msg "lsm" "exectuble missing" + log_daemon_msg "foolsm" "executable missing" log_progress_msg "not starting" log_end_msg 1 fi @@ -46,7 +46,7 @@ do_stop() { case "$1" in start) - log_daemon_msg "Starting Link Monitor." "lsm" + log_daemon_msg "Starting Link Monitor." "foolsm" do_start case "$?" in 0) log_end_msg 0 ;; @@ -56,7 +56,7 @@ case "$1" in esac ;; stop) - log_daemon_msg "Stopping Link Monitor." "lsm" + log_daemon_msg "Stopping Link Monitor." "foolsm" do_stop case "$?" in 0) rm $PIDFILE