Ubuntu 12.04 LTSにTeamViewer8をインストールしたところ、lsb_releaseのクラッシュが多発するようになった。
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1094218
に対策が書かれており、/opt/teamviewer8/tv_bin/script/tvw_mainのfunction LogStartupInfo()内の記述を以下の通りに変更したところ、クラッシュは発生しなくなった。
変更前:
if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
lsb_release -a
make_path "$WINEPREFIX/drive_c"
lsb_release -ds > "$WINEPREFIX/drive_c/distrelease"
else
変更後:
if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
#lsb_release -a
make_path "$WINEPREFIX/drive_c"
cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d= | sed 's/"//g' > $WINEPREFIX/drive_c/distrelease"
else
0 件のコメント:
コメントを投稿