Package: sympa
Version: 6.1.23~dfsg-2
Severity: normal

Dear Maintainer,

The sympa-fcgi at boot time doesn't correctly set the socket permission.

srw-r----- 1 sympa sympa 0 Sep 21 08:56 /var/run/sympa/wwsympa.sock

Even if the daemon is up, the webserver (nginx in this case) can't access
the socket and results in:

2015/09/21 09:01:09 [crit] 587#587: *20 connect() to 
unix:/var/run/sympa/wwsympa.sock failed (13: Permission denied) while 
connecting to upstream, client: XXXXXX, server: XXXXXX, request: "GET /wws 
HTTP/1.1", upstream: "fastcgi://unix:/var/run/sympa/wwsympa.sock:", 
host:"XXXXXXX"

Restarting the service (systemctl stop sympa-fcgi && systemclt start 
sympa-fcgi) seems to work:

srw-r----- 1 www-data www-data 0 Sep 21 09:01 /var/run/sympa/wwsympa.sock

Best wishes

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sympa depends on:
ii  adduser                                    3.113+nmu3
ii  ca-certificates                            20141019
ii  dbconfig-common                            1.8.47+nmu3
ii  debconf [debconf-2.0]                      1.5.56
ii  exim4-daemon-light [mail-transport-agent]  4.84-8
ii  libarchive-zip-perl                        1.39-1
ii  libc6                                      2.19-18+deb8u1
ii  libcgi-fast-perl                           1:2.04-1
ii  libcgi-pm-perl                             4.09-1
ii  libdbd-mysql-perl                          4.028-2+b1
ii  libdbd-pg-perl                             3.4.2-1
ii  libdbd-sqlite3-perl                        1.44-1
ii  libdbd-sybase-perl                         1.14-1+b2
ii  libdbi-perl                                1.631-3+b1
ii  libfcgi-perl                               0.77-1+b1
ii  libfile-copy-recursive-perl                0.38-1
ii  libhtml-format-perl                        2.11-1
ii  libhtml-stripscripts-parser-perl           1.03-1
ii  libhtml-tree-perl                          5.03-1
ii  libintl-perl                               1.23-1
ii  libio-stringy-perl                         2.110-5
ii  libmailtools-perl                          2.13-1
ii  libmime-charset-perl                       1.011.1-1
ii  libmime-encwords-perl                      1.014.3-1
ii  libmime-lite-html-perl                     1.24-1
ii  libmime-tools-perl                         5.505-1
ii  libmsgcat-perl                             1.03-6+b1
ii  libnet-ldap-perl                           1:0.6400+dfsg-2
ii  libnet-netmask-perl                        1.9021-1
ii  libregexp-common-perl                      2013031301-1
ii  libsoap-lite-perl                          1.11-1
ii  libtemplate-perl                           2.24-1.2+b1
ii  libterm-progressbar-perl                   2.16-1
ii  libunicode-linebreak-perl                  0.0.20140601-2
ii  libxml-libxml-perl                         2.0116+dfsg-1+deb8u1
ii  lsb-base                                   4.1+Debian13+nmu1
ii  mhonarc                                    2.6.19-1
ii  perl                                       5.20.2-3+deb8u1
ii  perl-modules                               5.20.2-3+deb8u1
ii  rsyslog [system-log-daemon]                8.4.2-1+deb8u1
ii  sqlite3                                    3.8.7.1-1+deb8u1

Versions of packages sympa recommends:
pn  apache2-suexec             <none>
pn  doc-base                   <none>
pn  libapache2-mod-fcgid       <none>
pn  libcrypt-ciphersaber-perl  <none>
pn  libfile-nfslock-perl       <none>
ii  libio-socket-ssl-perl      2.002-2+deb8u1
pn  libmail-dkim-perl          <none>
ii  locales                    2.19-18+deb8u1
ii  logrotate                  3.8.7-1+b1
ii  mysql-server               5.5.44-0+deb8u1

Versions of packages sympa suggests:
pn  libauthcas-perl         <none>
pn  libdbd-oracle-perl      <none>
pn  libtext-wrap-perl       <none>
ii  nginx-full [httpd-cgi]  1.9.4-1~bpo8+1
ii  openssl                 1.0.1k-3+deb8u1

-- Configuration Files:
/etc/sympa/sympa.conf-smime.in [Errno 13] Permission denied: 
u'/etc/sympa/sympa.conf-smime.in'

-- debconf information excluded

Reply via email to