Package: rsync
Subject: /etc/init.d/rsync nice option doesn't work - missing -N
Version: 3.0.3-2
Severity: normal

*** Please type your report below this line ***

If you set $RSYNC_NICE_PARM it ends up as an argument to rsync, instead
of setting the nice value.

Here's a fix:

--- rsync~      2009-09-22 11:36:20.000000000 -0400
+++ rsync       2009-09-22 11:36:20.000000000 -0400
@@ -68,7 +68,7 @@
             fi
             if start-stop-daemon --start --quiet --background \
                 --pidfile /var/run/rsync-debian.pid --make-pidfile \
-                $RSYNC_NICE_PARM --exec /usr/bin/rsync \
+                -N $RSYNC_NICE_PARM --exec /usr/bin/rsync \
                 -- --no-detach --daemon --config "$RSYNC_CONFIG_FILE"
$RSYNC_OPTS
             then
                 rc=0


-- System Information:
Debian Release: 5.0.3
   APT prefers stable
   APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsync depends on:
ii  base-files                    5lenny4    Debian base system
miscellaneous f
ii  libacl1                       2.2.47-2   Access control list shared
library
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libpopt0                      1.14-4     lib for parsing cmdline
parameters
ii  lsb-base                      3.2-20     Linux Standard Base 3.2
init scrip

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client                1:5.1p1-5  secure shell client, an
rlogin/rsh
ii  openssh-server                1:5.1p1-5  secure shell server, an
rshd repla

-- no debconf information

--
Tom Vier <t...@triadsys.com>
Sysadmin - Support Technician
Triad Systems Engineering, Inc.


--
--
Tom Vier <t...@triadsys.com>
Sysadmin - Support Technician
Triad Systems Engineering, Inc.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to