Maximilian H.
2016-Jan-22 12:32 UTC
tinc 1.0.26 on Ubuntu 15.10 x64 sometimes crashes on startup
Hello, on an x64 ubuntu 15.10 desktop tinc 1.0.26 sometimes crashes on startup of the machine. eth0 (via good old cat6 cable, no wireless) is configured to use dhcp. The crash does not happen often, I have seen it in total maybe 2 or 3 times since installing 15.10 while it was still in alpha ( July 2015 ) until today. The desktop is not shut down very often, maybe once a week or every two weeks or even in longer intervals. I then have to restart tinc /etc/init.d/tinc restart After that tinc will run fine for days and weeks and months without crashing. If I would have to guess I would bet on some race condition on startup, maybe tinc is started before there are any configured network interfaces at all ? Is that even possible ? Thanks BR Max. # apt-cache showpkg tinc Package: tinc Versions: 1.0.26-1 (/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_universe_binary-amd64_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_universe_binary-amd64_Packages MD5: 927734357d793d7ebde564ee023d38d2 Description Language: en File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_universe_i18n_Translation-en MD5: 927734357d793d7ebde564ee023d38d2 Reverse Depends: tinc:i386,tinc Dependencies: 1.0.26-1 - libc6 (2 2.15) liblzo2-2 (0 (null)) libssl1.0.0 (2 1.0.0) zlib1g (2 1:1.1.4) tinc:i386 (0 (null)) Provides: 1.0.26-1 - Reverse Provides: # cat /etc/issue Ubuntu 15.10 \n \l # cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
Guus Sliepen
2016-Jan-22 14:04 UTC
tinc 1.0.26 on Ubuntu 15.10 x64 sometimes crashes on startup
On Fri, Jan 22, 2016 at 01:32:08PM +0100, Maximilian H. wrote:> on an x64 ubuntu 15.10 desktop tinc 1.0.26 sometimes crashes on startup > of the machine. eth0 (via good old cat6 cable, no wireless) is > configured to use dhcp. The crash does not happen often, I have seen it > in total maybe 2 or 3 times since installing 15.10 while it was still in > alpha ( July 2015 ) until today. The desktop is not shut down very > often, maybe once a week or every two weeks or even in longer intervals.It would be very helpful if you have some logs of what is happening during startup. You can edit /etc/default/tinc, and ensure the following line is present, without a # in front: EXTRA="-d" This will enable some debugging. You can change it into "-d5" for a lot more debugging messages. But in any case, things should be logged to /var/log/syslog or /var/log/messages. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160122/11c008dc/attachment-0001.sig>
Maximilian H.
2016-Jan-26 11:30 UTC
tinc 1.0.26 on Ubuntu 15.10 x64 sometimes crashes on startup
I have enabled debugging now as per your suggested instructions. If and when I'll get a new crash I'll send you the debug info. BR Max.>> on an x64 ubuntu 15.10 desktop tinc 1.0.26 sometimes crashes on startup >> of the machine. eth0 (via good old cat6 cable, no wireless) is >> configured to use dhcp. The crash does not happen often, I have seen it >> in total maybe 2 or 3 times since installing 15.10 while it was still in >> alpha ( July 2015 ) until today. The desktop is not shut down very >> often, maybe once a week or every two weeks or even in longer intervals. > > It would be very helpful if you have some logs of what is happening > during startup. You can edit /etc/default/tinc, and ensure the following > line is present, without a # in front: > > EXTRA="-d" > > This will enable some debugging. You can change it into "-d5" for a lot > more debugging messages. But in any case, things should be logged to > /var/log/syslog or /var/log/messages. > > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >