Merge lp:~james-page/swift/fixup-cache-perms into lp:~ubuntu-server-dev/swift/havana

Proposed by James Page
Status: Merged
Approved by: Chuck Short
Approved revision: 150
Merged at revision: 150
Proposed branch: lp:~james-page/swift/fixup-cache-perms
Merge into: lp:~ubuntu-server-dev/swift/havana
Diff against target: 29 lines (+14/-0)
2 files modified
debian/changelog (+7/-0)
debian/python-swift.postinst (+7/-0)
To merge this branch: bzr merge lp:~james-page/swift/fixup-cache-perms
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+189044@code.launchpad.net

Description of the change

The swift daemons need write permissions on /var/cache/swift

Allow then to have this!

I think this causes occasional 503 messages on havana swift.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-09-25 15:11:53 +0000
+++ debian/changelog 2013-10-03 11:13:28 +0000
@@ -1,3 +1,10 @@
1swift (1.9.1-0ubuntu3) UNRELEASED; urgency=low
2
3 * d/python-swift.postinst: Allow swift user to write to /var/cache/swift,
4 resolving repeated errors in swift syslog (LP: #1234657).
5
6 -- James Page <james.page@ubuntu.com> Thu, 03 Oct 2013 12:01:38 +0100
7
1swift (1.9.1-0ubuntu2) saucy; urgency=low8swift (1.9.1-0ubuntu2) saucy; urgency=low
29
3 * d/control: Add missing dependency on python-dnspython >= 1.10.0.10 * d/control: Add missing dependency on python-dnspython >= 1.10.0.
411
=== modified file 'debian/python-swift.postinst'
--- debian/python-swift.postinst 2011-12-16 14:45:33 +0000
+++ debian/python-swift.postinst 2013-10-03 11:13:28 +0000
@@ -8,3 +8,10 @@
88
9usermod -G adm swift9usermod -G adm swift
1010
11if [ -d /var/cache/swift ] ; then
12 # Allow swift user to write to cache directory
13 chown root:swift /var/cache/swift
14 chmod 0775 /var/cache/swift
15fi
16
17exit 0

Subscribers

People subscribed via source and target branches