Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1072741

Bug#925473: tomcat9: sysvinit script missing

From Ondrej Zary <ondrej@zary.sk>
Newsgroups linux.debian.bugs.dist
Subject Bug#925473: tomcat9: sysvinit script missing
Date 2021-09-24 12:10 +0200
Message-ID <D0Qjy-7c7-19@gated-at.bofh.it> (permalink)
References <xFvuF-5Cw-1@gated-at.bofh.it> <CZLlU-8is-1@gated-at.bofh.it> <CZQEV-3bW-3@gated-at.bofh.it> <xFvuF-5Cw-1@gated-at.bofh.it> <CZQEV-3bW-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 21 September 2021, Thorsten Glaser wrote:
> Ondrej Zary dixit:
> 
> >Hello, why tomcat9 still does not have an init script despite it has
> >been posted here?
> >
> >I'm upgrading a Stretch server without systemd to Buster. Tomcat 9 is
> >installed but cannot be started without an init script.
> 
> Mostly because Emmanuel insists on using systemd’s abstraction to
> create the user account, despite a working, tested, alternative I
> offered to maintain and be responsible for exists.
> 
> The “sysvinit” branch contains a working version of the package
> which I update from time to time. I’m also publishing builds of
> that here:
> 
> http://www.mirbsd.org/~tg/Debs/dists/bullseye/lts/Pkgs/tomcat9/
> 
> This is the “wtf-lts” repo on Wouter’s extrepodata.
> 
> The package contains the init script, the user management logic
> that actually works across *all* *supported* Debian configurations
> instead of just an *arbitrary* subset of those, and some instructions
> for nōn-systemd users in logging.properties (the default logging is
> configured for systemd) and README.Debian (specifically noting that
> some of the applied hardening is systemd-specific, but compared to
> stretch/sysvinit you’re not worse off, security-wise, so…).
> 
> I have no idea why Emmanuel, the primary maintainer, has been set
> so strongly against merging this patch for as long as I promise to
> take care of it and deal with any related fallout (maybe some systemd
> fan paid him) but this is what is, and that GR outcome is interpreted
> as Emmanuel being able to block this indefinitely despite nōn-systemd
> continuing to be a supported way of running Debian (albeit not without
> UsrMove in bookworm/sid).

Thank you.
I simply put your init script manually into /etc/init.d/
Also added /usr/libexec/sysv-getjre.sh and /usr/libexec/sysv-start.sh and
changed formatter in logging.properties. Now Tomcat 9 works fine.

Fortunately, Debian tomcat9 package does not depend on systemd-sysv. So systemd is installed but it does no harm as it's not running.

-- 
Ondrej Zary

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#925473: tomcat9: sysvinit script missing Ondrej Zary <ondrej@zary.sk> - 2021-09-21 12:40 +0200
  Bug#925473: tomcat9: sysvinit script missing Emmanuel Bourg <ebourg@apache.org> - 2021-09-21 16:40 +0200
  Bug#925473: tomcat9: sysvinit script missing Thorsten Glaser <t.glaser@tarent.de> - 2021-09-21 18:20 +0200
    Bug#925473: tomcat9: sysvinit script missing Markus Koschany <apo@debian.org> - 2021-09-21 21:30 +0200
      Bug#925473: tomcat9: sysvinit script missing Thorsten Glaser <tg@mirbsd.de> - 2021-09-21 21:50 +0200
    Bug#925473: tomcat9: sysvinit script missing Ondrej Zary <ondrej@zary.sk> - 2021-09-24 12:10 +0200

csiph-web