~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:fix-rsync-test-for-logging

Last commit made on 2021-01-19
Get this branch:
git clone -b fix-rsync-test-for-logging 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:
fix-rsync-test-for-logging
Repository:
lp:~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm

Recent commits

0d45ade... by Paul Collins

fix test_xinetd_rsync_server for logging changes

c50a97a... by Haw Loeung

Ensure Apache HTTP server started after all interfaces are brought up - LP:1899852

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

74f1c96... by Haw Loeung

Work around bugs with systemd/ifupdown network-online.target

Per upstream bug, network-online.target could be seen as up, but on
hosts where there are alias interfaces, it's possible that these
aren't brought up yet causing apache2 to fail to bind to specified
IPs. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868650.

Let's work around this with enabling ip_nonlocal_bind via sysctl.

cdaafe7... by Haw Loeung

Add additional rsync logging

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

f558735... by Haw Loeung

Add additional rsync logging

4c4b53e... by Nick Moffitt

switching bewteen xinetd and systemd RT#128036

Reviewed-on: https://code.launchpad.net/~nick-moffitt/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/394889
Reviewed-by: Joel Sing <email address hidden>

8d9ec9c... by Nick Moffitt

Tidy TOCTOU race by catching exception instead.

c239822... by Nick Moffitt

switching bewteen xinetd and systemd RT#128036

8039780... by Nick Moffitt

Allow rsync on xinetd instead of systemd RT#128036

Reviewed-on: https://code.launchpad.net/~nick-moffitt/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/394826
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: David Lawson <email address hidden>

6d5b0fb... by Nick Moffitt

Add unit tests for rsync config generation.
This required rewriting the motd creation to use write_file().