Package: sympa Version: 6.2.16~dfsg-3 hello,
the current debian packaging of sympa install and starts everything required for sympa to be up and running which is great but don't fit the docker strategy when every service must be started as pid 1 in a container. i thnk that in the best scenario, sympa should be split on multiple packages digraph { libtask-sympa-perl -> sympa-common -> { sympa-archived , sympa-bulkd , sympa-fastcgi , sympa-* } -> sympa } here is the current situation: cat sympa:buster/Dockerfile > FROM debian:buster > ENV DEBIAN_FRONTEND noninteractive > RUN apt -y update &&\ > apt -y upgrade &&\ > apt -y install sympa docker build -t sympacrashdemo sympa:buster ... lot of output, then ... > Creating config file /etc/dbconfig-common/sympa.conf with new version > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2 "No such file or directory"). > unable to connect to mysql server. > error encountered creating user: > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") > dbconfig-common: sympa configure: noninteractive fail. > dbconfig-common: sympa configure: ignoring errors from here forwards > dbconfig-common: flushing administrative password > Ensuring that permissions and ownerships are right (this can take a while)... > FastCGI module not installed or enabled, skipping. > Moving configuration files for Sympa >= 6.2 (if required) > Sympa configuration already located at /etc/sympa/sympa/sympa.conf > Upgrading Sympa internals (health check) > err Conf::_set_listmasters_entry() Robot config: Listmaster address > "listmaster@f06ba360c7bc" is not a valid email > err Conf::_set_listmasters_entry() Robot config: All the listmasters > addresses found were not valid. Out of 1 addresses provided, 0 only are valid > email addresses > setlogsock(): type='unix': path not available at > /usr/share/sympa/lib/Sympa/Log.pm line 222. > Database sympa defined in sympa.conf has not the right structure or is > unreachable. verify db_xxx parameters in sympa.conf > dpkg: error processing package sympa (--configure): > installed sympa package post-installation script subprocess returned error > exit status 255 > Processing triggers for libc-bin (2.24-17) ... > Processing triggers for ca-certificates (20170717) ... > Updating certificates in /etc/ssl/certs... > 0 added, 0 removed; done. > Running hooks in /etc/ca-certificates/update.d... > done. > Processing triggers for rsyslog (8.29.0-2) ... > invoke-rc.d: could not determine current runlevel > invoke-rc.d: policy-rc.d denied execution of try-restart. > Errors were encountered while processing: > sympa > E: Sub-process /usr/bin/dpkg returned an error code (1) > The command '/bin/sh -c apt -y update && apt -y upgrade && apt -y > install sympa' returned a non-zero code: 100