FLEXnet on Ubuntu 12.04
Ältere Kommentare anzeigen
Recently I upgraded our license server to Ubuntu 12.04. Following this upgrade at boot the license manager fails to start. Interestingly, in the syslog there following relevant entry appears:
Jan 29 20:08:07 localhost kernel: [ 2056.080552] non-matching-uid
symlink following attempted in sticky world-writable directory by
lmboot_TMW (fsuid 0 != 1000)
The error message looks like a security error of some sort. The closest thing I can find is discussed over at:
As far as I understand at boot the system launches
/etc/init.d/flexnet
which is trying to launch
/etc/lmboot_TMW -u [local user name]
If I log in as [local user name] I can manually launch
/etc/lmboot_TMW
Antworten (3)
Fernando
am 26 Mär. 2013
0 Stimmen
To solve this issue make the directory /var/tmp owned by the user you are using to run the license manager.
Steve
am 26 Apr. 2013
You can also add kernel.yama.protected_sticky_symlinks = 0 to /etc/sysctl.conf so that you revert to previous release behavior.
echo "kernel.yama.protected_sticky_symlinks = 0" | sudo tee -a /etc/sysctl.conf
Found at:
Clif Presser
am 20 Jul. 2013
Bearbeitet: Clif Presser
am 20 Jul. 2013
Using a sub-directory of /var/tmp worked for me.
- Create /var/tmp/matlab.
- Set the owner of the directory to your matlab user.
- Make a backup copy of $MATLAB/etc/lmopts.sh
- Edit $MATLAB/etc/lmopts.sh, changing occurrences of /var/tmp to /var/tmp/matlab
The first three steps are:
sudo mkdir /var/tmp/matlab
sudo chown matlab /var/tmp/matlab
sudo cp /PATH/TO/MATLAB/etc/lmopts.sh /PATH/TO/MATLAB/etc/lmopts.sh_bak
So far I've seen no ill effects.
Kategorien
Mehr zu Manage Products finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!