Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18372 - openmosix init script assumes omdiscd in /sbin
Summary: openmosix init script assumes omdiscd in /sbin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-28 09:35 UTC by Jeff Ames
Modified: 2003-03-31 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Ames 2003-03-28 09:35:31 UTC
The /etc/init.d/openmosix script (from openmosix-user-0.2.4-r5) contains this
section:

  if [ $AUTODISC -eq 1  ]; then
      if [ ! -x /sbin/omdiscd ]; then
          eerror "openMosix: omdiscd not installed, exiting"
          exit
      fi
  fi

But omdiscd is installed in /usr/sbin by default.


# emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-openmosix-r2 i686 AMD Athlon(tm) XP 2600+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi encode gif imlib java jpeg libg++ libwww mikmod
mmx motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga
truetype xml2 xmms xv zlib gdbm berkdb slang readline gpm tcpd pam perl python
-X -gtk -gnome -kde -gtk2 -alsa crypt ssl -cups -hotplug -opengl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2003-03-28 16:30:34 UTC
You're right, i changed it to /usr/sbin/omdiscd

Thanks for the hint!

Please test and report if it works now.
Comment 2 Jeff Ames 2003-03-30 09:43:43 UTC
omdiscd seems to start without a problem now.

However, I couldn't get openmosix to actually start when omdiscd ran,
until I rebuilt it without the #define ALPHA in autodiscovery/openmosix.c.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2003-03-31 09:33:48 UTC
Ok, I uncommented the lines that remove ALPHA from the sources again and bumped the version to -r6.
Autodiscovery should work again.

Thanks for your help!