Package: mailman3-web
Version: 0+20180916-2~bpo9+1
Severity: grave

Dear Maintainer,

mailman3-web-qcluster.service ExecStart is missing absolute path to python3:

# systemctl cat mailman3-web-qcluster.service |egrep '^#|Exec'
# /lib/systemd/system/mailman3-web-qcluster.service
ExecStart=python3 /usr/bin/django-admin qcluster --pythonpath 
/usr/share/mailman3-web --settings settings

This causes systemd (232-25+deb9u6) to fail with the following:

[/lib/systemd/system/mailman3-web-qcluster.service:8] Executable path is not 
absolute, ignoring: python3 /usr/bin/django-admin qcluster --pythonpath 
/usr/share/mailman3-web --settings settings
mailman3-web-qcluster.service: Service lacks both ExecStart= and ExecStop= 
setting. Refusing.

Has this requirement been relaxed in systemd in stretch-backports? Is this a 
missing dependency?

Regardless, just changing python3 to /usr/bin/python3 is enough:

ExecStart=/usr/bin/python3 /usr/bin/django-admin qcluster --pythonpath 
/usr/share/mailman3-web --settings settings

Then restarting the service works:

# systemctl daemon-reload
# systemctl restart mailman3-web-qcluster.service


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

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mailman3-web depends on:
ii  dbconfig-pgsql             2.0.8
ii  dbconfig-sqlite3           2.0.8
ii  debconf [debconf-2.0]      1.5.61
ii  lsb-base                   9.20161125
ii  node-less                  1.6.3~dfsg-2
ii  python3                    3.5.3-1
ii  python3-django-hyperkitty  1.2.1-4~bpo9+1
ii  python3-django-postorius   1.2.2-4~bpo9+2
ii  python3-psycopg2           2.6.2-1
ii  python3-whoosh             2.7.0-2
ii  ruby-sass                  3.4.23-1
ii  ucf                        3.0036
ii  uwsgi                      2.0.14+20161117-3+deb9u2
ii  uwsgi-plugin-python3       2.0.14+20161117-3+deb9u2

Versions of packages mailman3-web recommends:
ii  libapache2-mod-proxy-uwsgi  2.0.14+20161117-3+deb9u2

Versions of packages mailman3-web suggests:
ii  default-mysql-server                        1.0.2
ii  mariadb-server-10.1 [virtual-mysql-server]  10.1.37-0+deb9u1
ii  postgresql                                  9.6+181+deb9u2

--
Sampo Sorsa

Sent with ProtonMail Secure Email.

Reply via email to