LedgerSMB
The foundation for your business
Fork me on GitHub
[ledgersmb-devel] Bug#1028924: ledgersmb: Init script calls start-stop-daemon incorrectly, fails to start
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-devel] Bug#1028924: ledgersmb: Init script calls start-stop-daemon incorrectly, fails to start



Package: ledgersmb
Version: 1.6.9+ds-2+deb11u3
Severity: important
X-Debbugs-Cc: ..hidden..

Dear Maintainer,

I installed LedgerSMB with defaults on Debian-11 with sysvinit (instead of
systemd).  When I try to start the daemon, it produces the following output:

# /etc/init.d/ledgersmb start
$Starting ledgersmb:
start-stop-daemon: unrecognized option '--interval=5'
Try 'start-stop-daemon --help' for more information.
#

I am not an expert on start-stop-daemon, but looking at the init script, it
seems start-stop-daemon is invoked with /usr/bin/start_server as the intended
program to run, which then has further arguments for that to start
/usr/bin/starman.  However the start-stop-daemon invocation lacks a "--start" argument prior to the /usr/bin/start_server, and the "--start" seems to be the norm among other uses of start-stop-daemon in the system's /etc/init.d/* files.
So maybe the init script is for some completely different version of
start-stop-daemon, or the arguments are really for a different program, or
something.  I'm not quite sure.


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

Kernel: Linux 5.10.0-20-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 ledgersmb depends on:
ii  adduser                                   3.118
ii  debconf [debconf-2.0]                     1.5.77
ii  dpkg                                      1.20.12
ii  libcarp-always-perl                       0.16-1
ii  libcgi-emulate-psgi-perl                  0.23-1
ii  libcgi-simple-perl                        1.115-2
ii  libclass-c3-xs-perl                       0.15-1+b1
ii  libconfig-inifiles-perl                   3.000003-1
ii  libdata-uuid-perl                         1.226-1+b1
ii  libdatetime-format-strptime-perl          1.7800-1
ii  libdatetime-perl                          2:1.54-1
ii  libdbd-pg-perl                            3.14.2-1+b1
ii  libdbi-perl                               1.643-3+b1
ii  libhtml-escape-perl                       1.10-1+b3
ii  libhttp-exception-perl                    0.04007-1
ii  libio-stringy-perl                        2.111-3
ii  libjs-dojo-dijit                          1.15.4+dfsg1-1+deb11u1
ii  libjson-perl                              4.03000-1
ii  liblocale-codes-perl                      3.66-1
ii  liblocale-maketext-lexicon-perl           1.00-1.1
ii  liblog-log4perl-perl                      1.54-1
ii  libmime-lite-perl                         3.031-1
ii  libmime-types-perl                        2.18-1
ii  libmoose-perl                             2.2014-2
ii  libmoosex-nonmoose-perl                   0.26-1.1
ii  libnamespace-autoclean-perl               0.29-1
ii  libnumber-format-perl                     1.75-1.1
ii  libpgobject-perl                          2.2.0-1
ii  libpgobject-simple-perl                   3.000002-1.1
ii  libpgobject-simple-role-perl              2.000002-1.1
ii  libpgobject-type-bigfloat-perl            2.001-1
ii  libpgobject-type-bytestring-perl          1.2.3-1
ii  libpgobject-type-datetime-perl            2.000002-1
ii  libpgobject-util-dbadmin-perl             1.4.0-1
ii  libpgobject-util-dbmethod-perl            1.00.003-1
ii  libplack-builder-conditionals-perl        0.05-1.1
ii  libplack-middleware-reverseproxy-perl     0.16-1
ii  libplack-perl                             1.0048-1
ii  libplack-request-withencoding-perl        0.14-1
ii  libtemplate-perl                          2.27-1+b3
ii  libtext-markdown-perl                     1.000031-3
ii  libtry-tiny-perl                          0.30-1
ii  libversion-compare-perl                   0.14-1.1
ii  libxml-simple-perl                        2.25-1
ii  perl                                      5.32.1-4+deb11u2
ii  postgresql-client-13 [postgresql-client]  13.9-0+deb11u1
ii  postgresql-contrib                        13+225
ii  starman                                   0.4015-1
ii  ucf                                       3.0043

Versions of packages ledgersmb recommends:
ii  apache2                        2.4.54-1~deb11u1
pn  libjson-xs-perl                <none>
pn  liblatex-driver-perl           <none>
pn  libmath-bigint-gmp-perl        <none>
pn  libtemplate-plugin-latex-perl  <none>
pn  libtex-encode-perl             <none>
pn  texlive-latex-recommended      <none>

Versions of packages ledgersmb suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.94.2-7
pn  latex-cjk-all                              <none>
pn  libimage-size-perl                         <none>
pn  libopenoffice-oodoc-perl                   <none>
pn  libx12-parser-perl                         <none>
pn  lpr                                        <none>
ii  postgresql                                 13+225
pn  texlive-xetex                              <none>

-- debconf information:
* ledgersmb/lsmb_proxy: None
* ledgersmb/admin_login: lsmb_dbadmin
_______________________________________________
devel mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..