View Full Version : FlexNet LM and Fedora >= 16

Mike Grant
05-17-2013, 01:32 PM
I recently ran into a problem with the license manager (used by our IDL installation) when we upgraded the system to Fedora 17. The problem boiled down to the HOSTID not being identified correctly:

root@]# /opt/rsi/idl64/bin/bin.linux.x86_64/lmhostid
lmhostid - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or
Macrovision Corporation. All Rights Reserved.
The FLEXlm host ID of this machine is ""

Since this install is rather old, I tried updating to the latest lmgrd from the download site (lmgrd-x64_lsb- and was still seeing the same errors. I also tried lmadmin-i86_lsb-11_11_1_1.bin (segfaulted when trying to use our license file). Kudos to Flexera for making these easy for end-users to get and backwards compatible, incidentally!

stracing the binary showed that it was looking only at ethX devices when trying to identify the MAC address of the system. Since Fedora 16, ethernet devices are renamed to emX or pXpNNN (see [1]) and this was messing things up. I found a helpful workaround [2] which shows how to disable the device renaming, so we're back on the road.

I'm posting all this partly to help others but also on the offchance that someone from the developer team looks in. If so, it would be lovely if the additional device names could be added to the hostid routine so that this workaround isn't necessary - should be a quick job.

I'm also trying to raise this via the official route, but since the IDL developers are the supported licensee of lmgrd, I have no way to be sure that it gets into a proper Flexera ticket :)



[1] http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/appe-Consistent_Network_Device_Naming.html
[2] http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/207940.aspx