guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27855] [PATCH] gnu: Add rsync service.


From: Christopher Baines
Subject: [bug#27855] [PATCH] gnu: Add rsync service.
Date: Thu, 10 Aug 2017 19:21:39 +0100

On Thu, 10 Aug 2017 08:18:20 +0100
Christopher Baines <address@hidden> wrote:

> I've attached the beginnings of a system test for this. I haven't got
> as far as actually testing the service directly yet, but I'm going to
> try testing it, both when running as root, and when not running as
> root.
> 
> A VM start script can be created from this rsync.scm file, by running:
>   guix system vm gnu/tests/rsync.scm
> 
> Also, the test itself can be run by doing:
>   make check-system TESTS=rsync

I've now got around to actually testing the service. I've attached a
patch which creates two system tests. One which tests the service with
the default port, and one with a higher port (I randomly picked 2000).

The default port test currently passes, but the higher port one
currently fails as the rsync service can't create the PID file.

One option to fix this would be to create a /var/run/rsync directory
which is owned by the rsyncd user, and then create the PID file
as /var/run/rsync/pid.

Just let me know if you have any questions?

Attachment: 0001-Add-test.patch
Description: Text Data

Attachment: pgpOGrrxIAqw0.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]