#1 LCDd hangs Fedora Core 2 during boot

closed
nobody
None
5
2009-03-08
2004-08-23
Matt Merkey
No

The init script fails to return it's status while
booting in Fedora Core 2. Fedora just sits there
forever waiting for LCDd to say that it has started,
but it never does. It does start, it just doesn't tell
Fedora that it has. Thankfully, SSHd starts before LCDd
does, so I can login remotely and stop LCDd, which then
allows the boot up process to continue. I'm running the
stock RedHat init script, and everything looks good to
me. It just won't return it's status on the start-up
action. It will however return it's status when
stopping. I'm stumped.

Discussion

  • Matt Merkey
    Matt Merkey
    2004-08-23

    Logged In: YES
    user_id=332787

    My LCDd init script, located in /etc/rc.d/init.d

    ------------------------------------------------------------------------

    #!/bin/sh
    # This is the LCDd init-script for RPM based (RedHat,
    Mandrake) systems
    #
    # Copyright (C) 2001 Rene Wagner <reenoo@gmx.de>
    # 2001 Guillaume Filion <gfk@logidac.com>
    #
    # This script is free software; you can redistribute it
    and/or modify
    # it under the terms of the GNU General Public License as
    published by
    # the Free Software Foundation; either version 2 of the
    License, or
    # any later version.
    #
    # This script is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public
    License
    # along with this file; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307
    #
    #
    # chkconfig: 345 70 21
    # description: LCDd(8) is the LCDproc server used for
    displaying text and other data to LCDs. \ # Apart from the main client lcdproc(1) there are various
    clients. \ # See http://lcdproc.omnipotent.net for details.
    # processname: LCDd
    # pidfile: /var/run/LCDd.pid
    # config: ${prefix}/etc/LCDd.conf

    # Source function library.
    . /etc/rc.d/init.d/functions

    # Source networking configuration.
    . /etc/sysconfig/network

    # Check that networking is up.
    if [ ${NETWORKING} = "no" ]; then
    exit 0
    fi

    RETVAL=0

    prefix=/usr/local
    exec_prefix=${prefix}
    bindir=${exec_prefix}/bin
    sbindir=${exec_prefix}/sbin
    etc=/etc

    LCDd=${sbindir}/LCDd
    configfile=${etc}/LCDd.conf

    [ -x ${LCDd} ] || exit 0

    start() {
    echo -n "Starting up LCDd: "
    daemon ${LCDd} -c ${configfile}
    RETVAL=$?
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/LCDd
    echo
    }

    stop() {
    echo -n "Shutting down LCDd: "
    killproc LCDd
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/LCDd
    echo
    }

    dostatus() {
    status LCDd
    RETVAL=$?
    }

    restart() {
    stop
    start
    RETVAL=$?
    }

    condrestart() {
    [ -e /var/lock/subsys/LCDd ] && restart || :
    }

    # See how we were called.
    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    status)
    dostatus
    ;;
    restart)
    restart
    ;;
    condrestart)
    condrestart
    ;;
    *)
    echo "Usage: $0 {start|stop|status|restart|condrestart}"
    exit 1
    esac

    exit $RETVAL

     
  • Logged In: YES
    user_id=1429575

    Don't know if you still have the same issue, but if so,
    maybe this helps.

    I've got the currently latest CSV version working by
    settings the following configuration options in the
    LCDd.conf file:

    [server]
    ReportToSyslog=yes
    ForeGround=no

     
  • Markus Dolze
    Markus Dolze
    2009-03-08

    Closing this bug -- it's very, very old, and is believed to
    have been fixed in recent versions.

    If this is NOT the case, please re-open the bug and
    provide additional details.

     
  • Markus Dolze
    Markus Dolze
    2009-03-08

    • status: open --> closed