Hey, so I’ve been using Hamachi with Haguichi on Linux (Mint) for some time, and for the most part it works fine; however, hamachi will occasionally disconnect and then ask for my password to restart the service. This seems to happen kind of irregularly, and some days it barely happens, while others it seems to happen every 5 minutes.
After some search, I only managed to find a couple of old results - with no solutions - but which suggested it was a memory leak issue. I checked the systemctl logs and it seems like that might be the case:
systemd-coredump[96279]: Process 93832 (hamachid) of user 0 dumped core.
#11 0x000000000040954f n/a (hamachid + 0x954f)
#12 0x0000000000462f71 n/a (hamachid + 0x62f71)
#13 0x0000000000464d10 n/a (hamachid + 0x64d10)
#14 0x00000000004afe24 n/a (hamachid + 0xafe24)
#15 0x00000000004e816c n/a (hamachid + 0xe816c)
#16 0x00000000005005d4 n/a (hamachid + 0x1005d4)
#17 0x000000000050eb48 n/a (hamachid + 0x10eb48)
#18 0x0000000000446c9e n/a (hamachid + 0x46c9e)
#19 0x00000000004bebe2 n/a (hamachid + 0xbebe2)
#20 0x000000000040709e n/a (hamachid + 0x709e)
#23 0x00000000004076cf n/a (hamachid + 0x76cf)
I guess my question is, is this a known issue? Does anyone else have the same problem and/or know a fix? And, if not, does anyone know of a good alternative that is available on both Linux and Windows (I’m connecting to people on Windows)?
Thanks in advance.
Unfortunately that trace isn’t very useful due to the lack of debug symbols. One would have to decompile and analyze the binary to really gather some information as to how that happened, and it’s probably against their TOS.
The GUI is probably trying to restart the daemon for you which causes this, because that’s not standard behaviour. You can probably fix that but just allowing your user to do that passwordless, although it’s dumb:
# /etc/polkit-1/rules.d/50-hamachi.rules polkit.addRule(function (action, subject) { if ( subject.user === "YOURUSERNAMEHERE" && action.id === "org.freedesktop.systemd1.manage-units" && action.lookup("unit") === "logmein-hamachi.service" ) { return polkit.Result.YES; } })
You’ll want to change your username in there and also adjust the service name if it’s different.