Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#764616: rsync doesn't start during boot up process

594 views
Skip to first unread message

Thomas Rechberger

unread,
Feb 28, 2015, 6:30:03 AM2/28/15
to
If you have done this:
systemctl enable rsync.service
Synchronizing state for rsync.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d rsync defaults
Executing /usr/sbin/update-rc.d rsync enable
Failed to execute operation: No such file or directory

after reboot:
systemctl status rsync.service
● rsync.service - fast remote file copy program daemon
Loaded: loaded (/lib/systemd/system/rsync.service; enabled)
Active: inactive (dead)
start condition failed at Sa 2015-02-28 12:05:49 CET; 1min
0s ago
ConditionPathExists=/etc/rsyncd.conf was not met

with these set:
/etc/init.d/rsync
RSYNC_ENABLE=true
/etc/default/rsync
RSYNC_ENABLE=true

then its a missing rsyncd.conf

without the systemctl enable rsync.service it did not work, so its
something the installer should do already (new install of rsync)


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

Paul Slootman

unread,
Mar 2, 2015, 8:50:04 AM3/2/15
to
On Sat 28 Feb 2015, Thomas Rechberger wrote:

> with these set:
> /etc/init.d/rsync
> RSYNC_ENABLE=true
> /etc/default/rsync
> RSYNC_ENABLE=true
>
> then its a missing rsyncd.conf

Obviously, that's what the error message says:

> start condition failed at Sa 2015-02-28 12:05:49 CET; 1min 0s ago
> ConditionPathExists=/etc/rsyncd.conf was not met


> without the systemctl enable rsync.service it did not work, so its something
> the installer should do already (new install of rsync)

What config is a new install of rsync supposed to use?
Anything that could be installed by default might in theory be a
potential security risk.

If you choose to install this daemon, then it's also your
responsibility to ensure that a correct configuration exists for your
needs.


Paul

Thomas Rechberger

unread,
Mar 2, 2015, 9:40:04 AM3/2/15
to
> What config is a new install of rsync supposed to use?
> Anything that could be installed by default might in theory be a
> potential security risk.
>
> If you choose to install this daemon, then it's also your
> responsibility to ensure that a correct configuration exists for your
> needs.
>
>

Its more about the systemctl enable command. I just posted above output
so everyone can see whats going on.

I installed rsync package by using apt, the links in /etc/rcX did exist
but rsync didnt start after reboot. So this looked like the damon would
have been already enabled by the installer (like done by all other
debian packages), but it was not. This is unexpected situation and leads
to wrong assumptions.

So i dont know why this poses a security risk to not enable the daemon
automatically by installation if it anyway doesnt gonna start when there
is no default rsyncd.conf file and no RSYNC_ENABLE set.
0 new messages