On 12/30/20 9:15 AM, Stefan Hornburg (Racke) wrote: > On 12/29/20 9:28 PM, Harri Suutari wrote: >> Package: sympa >> Version: 6.2.40~dfsg-1+deb10u1 >> Severity: important >> >> Dear Maintainer, >> >> The latest Sympa security update fails to install normally on my Debian >> Buster, >> but works normally, if restarted manually after the package install failure. >> >> Error logs seem to be: >> -sh: 11: /etc/bash.bashrc: shopt: not found >> -sh: 35: /etc/bash.bashrc: shopt: not found >> -sh: 26: /usr/share/bash-completion/bash_completion: Syntax error: "(" >> unexpected >> > > This appears to come from the following command in the postinst script: > > su -l sympa -s /bin/sh -c "/usr/lib/sympa/bin/sympa.pl > --upgrade_config_location" > > Which shell is used for the Sympa user (getent passwd sympa) ? > > Which shell is /bin/sh on your system? > > Regards > Racke
It might be a similar problem to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737621. Regards Racke > >> ======================================= >> >> # dpkg -s sympa >> Package: sympa >> Status: install ok half-configured >> Priority: optional >> Section: mail >> Installed-Size: 15323 >> Maintainer: Debian Sympa team <sy...@packages.debian.org> >> Architecture: i386 >> Version: 6.2.40~dfsg-1+deb10u1 >> Config-Version: 6.2.40~dfsg-1 >> >> >> # apt upgrade >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> Calculating upgrade... Done >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> 1 not fully installed or removed. >> After this operation, 0 B of additional disk space will be used. >> Do you want to continue? [Y/n] >> >> Setting up sympa (6.2.40~dfsg-1+deb10u1) ... >> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. >> dbconfig-common: writing config to /etc/dbconfig-common/sympa.conf >> dbconfig-common: flushing administrative password >> Ensuring that permissions and ownerships are right (this can take a while)... >> apache2_invoke sympa.conf: already enabled >> apache2_invoke sympa-soap.conf: already enabled >> Moving configuration files for Sympa >= 6.2 (if required) >> -sh: 11: /etc/bash.bashrc: shopt: not found >> -sh: 35: /etc/bash.bashrc: shopt: not found >> -sh: 26: /usr/share/bash-completion/bash_completion: Syntax error: "(" >> unexpected >> dpkg: error processing package sympa (--configure): >> installed sympa package post-installation script subprocess returned error >> exit status 2 >> Errors were encountered while processing: >> sympa >> E: Sub-process /usr/bin/dpkg returned an error code (1) >> >> >> # service sympa status >> ● sympa.service - SYMPA mailing list manager >> Loaded: loaded (/lib/systemd/system/sympa.service; enabled; vendor preset: >> enabled) >> Active: inactive (dead) since Tue 2020-12-29 22:20:13 EET; 28s ago >> Docs: man:sympa_msg(8) >> Main PID: 4977 (code=exited, status=0/SUCCESS) >> >> Dec 29 21:39:46 kallio systemd[1]: Starting SYMPA mailing list manager... >> Dec 29 21:39:48 kallio sympa_msg[4960]: info main::_load() Configuration file >> read, default log level 0 >> Dec 29 21:39:48 kallio sympa_msg[4960]: notice Sympa::Process::daemonize() >> Starting sympa/msg daemon, PID 4977 >> Dec 29 21:39:48 kallio sympa_msg[4977]: notice main:: Sympa/msg 6.2.40 >> Started >> Dec 29 21:39:48 kallio systemd[1]: Started SYMPA mailing list manager. >> Dec 29 22:20:13 kallio systemd[1]: Stopping SYMPA mailing list manager... >> Dec 29 22:20:13 kallio sympa_msg[4977]: notice main::sigterm() Signal TERM >> received, still processing current task >> Dec 29 22:20:13 kallio sympa_msg[4977]: notice main:: Sympa/msg exited >> normally >> due to signal >> Dec 29 22:20:13 kallio systemd[1]: sympa.service: Succeeded. >> Dec 29 22:20:13 kallio systemd[1]: Stopped SYMPA mailing list manager. >> >> # service sympa restart >> >> # service sympa status >> ● sympa.service - SYMPA mailing list manager >> Loaded: loaded (/lib/systemd/system/sympa.service; enabled; vendor preset: >> enabled) >> Active: active (running) since Tue 2020-12-29 22:21:36 EET; 15s ago >> Docs: man:sympa_msg(8) >> Process: 23068 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, >> status=0/SUCCESS) >> Process: 23072 ExecStartPre=/bin/chown sympa:sympa /run/sympa (code=exited, >> status=0/SUCCESS) >> Process: 23076 ExecStart=/usr/lib/sympa/bin/sympa_msg.pl (code=exited, >> status=0/SUCCESS) >> Main PID: 23095 (sympa_msg.pl) >> Tasks: 1 (limit: 4915) >> Memory: 49.1M >> CGroup: /system.slice/sympa.service >> └─23095 /usr/bin/perl /usr/lib/sympa/bin/sympa_msg.pl >> >> Dec 29 22:21:35 kallio systemd[1]: Starting SYMPA mailing list manager... >> Dec 29 22:21:36 kallio sympa_msg[23076]: info main::_load() Configuration >> file >> read, default log level 0 >> Dec 29 22:21:36 kallio sympa_msg[23076]: notice Sympa::Process::daemonize() >> Starting sympa/msg daemon, PID 23095 >> Dec 29 22:21:36 kallio sympa_msg[23095]: notice main:: Sympa/msg 6.2.40 >> Started >> Dec 29 22:21:36 kallio systemd[1]: Started SYMPA mailing list manager. >> >> ========================================= >> >> Regards, >> >> Harri >> >> >> >> >> -- System Information: >> Debian Release: 10.7 >> APT prefers stable-updates >> APT policy: (500, 'stable-updates'), (500, 'stable') >> Architecture: i386 (x86_64) >> Foreign Architectures: amd64 >> >> Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores) >> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE >> Locale: LANG=en_DK.utf8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), >> LANGUAGE=en_DK.utf8 (charmap=UTF-8) >> Shell: /bin/sh linked to /usr/bin/dash >> Init: systemd (via /run/systemd/system) >> LSM: AppArmor: enabled >> >> Versions of packages sympa depends on: >> ii adduser 3.118 >> ii ca-certificates 20200601~deb10u1 >> ii dbconfig-common 2.0.11+deb10u1 >> ii debconf [debconf-2.0] 1.5.71 >> ii exim4-daemon-heavy [mail-transport-agent] 4.92-8+deb10u4 >> ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-1 >> ii libarchive-zip-perl 1.64-1 >> ii libc6 2.28-10 >> ii libcgi-fast-perl 1:2.13-1 >> ii libcgi-pm-perl 4.40-1 >> ii libclass-singleton-perl 1.5-1 >> ii libcrypt-eksblowfish-perl 0.009-2+b5 >> ii libcrypt-openssl-x509-perl 1.8.12-1 >> ii libcrypt-smime-perl 0.25-1+b1 >> ii libdatetime-format-mail-perl 0.4030-1 >> ii libdbd-csv-perl 0.5300-1 >> ii libdbd-mysql-perl 4.050-2 >> ii libdbd-pg-perl 3.7.4-3 >> ii libdbd-sqlite3-perl 1.62-3 >> ii libdbi-perl 1.642-1+deb10u1 >> ii libfcgi-perl 0.78-2+b3 >> ii libfile-copy-recursive-perl 0.44-1 >> ii libfile-nfslock-perl 1.29-1 >> ii libhtml-format-perl 2.12-1 >> ii libhtml-stripscripts-parser-perl 1.03-2 >> ii libhtml-tree-perl 5.07-2 >> ii libintl-perl 1.26-2 >> ii libio-stringy-perl 2.111-3 >> ii libjs-jquery 3.3.1~dfsg-3 >> ii libjs-jquery-migrate-1 1.4.1-1 >> ii libjs-jquery-minicolors 2.2.6+dfsg-3 >> ii libjs-jquery-ui 1.12.1+dfsg-5 >> ii libmail-dkim-perl 0.54-1 >> ii libmailtools-perl 2.18-1 >> ii libmime-charset-perl 1.012.2-1 >> ii libmime-encwords-perl 1.014.3-2 >> ii libmime-lite-html-perl 1.24-3 >> ii libmime-tools-perl 5.509-1 >> ii libnet-cidr-perl 0.19-1 >> ii libnet-dns-perl 1.19-1 >> ii libnet-ldap-perl 1:0.6500+dfsg-1 >> ii libnet-netmask-perl 1.9104-1 >> ii libregexp-common-perl 2017060201-1 >> ii libsoap-lite-perl 1.27-1 >> ii libtemplate-perl 2.27-1+b1 >> ii libterm-progressbar-perl 2.22-1 >> ii libunicode-linebreak-perl 0.0.20190101-1 >> ii libxml-libxml-perl 2.0134+dfsg-1 >> ii lsb-base 10.2019051400 >> ii mhonarc 2.6.19-2 >> ii perl 5.28.1-6+deb10u1 >> ii rsyslog [system-log-daemon] 8.1901.0-1 >> ii sqlite3 3.27.2-3+deb10u1 >> >> Versions of packages sympa recommends: >> pn apache2-suexec <none> >> ii default-mysql-server 1.0.5 >> pn doc-base <none> >> ii libapache2-mod-fcgid 1:2.3.9-4 >> pn libcrypt-ciphersaber-perl <none> >> ii libio-socket-ssl-perl 2.060-3 >> ii locales 2.28-10 >> ii logrotate 3.14.0-4 >> >> Versions of packages sympa suggests: >> ii apache2 [httpd-cgi] 2.4.38-3+deb10u4 >> pn libauthcas-perl <none> >> pn libdbd-odbc-perl <none> >> pn libdbd-oracle-perl <none> >> ii lighttpd [httpd-cgi] 1.4.53-4+deb10u1 >> >> -- Configuration Files: >> /etc/apache2/conf-available/sympa.conf changed [not included] >> >> -- debconf information excluded >> > > -- Ecommerce and Linux consulting + Perl and web application programming. Debian and Sympa administration. Provisioning with Ansible.
OpenPGP_signature
Description: OpenPGP digital signature