[PC周辺] VMware Workstation 4.5.3 build-19414 + vmware-any-any-update109 + Linux 2.6.21 + module-init-tools 3.3-pre11-1 (20070616)

という組合せの時の話.

vmware-config.pl が insmod をたたくのであるが, どうやら fullpath でたたかないと SEGV (Segmentation fault) で落ちるらしい.

とりあえず <URL:http://www.vmware.com/community/thread.jspa?messageID=650674&#650674> を参考に

\--- vmware-config.pl    2007/06/16 02:35:24     1.1
+++ vmware-config.pl    2007/06/16 02:47:24
@@ -933,9 +933,10 @@
  sub check_answer_binpath {
   my $answer = shift;
   my $source = shift;
+  my $fullpath = internal_which($answer);

-  if (not (internal_which($answer) eq '')) {
-    return $answer;
+  if ($fullpath ne '') {
+    return $fullpath;
   }

   if ($source eq 'user') {

みたいな patch をあてて対応.

<URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425458> によると,すぐに Debian の方で対応されてしまいそう.

追記

module-init-tools 3.3-pre11-2 で直った模様.

module-init-tools (3.3-pre11-2) unstable; urgency=high

  * New patch insmod-segv: prevents insmod from segfaulting if called without
    an explicit path, courtesy of Mikko Ylinen. (Closes: #425458)

既に 3.3-pre11-3 まで出てます.ちなみに 3.3-pre11-2 で modutils との compatibility が無くなった模様 (modutils と conflict を起す).

関連リンク
参照リンク


Last-modified: Tue Jun 26 15:03:18 +0900 2007

全インデックス