Le vendredi 06 avril 2018 à 12:34:44+0200, Pierre-Elliott Bécue a écrit :
> Hi,
> 
> Thanks for submitting this bug.
> 
> Le mercredi 04 avril 2018 à 14:51:21-0700, Purism Sysadmins a écrit :
> > Package: mailman3-web
> > Version: 0+20170523-13~bpo9+1
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > When I tried to install mailman3-full I got this:
> > 
> > ```
> > Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Main process 
> > exited, code=exited, status=1/FAILURE
> > Apr 04 12:36:10 lists systemd[1]: Failed to start Mailman3-web uWSGI 
> > service.
> > Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Unit entered failed 
> > state.
> > Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Failed with result 
> > 'exit-code'.
> > dpkg: error processing package mailman3-web (--configure):
> >  subprocess installed post-installation script returned error exit status 1
> > dpkg: dependency problems prevent configuration of mailman3-full:
> >  mailman3-full depends on mailman3-web; however:
> >   Package mailman3-web is not configured yet.
> > 
> > dpkg: error processing package mailman3-full (--configure):
> >  dependency problems - leaving unconfigured
> > Processing triggers for libc-bin (2.24-11+deb9u3) ...
> > Processing triggers for systemd (232-25+deb9u3) ...
> > Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.5-2+deb9u2) ...
> > Errors were encountered while processing:
> >  mailman3-web
> >  mailman3-full
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > W: Operation was interrupted before it could finish
> > ```
> > 
> > Checking in the logs (/var/log/mailman3/web/mailman-web.log) I got this:
> > 
> > ```
> > *** Starting uWSGI 2.0.14-debian (64bit) on [Wed Apr  4 12:36:10 2018] ***
> > compiled with version: 6.3.0 20170516 on 17 March 2018 15:41:47
> > os: Linux-4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
> > nodename: announcements
> > machine: x86_64
> > clock source: unix
> > pcre jit disabled
> > detected number of CPU cores: 1
> > current working directory: /
> > detected binary path: /usr/bin/uwsgi-core
> > setgid() to 33
> > setuid() to 33
> > chdir() to /usr/share/mailman3-web
> > your processes number limit is 7931
> > your memory page size is 4096 bytes
> > detected max file descriptor number: 1024
> > lock engine: pthread robust mutexes
> > thunder lock: disabled (you can enable it with --thunder-lock)
> > bind(): No such file or directory [core/socket.c line 230]
> > ```
> > 
> > My workaround was this:
> > 
> > ```
> > mkdir /run/mailman3/web/
> > chown www-data:www-data /run/mailman3/web/
> > ```
> 
> Well, this one is reccurrent.
> 
> I really understood that the presence of
> /usr/lib/tmpfiles.d/mailman3-web.conf is supposed to be enough for systemd
> users.
> 
> I'll work on it (mostly, ask for advice) and we'll try to find a definitive
> solution.

Thanks to wRAR (Andrey Rahmatullin), I think I have a proper explaination.

Apparently, this bug is most likely due to debhelper's snippets integration
in postinst/prerm scripts. It has been reported in[1,2] and fixed in
debhelper 11.1[3], but dh 11.1.X entered the backports only recently[4]

Until we rebuild/upload the packages again, there's most likely nothing we
can do. I'll discuss with Jonas about speeding up the next upload in order
to have proper postinst/prerm files.

[1] https://bugs.debian.org/814285
[2] https://bugs.debian.org/885998
[3] 
https://salsa.debian.org/debian/debhelper/blob/648c357c09d109f8b802fe3dd1091b734aa45271/debian/changelog#L64
[4] 
https://tracker.debian.org/news/945655/accepted-debhelper-1116bpo91-source-into-stretch-backports/

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.

Reply via email to