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.