Package: rsync
Version: 3.0.7-1ubuntu1
Severity: minor
Tags: patch

The rsync init script only warns when the RSYNC_NICE parameter is higher than 
99 whereas the maximum nice level is 19.

Thanks to Simon Deziel for initial report and patch to Ubuntu (LP: #582265)


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-22-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsync depends on:
ii  base-files             5.0.0ubuntu20     Debian base system miscellaneous f
ii  libacl1                2.2.49-2          Access control list shared library
ii  libc6                  2.11.1-0ubuntu7.1 Embedded GNU C Library: Shared lib
ii  libpopt0               1.15-1            lib for parsing cmdline parameters
ii  lsb-base               4.0-0ubuntu8      Linux Standard Base 4.0 init scrip

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client          1:5.3p1-3ubuntu4 secure shell (SSH) client, for sec
ii  openssh-server          1:5.3p1-3ubuntu4 secure shell (SSH) server, for sec

-- no debconf information
--- debian/init.d.orig  2010-06-21 20:45:14.000000000 +0100
+++ debian/init.d       2010-06-21 20:48:09.837777603 +0100
@@ -43,7 +43,7 @@
     esac
     case "x$RSYNC_NICE" in
        x[0-9])         RSYNC_NICE_PARM="--nicelevel $RSYNC_NICE";;
-       x[1-9][0-9])    RSYNC_NICE_PARM="--nicelevel $RSYNC_NICE";;
+       x1[0-9])        RSYNC_NICE_PARM="--nicelevel $RSYNC_NICE";;
        x)              ;;
        *)              log_warning_msg "Value of RSYNC_NICE in 
$RSYNC_DEFAULTS_FILE must be a value between 0 and 19 (inclusive);"
                        log_warning_msg "ignoring RSYNC_NICE now."

Reply via email to