Bug 115257

Summary: ial cannot be stopped
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Component: Mobile DevicesAssignee: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: aj, behlert
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 97395    

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 ;-)