Package: conserver-server
Version: 8.2.7-2+b1
Severity: normal
Tags: patch

Dear Maintainer,

I'd like to report a simple bug that prevents us from reloading conservers' 
configuration on the fly by sending it a SIGHUP.
the systemd service file does not have a ExecReload to send it.
I attach a patch for the service file that adds the corresponding line.

   * What led up to the situation?
     -> tried to reload the configuration without restarting the service
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     -> 'systemctl reload conserver-server'
   * What was the outcome of this action?
     -> lead to 'Failed to reload conserver-server.service: Job type reload is 
not applicable for unit conserver-server.service.'
   * What outcome did you expect instead?
     -> conserver recieving a SIGHUP and reloading its config on the fly.

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; 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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages conserver-server depends on:
ii  adduser                    3.134
ii  debconf [debconf-2.0]      1.5.82
ii  init-system-helpers        1.65.2
ii  libc6                      2.36-9+deb12u4
ii  libcrypt1                  1:4.4.33-2
ii  libgssapi-krb5-2           1.20.1-2+deb12u1
ii  libpam0g                   1.5.2-6+deb12u1
ii  libssl3                    3.0.11-1~deb12u2
ii  libwrap0                   7.6.q-32
ii  sysvinit-utils [lsb-base]  3.06-4

conserver-server recommends no packages.

conserver-server suggests no packages.

-- Configuration Files:
/etc/conserver/conserver.cf changed [not included]

-- debconf information excluded
--- conserver-server.service.orig       2024-04-11 14:04:22.609005135 +0200
+++ conserver-server.service    2024-04-11 14:03:59.768941435 +0200
@@ -10,6 +10,7 @@
 EnvironmentFile=-/etc/conserver/server.conf
 EnvironmentFile=-/etc/conserver/server.local
 ExecStart=/usr/sbin/conserver -d $OPTS
+ExecReload=kill -SIGHUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target

Reply via email to