Package: rsync
Version: 3.1.2-1
Severity: normal
Tags: patch

    The service must be run after the network target, otherwise it can't
bind to only certain IP addresses. The patch is a oneliner (attached).


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.6.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsync depends on:
ii  base-files           9.7
ii  init-system-helpers  1.46
ii  libacl1              2.2.52-3
ii  libattr1             1:2.4.47-2
ii  libc6                2.24-8
ii  libpopt0             1.16-10
ii  lsb-base             9.20161125

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client  1:7.3p1-5
ii  openssh-server  1:7.3p1-5

-- Configuration Files:
/etc/default/rsync changed:
RSYNC_ENABLE=true
RSYNC_OPTS=''
RSYNC_NICE=''
RSYNC_IONICE='-c3'


/etc/rsyncd.conf:
address= 10.42.27.42


-- 
(Not so) Random fortune:
Terrorism isn't a crime against people or property. It's a crime against
our minds, using the death of innocents and destruction of property to
make us fearful.
            -- Bruce Schneier
--- /lib/systemd/system/rsync.service   2014-02-24 19:19:14.000000000 +0100
+++ rsync.service       2017-01-21 13:44:30.185460453 +0100
@@ -1,6 +1,7 @@
 [Unit]
 Description=fast remote file copy program daemon
 ConditionPathExists=/etc/rsyncd.conf
+After=network.target

 [Service]
 ExecStart=/usr/bin/rsync --daemon --no-detach

Reply via email to