Your message dated Fri, 3 Jul 2020 19:19:13 +0100
with message-id
<cabwkt9ru7p-pp3dmnl1gpn8erbrwghct2bf13clsaugjt7z...@mail.gmail.com>
and subject line rsync init script does not load default file options - debian
8.7
has caused the Debian Bug report #851911,
regarding rsync init script does not load default file options - debian 8.7
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.)
--
851911: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851911
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsync
Version: 3.1.1-3
I've set the RSYNC_OPTS='--port=9500' in /etc/default/rsync but it does
not affect daemon options.
In Debian 7 all were OK.
/etc/default/rsync
[..]
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"
# Use "inetd" if you want to start the rsyncd from inetd,
# all this does is prevent the init.d script from printing a message
# about not starting rsyncd (you still need to modify inetd's config
yourself).
RSYNC_ENABLE=true
# what extra options to give rsync --daemon?
# that excludes the --daemon; that's always done in the init.d script
# Possibilities are:
# --address=123.45.67.89 (bind to a specific IP address)
# --port=8730 (bind to specified port; default 873)
RSYNC_OPTS='--port=9500'
[..]
# ps aux | grep rsync
root 9401 0.0 0.1 13804 2492 ? Ss 22:29 0:00
/usr/bin/rsync --daemon --no-detach
But the funny thing.
When I copy /etc/init.d/rsync to fe. /etc/init.d/whatever and I start it
from new script, it is OK:
# cp /etc/init.d/rsync /etc/init.d/whatever
# systemctl daemon-reload
# /etc/init.d/whatever start
[ ok ] Starting whatever (via systemctl): whatever.service.
# ps aux | grep rsync
root 9467 0.0 0.1 13804 2472 ? S 22:31 0:00
/usr/bin/rsync --no-detach --daemon --config /etc/rsyncd.conf --port=9500
So, what is going on?
Thanks.
Debian 8.7, latest update, default installation.
--- End Message ---
--- Begin Message ---
Reporter managed to fix the issue,
--
Samuel Henrique <samueloph>
--- End Message ---