Package: pygopherd
Version: 2.0.18.3+nmu2
Severity: normal

I am trying to run a gopher server on IPv6 (don’t ask me why :), but it
does look like pygopherd cannot bind on an IPv6 address.
o
In /etc/pygopherd/pygopherd.conf I tried the following setup, but none
work:
         interface = serveur.LT-P.net
         interface = ::1
         interface = ::
         interface = [::1]
         interface = [::]

___
# service pygopherd start
Starting Python Gopher Server: Traceback (most recent call last):
  File "/usr/sbin/pygopherd", line 30, in <module>
    s = initialization.initeverything(conffile)
  File "/usr/lib/python2.7/dist-packages/pygopherd/initialization.py",
line 205, in initeverything
    s = getserverobject(config)
  File "/usr/lib/python2.7/dist-packages/pygopherd/initialization.py",
line 134, in getserverobject
    GopherRequestHandler)
  File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
    self.server_bind()
  File "/usr/lib/python2.7/dist-packages/pygopherd/initialization.py",
line 104, in server_bind
    servertype.server_bind(self)
  File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -9] Address family for hostname not supported
___

The expected result is to have pygopherd binding on IPv6 and accepting
connections.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pygopherd depends on:
ii  logrotate         3.8.1-1
ii  mime-support      3.51-1
ii  python            2.7.2-9
ii  python-central    0.6.17
ii  python-simpletal  4.1-7

pygopherd recommends no packages.

pygopherd suggests no packages.

-- Configuration Files:
/etc/pygopherd/pygopherd.conf changed:
[pygopherd]
detach = yes
pidfile = /var/run/pygopherd.pid
servername = serveur.LT-P.net
interface = ::1
port = 70
servertype = ForkingTCPServer
timeout = 60
abstract_headers = on
abstract_entries = always
tracebacks = yes
usechroot = yes
setuid = gopher
setgid = gopher
root = /var/gopher
mimetypes = ./conf/mime.types:/etc/pygopherd/mime.types:/etc/mime.types
encoding = mimetypes.encodings_map.items() + \
          {'.bz2' : 'bzip2',
           '.tal': 'tal.TALFileHandler'
          }.items()
[logger]
logmethod = syslog
priority = LOG_INFO
facility = LOG_LOCAL3
[GopherEntry]
defaultmimetype = text/plain
mapping = [['text/html', 'h'],
        ['text/.+', '0'],
        ['application/mac-binhex40', '4'],
        ['audio/.+', 's'],
        ['image/gif', 'g'],
        ['image/.+', 'I'],
        ['application/gopher-menu', '1'],
        ['application/gopher\+-menu', '1'],
        ['multipart/mixed', 'M'],
        ['application/.+', '9'],
        ['.*', '0']
        ]
eaexts = {'.abstract' : 'ABSTRACT',
          '.keywords' : 'KEYWORDS',
          '.ask' : 'ASK',
          '.3d' : '3D'}
[handlers.HandlerMultiplexer]
handlers = [url.HTMLURLHandler, gophermap.BuckGophermapHandler,
            mbox.MaildirFolderHandler, mbox.MaildirMessageHandler,
            UMN.UMNDirHandler, html.HTMLFileTitleHandler,
            mbox.MBoxMessageHandler, mbox.MBoxFolderHandler,
            file.FileHandler]
[handlers.file.CompressedFileHandler]
decompressors = {}
decompresspatt = .*
           
[handlers.dir.DirHandler]
ignorepatt = 
/.cap$|/lost\+found$|/lib$|/bin$|/etc$|/dev$|~$|/\.cache|/\.forward$|/\.message$|/\.hushlogin$|/\.kermrc$|/\.notar$|/\.where$|/veronica.ctl$|/robots.txt$|/nohup.out$|/gophermap$|\.abstract$|\.keyboards$|\.ask|\.3d$|~$
cachetime = 180
cachefile = .cache.pygopherd.dir
[handlers.UMN.UMNDirHandler]
extstrip = nonencoded
[handlers.ZIP.ZIPHandler]
enabled = false
pattern = \.zip$
[protocols.ProtocolMultiplexer]
protocols = [wap.WAPProtocol, http.HTTPProtocol, 
             gopherp.GopherPlusProtocol, rfc1436.GopherProtocol]
[protocols.gopherp.GopherPlusProtocol]
admin = Unconfigured Pygopherd Admin <pygopherd@nowhere.nowhere>
[protocols.http.HTTPProtocol]
iconmapping = {'h' : 'text.gif',
            '0' : 'text.gif',
            '4' : 'binhex.gif',
            's' : 'sound1.gif',
            'g' : 'image3.gif',
            'I' : 'image3.gif',
            'M' : 'text.gif',
            '9' : 'binary.gif',
            '1' : 'folder.gif',
            '7' : 'folder.gif',
            'i' : 'blank.gif'}
pagetopper = Welcome to Gopherspace!  You are browsing Gopher through
   a Web interface right now.  You can use most browsers or Gopher
   clients to browse Gopher natively.  If your browser supports it,
   <A HREF="GOPHERURL">try clicking here</A> to see this page
   in Gopher directly.  To find Gopher browsers,
   <A HREF="http://quux.org:70/Software/Gopher/Downloads/Clients";>click
   here</A>.<HR>
[protocols.wap.WAPProtocol]
waptop = /wap


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to