Bug 115257 - ial cannot be stopped
Summary: ial cannot be stopped
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: Beta 4
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Forgotten User ZhJd0F0L3x
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 97395
  Show dependency treegraph
 
Reported: 2005-09-05 07:20 UTC by Forgotten User ZhJd0F0L3x
Modified: 2007-06-05 11:20 UTC (History)
2 users (show)

See Also:
Found By: Component Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User ZhJd0F0L3x 2005-09-05 07:20:15 UTC
due to 2 bugs in the initscript, ial cannot be stopped.
Comment 1 Forgotten User ZhJd0F0L3x 2005-09-05 07:20:55 UTC
i am fixing it right now
Comment 2 Forgotten User ZhJd0F0L3x 2005-09-05 07:39:14 UTC
fixed package submitted to autobuild. Patch is trivial:

seife@strolchi:/tmp> cat ial-initscript-fix.diff
--- ial 2005-09-05 07:24:08.000000000 +0200
+++ /etc/init.d/ial     2005-09-05 07:28:09.000000000 +0200
@@ -36,7 +36,7 @@
 # Parameters (startup)
 IALDAEMON_PARA=""
 IALDAEMON_PIDDIR="/var/run/ial"
-IALDAEMON_PID=$IALDAEMON_PIDDIR/pid
+IALDAEMON_PID=$IALDAEMON_PIDDIR/iald.pid
 DBUSDAEMON_PIDDIR="/var/run/dbus"
 DBUSDAEMON_PID=$DBUSDAEMON_PIDDIR/pid

@@ -51,7 +51,7 @@
                 mkdir -p $IALDAEMON_PIDDIR
         fi
         if [ -e $IALDAEMON_PID ]; then
-               if checkproc -p $IALDAEMON_PID &> /dev/null ; then
+               if checkproc -p $IALDAEMON_PID $IALDAEMON_BIN &> /dev/null ; then
                         echo -n "IAL already started. Not starting."
                        rc_status -v
                        rc_exit

Timo: beer on Wednesday ;-)