Bug#1037039: rsyslog - SysV init file missing

2023-07-06 Thread g1
Package: rsyslog
Version: 8.2302.0-1
Followup-For: Bug #1037039
X-Debbugs-Cc: g...@libero.it

In case someone lands on this bug after discovering that rsyslogd doesn't
start at boot anymore after upgrading to bookworm:

If you don't want to install orphan-sysvinit-scripts, you can use the
following minimal script (man init-d-script for reference):

#!/bin/sh
### BEGIN INIT INFO
# Provides:   rsyslog
# Required-Start: $remote_fs $time
# Required-Stop:  umountnfs $time
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:rsyslog
### END INIT INFO

DAEMON=/usr/sbin/rsyslogd
/lib/init/init-d-script "$0" "$@"



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

Kernel: Linux 6.1.0-10-cloud-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsyslog depends on:
ii  libc6 2.36-9
ii  libestr0  0.1.11-1
ii  libfastjson4  1.2304.0-1
ii  liblognorm5   2.0.6-4
ii  libsystemd0   252.6-1
ii  libuuid1  2.38.1-5+b1
ii  libzstd1  1.5.4+dfsg2-5
ii  zlib1g1:1.2.13.dfsg-1

Versions of packages rsyslog recommends:
ii  logrotate  3.21.0-1

Versions of packages rsyslog suggests:
pn  rsyslog-doc   
pn  rsyslog-gssapi
pn  rsyslog-mongodb   
pn  rsyslog-mysql | rsyslog-pgsql 
pn  rsyslog-openssl | rsyslog-gnutls  
pn  rsyslog-relp  

-- no debconf information



Bug#1037039: rsyslog - SysV init file missing

2023-06-02 Thread Narayanan R S
Package: rsyslog
Version: 8.2302.0-1~bpo11+1

Can you please reinstate the missing /etc/init.d/rsyslog file in the
package?

>From the changelog notes, it appears to have been removed (intentionally)
in version 8.2110.0-2.

I'm not clear on why this is removed - one can continue to use a SysV init
and so this file is useful/important in systems that do not use systemd to
launch rsyslog. While I understand that ryslog's priority has been demoted
from important to optional (per
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018788), I see no reason
to exclude the SysV init file from the package

Thank you.

Narayanan.