~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:rsync-process-check-socket-activation

Last commit made on 2020-09-16
Get this branch:
git clone -b rsync-process-check-socket-activation https://git.launchpad.net/~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm
Only Paul Collins can upload to this branch. If you are Paul Collins please log in for upload directions.

Branch merges

Branch information

Name:
rsync-process-check-socket-activation
Repository:
lp:~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm

Recent commits

153bec4... by Paul Collins

now that rsync is managed via socket activation, there can be 0 processes

70d7abc... by Barry Price

Handle LP:1891566 by bind-mounting any paths outside /srv/ftp.root back into it, so that our chrooted vsftp can serve all the same files as apache2/rsync.

Reviewed-on: https://code.launchpad.net/~barryprice/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/390394
Reviewed-by: Paul Collins <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>

54910da... by Barry Price

Use freezegun for tests instead of passing datetime suffices around

d95c85e... by Barry Price

Clean up remove_bind_mount() logic

d7b933b... by Barry Price

Address review, update tests to match

95fd3a0... by Barry Price

Test add/remove bind mount logic

1c873b7... by Barry Price

Use stringio to read /etc/fstab to make tests simpler, add initial tests

e7f72c6... by Barry Price

Add comments, reduce complexity so that 'make lint' passes

5e004aa... by Barry Price

Initial run at LP:1891566, WIP, likely needs safety checks (also C901 'configure_bind_mounts' is too complex (12))

bcb45a7... by Haw Loeung

Fixed description for rsync services, that's what gets logged in syslog

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/389880
Reviewed-by: Alexandre Gomes <email address hidden>