Your message dated Sun, 4 Sep 2011 14:41:08 +0200
with message-id <[email protected]>
and subject line Re: Bug#639184: tryton-server: Does not listen on IPv4 if
"net.ipv6.bindv6only = 1"
has caused the Debian Bug report #639184,
regarding tryton-server: Does not listen on IPv4 if "net.ipv6.bindv6only = 1"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
639184: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639184
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tryton-server
Version: 2.0.1+dfsg-3
Severity: normal
If the sysctl setting "net.ipv6.bindv6only = 1" is present on a system,
it's required for a daemon who is interested in accepting both ipv4 and
ipv6 connection to open two separate sockets.
tryton-server does only open tcp6 sockets:
% sudo netstat -ntpl |grep python
tcp6 0 0 :::8070 :::*
LISTEN 12368/python
tcp6 0 0 :::8071 :::*
LISTEN 12368/python
% sudo grep 'port = 80' /etc/trytond.conf
netport = 8070
webdavport = 8071
This leaves tryton in a state where it's only able to accept incoming
connections over ipv6.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tryton-server depends on:
ii adduser 3.113 add and remove users and groups
ii python 2.6.7-3 interactive high-level object-orie
ii python-dateutil 1.5-1 powerful extensions to the standar
ii python-genshi 0.6-1+b1 Python XML-based template engine
ii python-lxml 2.3-0.1+b2 pythonic binding for the libxml2 a
ii python-pkg-resources 0.6.16-1 Package Discovery and Resource Acc
ii python-psycopg2 2.4.2-1 Python module for PostgreSQL
ii python-relatorio 0.5.5-4 Python module to create reports fr
ii python-simplejson 2.1.6-1 simple, fast, extensible JSON enco
ii python2.6 2.6.7-4 An interactive high-level object-o
ii python2.7 2.7.2-5 An interactive high-level object-o
ii tango-icon-theme 0.8.90-5 Tango icon theme
Versions of packages tryton-server recommends:
ii postgresql 9.0.4-1 object-relational SQL database (su
ii postgresql-client-9.0 [postgr 9.0.4-1+b1 front-end programs for PostgreSQL
ii python-openssl 0.13~a1-1 Python wrapper around the OpenSSL
ii python-pydot 1.0.2-1 Python interface to Graphviz's dot
ii python-tz 2010b-1 Python version of the Olson timezo
ii python-webdav 0.9.4.1-1 WebDAV server implementation in Py
Versions of packages tryton-server suggests:
pn libreoffice-draw <none> (no description available)
pn libreoffice-writer <none> (no description available)
pn python-openoffice <none> (no description available)
pn python-psyco <none> (no description available)
pn python-sphinx <none> (no description available)
pn tryton-client | tryton-neso <none> (no description available)
-- Configuration Files:
/etc/trytond.conf [Errno 13] Permission denied: u'/etc/trytond.conf'
-- no debconf information
--- End Message ---
--- Begin Message ---
* Betr.: " Bug#639184: tryton-server: Does not listen on IPv4 if
"net.ipv6.bindv6only = 1"" (Wed, 24 Aug 2011 22:02:48 +0200):
Hi Michael,
> If the sysctl setting "net.ipv6.bindv6only = 1" is present on a system,
> it's required for a daemon who is interested in accepting both ipv4 and
> ipv6 connection to open two separate sockets.
> tryton-server does only open tcp6 sockets:
>
> % sudo netstat -ntpl |grep python
> tcp6 0 0 :::8070 :::*
> LISTEN 12368/python
> tcp6 0 0 :::8071 :::*
> LISTEN 12368/python
IMHO the setting "net.ipv6.bindv6only = 1" explicitly says to only bind to
ipv6 ports. Incoming ipv4 packets on a ipv6 port can be mapped to ipv6 via the
v4-mapped-on-v6 address type, if the program supports it
(http://www.kernel.org/doc/man-pages/online/pages/man7/ipv6.7.html).
This seems to be done by the Tryton server, but I am not absolutely sure about
this.
Anyway if you wish the Tryton server to open an ipv4 port, you can do this just
by setting
interface = 0.0.0.0
in trytond.conf.
So it seems to me, that this is a configuration issue and I will close this
bug. Please feel free to reopen in case the explanation above didn't meet your
question.
--
Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg
Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
signature.asc
Description: PGP signature
--- End Message ---