/etc/init.d/sobby stop removes /var/run/rsync.pid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server papercuts |
Fix Released
|
Undecided
|
Chuck Short | ||
sobby (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sobby
After stopping sobby the file /var/run/rsync.pid is removed:
do_stop() {
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_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=
LANG=ca_ES.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: sobby
Uname: Linux 2.6.31-20-generic i686
Changed in server-papercuts: | |
status: | New → Fix Released |
milestone: | none → lucid-beta-2 |
Changed in server-papercuts: | |
assignee: | nobody → Chuck Short (zulcss) |
Confirmed in lucid.