[Pkg-freevo-maint] Bug#699125: freevo: webserver component does not work with packaged configuration
Stuart Prescott
stuart at debian.org
Sun Jan 27 21:16:59 UTC 2013
Package: freevo
Version: 1.9.2b2-4.1
Severity: normal
Dear Maintainers,
The freevo init scripts are set to drop privileges before spawning the freevo
component they are designed to start. This means that the freevo web server is
unable to bind its configured port (80) as it does not have root privileges.
# invoke-rc.d freevo start
Starting Freevo Home Theatre PC Platform (webserver).
================================================================================
Freevo 1.9.2-svn rupstream started at Sun Jan 27 19:25:36 2013
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/freevo/helpers/webserver.py", line 130, in <module>
main()
File "/usr/lib/python2.7/dist-packages/freevo/helpers/webserver.py", line 104, in main
reactor.listenTCP(config.WEBSERVER_PORT, site)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 436, in listenTCP
p.startListening()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 641, in startListening
raise CannotListenError, (self.interface, self.port, le)
CannotListenError: Couldn't listen on any:80: [Errno 13] Permission denied.
WARNING: Couldn't listen on any:80: [Errno 13] Permission denied.
The /etc/freevo/local_conf.py installed by the package claims "Port 8080 is the
default" but this is not the case -- 80 is the default.
It would be handy if the default port were changed to 8080 and if README.Debian
explained how to also set up the username/password for basic auth (or provided
a link to the upstream documentation).
cheers
Stuart
-- System Information:
Debian Release: 7.0
APT prefers testing-updates
APT policy: (550, 'testing-updates'), (550, 'testing-proposed-updates'), (550, 'testing'), (60, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-freevo-maint
mailing list