[Bug 546977] New: /etc/init.d/rsync restart only stops the service when client connected
http://bugzilla.novell.com/show_bug.cgi?id=546977 Summary: /etc/init.d/rsync restart only stops the service when client connected Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mt@novell.com QAContact: qa@suse.de Found By: --- A "/etc/init.d/rsync restart" stops but does not start the service again when there is a client currently connected / syncing. The startproc call in start section misinterprets the process that is serving the client as the daemon. No further/new connections are possible after restart => Major. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 zhu rensheng <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |crrodriguez@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=546977#c1 --- Comment #1 from Cristian Rodríguez <crrodriguez@novell.com> 2009-10-15 05:22:49 MDT --- Marius... do you mean /etc/init.d/rsyncd ? /etc/init.d/rsync does not exists.... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=546977#c2 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|/etc/init.d/rsync restart |/etc/init.d/rsyncd restart |only stops the service when |only stops the service when |client connected |client connected --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2009-10-26 09:22:22 MDT --- Yes, /etc/init.d/rsyncd, sorry! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=546977#c3 --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2009-10-26 09:27:37 MDT --- The workaround bellow seems to work, but I didn't tested it much. --- rsyncd.old 2009-10-26 16:25:28.000000000 +0100 +++ rsyncd 2009-10-26 16:25:16.000000000 +0100 @@ -65,7 +65,7 @@ # NOTE: startproc return 0, even if service is # already running to match LSB spec. - startproc -p $RSYNCD_PID -t 1 $RSYNCD_BIN --daemon + checkproc -p $RSYNCD_PID $RSYNCD_BIN || $RSYNCD_BIN --daemon # Remember status and be verbose rc_status -v @@ -75,7 +75,7 @@ ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. - killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN + killproc -p $RSYNCD_PID $RSYNCD_BIN # Remember status and be verbose rc_status -v -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@novell.com AssignedTo|crrodriguez@novell.com |puzel@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546977 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: http://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=546977 https://bugzilla.novell.com/show_bug.cgi?id=546977#c4 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@medozas.de --- Comment #4 from Jan Engelhardt <jengelh@medozas.de> 2010-09-19 10:53:53 UTC --- *** Bug 632916 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=632916 -- 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=546977 https://bugzilla.novell.com/show_bug.cgi?id=546977#c5 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puzel@novell.com Component|Other |Network AssignedTo|puzel@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 11.1 |openSUSE 11.3 --- Comment #5 from Jan Engelhardt <jengelh@medozas.de> 2010-09-19 11:13:10 UTC --- To fix the restart problem, only -TERM needs to be removed. Using checkproc is pointless — the comment above it already says why. Second, I also noticed that "reload" kills the daemon, because it does not handle HUP. This needs to be accounted for in the rc script. See SR#48487. -- 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=546977 https://bugzilla.novell.com/show_bug.cgi?id=546977#c6 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Petr Uzel <puzel@novell.com> 2010-09-20 14:35:08 UTC --- Jan, thanks for the fix - I have accepted the request and resubmitted to Factory. -- 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=546977 https://bugzilla.novell.com/show_bug.cgi?id=546977#c Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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.
participants (1)
-
bugzilla_noreply@novell.com