Merge ~hloeung/ubuntu-mirror-charm:rsync into ubuntu-mirror-charm:master

Proposed by Haw Loeung
Status: Merged
Approved by: 🤖 Canonical IS Review Bot
Approved revision: d4638fa0c45135ea4df17dd3fe01415338390dfb
Merged at revision: 242f2fb5504601c11b22f772bed66917932363f0
Proposed branch: ~hloeung/ubuntu-mirror-charm:rsync
Merge into: ubuntu-mirror-charm:master
Diff against target: 26 lines (+4/-0)
2 files modified
files/mirror-1stage.sh (+2/-0)
files/mirror-2stage.sh (+2/-0)
Reviewer Review Type Date Requested Status
🤖 Canonical IS Review Bot Approve
Canonical IS Reviewers Pending
Review via email: mp+459747@code.launchpad.net

Commit message

Sync changes from the syncproxy scripts in the mojo spec

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Review Bot (canonical-is-reviewbot) wrote :

Proxy approval for jsimpso

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 242f2fb5504601c11b22f772bed66917932363f0

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/files/mirror-1stage.sh b/files/mirror-1stage.sh
2index c3e15ae..4cf5fe3 100755
3--- a/files/mirror-1stage.sh
4+++ b/files/mirror-1stage.sh
5@@ -49,6 +49,8 @@ else
6 fi
7
8 export RSYNC_PASSWORD
9+# work around LP#2009575
10+export RSYNC_OLD_ARGS=1
11 lockfile="Archive-Update-in-Progress-${role}-${myhostname}"
12 lockpath="${DEST_DIR}/${lockfile}"
13
14diff --git a/files/mirror-2stage.sh b/files/mirror-2stage.sh
15index a7146a8..9eac9c5 100755
16--- a/files/mirror-2stage.sh
17+++ b/files/mirror-2stage.sh
18@@ -50,6 +50,8 @@ else
19 fi
20
21 export RSYNC_PASSWORD
22+# work around LP#2009575
23+export RSYNC_OLD_ARGS=1
24 lockpath="${DEST_DIR}/Archive-Update-in-Progress-${role}-${myhostname}"
25
26 if lockfile -! -l 43200 -r 0 "${lockpath}"; then

Subscribers

People subscribed via source and target branches