Skip to Content.
Sympa Menu

en - [sympa-users] WWSympa should run with UID 121 (instead of 33)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Wolfgang Bock" <address@concealed>
  • To: <address@concealed>
  • Subject: [sympa-users] WWSympa should run with UID 121 (instead of 33)
  • Date: Fri, 15 Oct 2021 15:17:05 +0200

Hi,

after upgrading debian to bullseye and updating to sympa 6.2.60 I went into
serveral problems.

sympa + apache2 did not work because sympa and nextcloud block each other
regarding fastcgi. If fastcgi is anabled sympa works but nextcloud not. In
the viceversa solution nextcloud works and sympa doesnt. Dropped this
solution

sympa as nginx did not work, sympa shows strange behavior regarding missing
icons (same as roundcube) seems to be a nginx-problem, see attachment.
Dropped this solution

I was relative successfull with sympa + nginx + lightttpd. So far I get a :
WSympa should run with UID 121 -sympa - (instead of 33 -www-data _). ***
Switching to maintenance mode. ***

Settings:
/etc/lighttpd/lighttpd.conf
server.modules = (
"mod_indexfile",
"mod_access",
"mod_alias",
"mod_redirect",
"mod_fastcgi",
"mod_alias",
)

server.document-root = "/www/lighttpd/"

alias.url += ( "/static-sympa/" => "/usr/share/sympa/static_content/" )

server.port = 8000

server.username = "www-data"
server.groupname = "www-data"

var.log_root = "/var/log/lighttpd"
server.errorlog = log_root + "/sympa-error.log"

mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
# static-file.exclude-extensions = ( ".fcgi", ".rb", "~", ".inc" )

index-file.names = ( "index.html", "index.php" )

$HTTP["host"] == "lists-05.xyz.de" {
server.document-root = "/www/lighttpd/".
}

$HTTP["url"] =~ "^/sympa" {
fastcgi.server = ( "/sympa" => ((
"check-local" => "disable",
"bin-path" => "/usr/lib/cgi-bin/sympa/wwsympa.fcgi",
"socket" => "/var/run/lighttpd/sympa.sock",
"max-procs" => 2,
"idle-timeout" => 20,
))
)
}

This doesnt help:
# /etc/systemd/system/wwsympa.socket
[Unit]
Description = Sympa Web Interface Socket

[Socket]
# SocketUser = www-data
# SocketGroup = www-data
SocketUser = sympa
SocketGroup = sympa
SocketMode = 0660

RuntimeDirectory = sympa
ListenStream = /run/wwsympa/wwsympa.socket

[Install]
WantedBy = sockets.target

Ist there anyone who knows a working config for any environment: debian
bullseye either: apache2 for sympa plus nextcloud, nginx with
sympa-virtual-host, nginx plus lighttpd ??

Thanks in advance

Wolfgang


Attachment: sympa-fehler-2021-10-11-01.jpg
Description: JPEG image



  • [sympa-users] WWSympa should run with UID 121 (instead of 33), Wolfgang Bock, 10/15/2021

Archive powered by MHonArc 2.6.19+.

Top of Page