package dante-server
retitle 538008 dante-server: dante won't start if the external interface is not 
up.
severity 538008 normal
thanks

On Wed, Jul 22, 2009 at 01:36:48PM +0100, Victor Pablos Ceruelo wrote:
> Package: dante-server
> Version: 1.1.19.dfsg-3
> Severity: grave
> Justification: renders package unusable
> 
> When the external interface is not up yet (like in wireless connections)
> dante does not start.
> It says "can't find interface" and terminates.

Thanks for your bug report!  Yes, I understand how this could be
a problem for you.

Unfortunately, I don't think this is exactly a bug :>  It is more or
less the way that dante has been designed to work.  As part of its
startup routine, the dante server tries to figure out some information
about the system's network configuration so that it can bind properly to
the addresses it wants, thus speeding up the actual forming of
connections later on when the clients request it.  In this process, the
server tries to figure out the IP addresses of the interfaces it should
send out data on, and fails if it can't.

I realize that this is a bit inconvenient when interfaces come and go,
but changing it might require major changes in dante's mode of
operation.  What you describe is not exactly a crash - it's more like
the server detects what it thinks is *incorrect* configuration, and it
refuses to start up with it :>  Yes, I know that it is not "incorrect"
in your point of view - and you're sort of right, it's just that dante
doesn't work this way :)

Could you try to set things up so that the dante server starts when the
interface comes up, and stops when the interface comes down?  Something
like "up invoke-rc.d --force dante-server start" and
"down invoke-rc.d --force dante-server stop" in /etc/network/interfaces,
and disabling the dante-server automatic start-up at runlevels 3, 4, 5?

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net    r...@space.bg    r...@freebsd.org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I've heard that this sentence is a rumor.

Attachment: pgpQbviFt8Jum.pgp
Description: PGP signature

Reply via email to