Your message dated Wed, 17 Jun 2009 13:04:00 +0000
with message-id <[email protected]>
and subject line Bug#492138: fixed in rsync 3.0.6-1
has caused the Debian Bug report #492138,
regarding rsync init script status action
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
492138: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492138
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsync
Version: 3.0.3-1
Severity: normal
Tags: patch

The rsync init script could really use a 'status' action, as defined in
the LSB specification [1].  Such an action allows a system administrator
to poll the service's init script and retrieve the status (running or
not) of the daemon.

Recently, a new function, status_of_proc(), was added
to /lib/lsb/init-functions that makes this relatively trivial.  I've
attached a patch that adds this functionality.

[1] 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
-- 
:-Dustin

Dustin Kirkland
Ubuntu Server Developer
Canonical, LTD
[email protected]
GPG: 1024D/83A61194
diff -u rsync-3.0.3/debian/control rsync-3.0.3/debian/control
--- rsync-3.0.3/debian/control
+++ rsync-3.0.3/debian/control
@@ -8,7 +8,7 @@
 
 Package: rsync
 Architecture: any
-Depends: ${shlibs:Depends}, lsb-base (>= 3.0), base-files (>= 4.0.1), sysv-rc (>= 2.86.ds1-14.1ubuntu2)
+Depends: ${shlibs:Depends}, lsb-base (>= 3.2-14), base-files (>= 4.0.1), sysv-rc (>= 2.86.ds1-14.1ubuntu2)
 Suggests: openssh-client, openssh-server
 Description: fast remote file copy program (like rcp)
  rsync is a program that allows files to be copied to and from remote
diff -u rsync-3.0.3/debian/init.d rsync-3.0.3/debian/init.d
--- rsync-3.0.3/debian/init.d
+++ rsync-3.0.3/debian/init.d
@@ -144,9 +144,12 @@
             [ "$VERBOSE" != no ] && log_warning_msg "rsync daemon not enabled in /etc/default/rsync, not starting..."
         fi
 	;;
+  status)
+	status_of_proc -p /var/run/rsync.pid "$DAEMON" rsync && exit 0 || exit $?
+	;;
 
   *)
-	echo "Usage: /etc/init.d/rsync {start|stop|reload|force-reload|restart}"
+	echo "Usage: /etc/init.d/rsync {start|stop|reload|force-reload|restart|status}"
 	exit 1
 esac
 

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: rsync
Source-Version: 3.0.6-1

We believe that the bug you reported is fixed in the latest version of
rsync, which is due to be installed in the Debian FTP archive:

rsync_3.0.6-1.diff.gz
  to pool/main/r/rsync/rsync_3.0.6-1.diff.gz
rsync_3.0.6-1.dsc
  to pool/main/r/rsync/rsync_3.0.6-1.dsc
rsync_3.0.6-1_amd64.deb
  to pool/main/r/rsync/rsync_3.0.6-1_amd64.deb
rsync_3.0.6.orig.tar.gz
  to pool/main/r/rsync/rsync_3.0.6.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Slootman <[email protected]> (supplier of updated rsync package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 17 Jun 2009 13:43:12 +0200
Source: rsync
Binary: rsync
Architecture: source amd64
Version: 3.0.6-1
Distribution: unstable
Urgency: low
Maintainer: Paul Slootman <[email protected]>
Changed-By: Paul Slootman <[email protected]>
Description: 
 rsync      - fast remote file copy program (like rcp)
Closes: 472767 476368 492138 520330
Changes: 
 rsync (3.0.6-1) unstable; urgency=low
 .
   * new upstream release.
   * Manpage now states that MD5 is used for protocol version 30 and higher.
     closes:#520330
   * Updated to standards version 3.8.2. Added debian/README.source .
   * Added lintian override for embedded-zlib, as this is a modified version
     optimized for the rsync protocol. I.e. the standard zlib version will not
     work as well.
   * Added a 'status' option to the init.d script.
     closes:#492138
   * Manpage now declares --delete-during to be the default in the summary.
     closes:#472767,#476368
Checksums-Sha1: 
 0c10463e4358223f2108a53df01648ce9e7a818c 940 rsync_3.0.6-1.dsc
 8853dfd291b3850aafa60169d2eea8601498f713 778927 rsync_3.0.6.orig.tar.gz
 9264dc9404ff7adb683301c99da264380c417671 18663 rsync_3.0.6-1.diff.gz
 beeb542a4b17f5e504ccfee9eb4e7eb09065e57f 355374 rsync_3.0.6-1_amd64.deb
Checksums-Sha256: 
 7b7b855b82e57546288706cb2d0009c62efa8a2da882db2fdfb4bdd2dd4b76e7 940 
rsync_3.0.6-1.dsc
 33cc969364cb66b3e345fa7db2c651a8e07de0e58743ec03899c4ba86953e1b3 778927 
rsync_3.0.6.orig.tar.gz
 a60490124fea71debc93c37fc3ef82b82838ef643c764a3711f30d777cf697e9 18663 
rsync_3.0.6-1.diff.gz
 bb6a5fe82a4a142a3847df4234ff4244f6695d53d9c54630bb6da7f5c2bdbcc7 355374 
rsync_3.0.6-1_amd64.deb
Files: 
 fc7c85b03654387a6a2546bc501d0dd7 940 net optional rsync_3.0.6-1.dsc
 e9865d093a18e4668b9d31b635dc8e99 778927 net optional rsync_3.0.6.orig.tar.gz
 e17d2df70328cacf7026568069bb4979 18663 net optional rsync_3.0.6-1.diff.gz
 0775cf1f560b30a562fcdb29c2c84083 355374 net optional rsync_3.0.6-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKOOeUutvvqbTW3hMRAk0QAJ4oxwtqwGax2yjqXmGuZaK5Ijs0+ACfU0vu
vhR1uoUKwN5farEL+UR1xnA=
=/e18
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to