Hi all,

This is a bit of an edge case but on Debian 7 (not sure about other Distributions), if you mess up the /etc/network/interfaces file you can segfault rdairplay (and probably others).

To be specific:

I had a static ip in /etc/network/interfaces and I changed it to dhcp and REM'ed out the static info:

e.g.

<snip>
iface eth0 inet static
<snip>

Being an idiot I changed it to:

iface eth0 inet dhcp #static

It slipped my mind that you have to REM whole lines or not at all.

Anyway rebooted and everything seemed normal, I had a DHCP address (probably via Debian network manager).

Loaded up rdairplay and I had no log loaded, blank sound panels and what looked like default settings. All you have to do to segfault is query the DB, I clicked Main Log -> Select Log and away it went.

This is a bit unfair to Riv as obviously it was my screw up. On subsequent reboots MySQL wouldn't always start so you got the familiar unable to start daemons error rather than a seg fault.

Sending this info to the list in case anyone else has odd problems or whether there is an easy error handling work around patch that can be applied (I'm assuming Riv doesn't read the host name due to invalid network config and as such can't connect to MySQL properly).

Regards,

Wayne

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to