[Pkg-mailman-hackers] Bug#894855: Bug#894855: bind(): No such file or directory [core/socket.c line 230]
Pierre-Elliott Bécue
becue at crans.org
Fri Apr 6 10:34:44 UTC 2018
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.
--
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.
More information about the Pkg-mailman-hackers
mailing list