While checking the active services with ltspcfg, dhcp is shown as not running, 
although I know it is active (I get a lease, when asking for it with another 
computer e.g.):

ltspcfg:
Service    Installed   Enabled   Running   Notes
dhcpd      Yes         Yes       no        Version 3

# rcdhcpd status
Checking for DHCP server:                                             running


Is this a bug for opensuse(-10.1)?  Is the problem than maybe in this part of 
the code (opensuse uses /etc/init.d/rc?.d/S??dhcpd):

if( $self->{installed} ){
   1056       my $level = Runlevel::get_configured_level();
   1057       if( -x "/usr/sbin/update-rc.d" ){                   # Debian 
system
   1058         $res = system("(ls /etc/rc$level.d/S??dhcp* 2>&1) 
>/dev/null") ? 0 : 1;
   1059       }
   1060       elsif ( -f "/etc/rc.config" ){
   1061         $res = $self->suse_style_service( "START_DHCPD", "dhcpd" );
   1062       }
   1063       elsif( $self->has_chkconfig() ){
   1064         $res = system( "chkconfig dhcpd" ) ? 0 : 1;
   1065       }
   1066     }
   1067     return( $self->{enabled} = $res );
opensuse support chkconfig as well, but it is an different implementation 
compared to fedora:

# chkconfig dhcpd
dhcpd  on

Hopefully someone can point me in the right direction, to have ltspcfg show 
that dhcpd is running.


-- 
Richard Bos
Without a home the journey is endless

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to