Public bug reported:

Binary package hint: sobby

After stopping sobby the file /var/run/rsync.pid is removed:

do_stop() {
        log_daemon_msg "Stopping $PRG"
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
        log_end_msg $?
        rm -f /var/run/rsync.pid
}

It seems that this init file was copied from rsync's. Stopping sobby
could class with a running rsync server, so it would be better to use
$PIDFILE instead:

do_stop() {
        log_daemon_msg "Stopping $PRG"
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
        log_end_msg $?
        rm -f $PIDFILE
}

Please, note that this bug was introduced in Ubuntu since sobby does not
have an init file in Debian.

ProblemType: Bug
Architecture: i386
Date: Thu Mar 25 16:39:27 2010
DistroRelease: Ubuntu 9.10
Package: sobby 0.4.5-1ubuntu1
ProcEnviron:
 LANGUAGE=ca_ES.UTF-8
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: sobby
Uname: Linux 2.6.31-20-generic i686

** Affects: server-papercuts
     Importance: Undecided
         Status: New

** Affects: sobby (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-bug bitesize i386

-- 
/etc/init.d/sobby stop removes /var/run/rsync.pid
https://bugs.launchpad.net/bugs/546990
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to