[Bug 743562] New: initscript of iscsitarget uses the wrong pid file and cannot stop/restart the ietd process
https://bugzilla.novell.com/show_bug.cgi?id=743562 https://bugzilla.novell.com/show_bug.cgi?id=743562#c0 Summary: initscript of iscsitarget uses the wrong pid file and cannot stop/restart the ietd process Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: stefan.muenkner@mx.uni-saarland.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=472843) --> (http://bugzilla.novell.com/attachment.cgi?id=472843) patch file for iscsitarget init script User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 iscsitarget in /etc/init.d uses PIDFILE=/var/run/iscsi_trgt.pid while ietd writes its pid in: /var/run/ietd.pid therefore /etc/init.d/iscsitarget stop (or restart) fails to stop and restart the ietd. Reproducible: Always Steps to Reproduce: 1. zypper install iscsitarget 2. configure a target 3. start the process : rciscsitarget start 4. restart or stop it: ~ # /etc/init.d/iscsitarget stop redirecting to systemctl ~ # /etc/init.d/iscsitarget status redirecting to systemctl iscsitarget.orig.service - LSB: iSCSI target daemon Loaded: loaded (/etc/init.d/iscsitarget.orig) Active: inactive (dead) CGroup: name=systemd:/system/iscsitarget.orig.service ~ # ps aux | grep ietd root 3443 0.0 0.0 4152 676 ? Ss Jan25 0:00 /usr/sbin/ietd ~ # /etc/init.d/iscsitarget.orig restart redirecting to systemctl ~ # ps aux | grep ietd root 3443 0.0 0.0 4152 676 ? Ss Jan25 0:00 /usr/sbin/ietd ~ # cat /etc/init.d/iscsi_trgt.pid /var/run/iscsi_trgt.pid: No such file or directory ~ # cat /var/run/ietd.pid 3443 Actual Results: ietd still runs (see above) Expected Results: ietd should be stopped (and restarted) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c1
Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c2
Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c3
Stefan Münkner
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c4
--- Comment #4 from Stefan Münkner
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c5
Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c6
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c7
--- Comment #7 from Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c8
--- Comment #8 from Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c9
--- Comment #9 from Lee Duncan
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c10
--- Comment #10 from Stefan Münkner
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c11
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c12
--- Comment #12 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=743562
https://bugzilla.novell.com/show_bug.cgi?id=743562#c14
--- Comment #14 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com