Package: rsync
Version: 3.1.1-3
Severity: normal

The current rsync.service file provided for systemd does not 
refrence options configured in /etc/default/rsync.

Two possible solutions from the Debian systemd Packaging guidlines would be:

1) Make note in the defaults file that these options are not applicable
if rsyncd is managed by systemd and that the user should use the
systemd practice of overriding the ExecStart line via a
/etc/systemd/system/rsync.service.d/local.conf file

2) Have the rsync.service file refrence the defaults file.
-----
[Service]
EnvironmentFile=-/etc/default/rsync
ExecStart=/usr/bin/rsync --daemon --no-detach ${RSYNC_OPTS}
----- 
This solution would still require making note in the defaults file
that only the RSYNC_OPTS varriable would be applicable

IMHO, I think solution one is the best because it is forward looking,
cleaner and just requires a small documentation change that assists users
in knowing that the defaults file is being depricated.

Thanks.

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

Kernel: Linux 3.16.0-4-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/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsync depends on:
ii  base-files  8
ii  libacl1     2.2.52-2
ii  libattr1    1:2.4.47-2
ii  libc6       2.19-18
ii  libpopt0    1.16-10
ii  lsb-base    4.1+Debian13+nmu1

rsync recommends no packages.

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

-- Configuration Files:
/etc/default/rsync changed [not included]

-- no debconf information


-- 
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