Merge lp:~ubuntudotcom1/maas/bug-1446840-packaging-named.conf.options.inside.maas-perms into lp:~maas-maintainers/maas/packaging

Proposed by ubuntudotcom1
Status: Merged
Approved by: ubuntudotcom1
Approved revision: 383
Merged at revision: 383
Proposed branch: lp:~ubuntudotcom1/maas/bug-1446840-packaging-named.conf.options.inside.maas-perms
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 17 lines (+5/-0)
1 file modified
debian/maas-dns.postinst (+5/-0)
To merge this branch: bzr merge lp:~ubuntudotcom1/maas/bug-1446840-packaging-named.conf.options.inside.maas-perms
Reviewer Review Type Date Requested Status
Blake Rouse (community) Approve
Ricardo Bánffy (community) Approve
Review via email: mp+257168@code.launchpad.net

Commit message

Fix for bug 1446840 /etc/bind/maas/named.conf.options.inside.maas and /etc/bind/maas/named.conf.options.maas by making explicit maas:maas ownership of these files.

Description of the change

Fix for bug 1446840 /etc/bind/maas/named.conf.options.inside.maas and /etc/bind/maas/named.conf.options.maas by making explicit maas:maas ownership of these files.

To post a comment you must log in.
Revision history for this message
Ricardo Bánffy (rbanffy) :
review: Approve
Revision history for this message
Blake Rouse (blake-rouse) wrote :

I did this manually on trusty and it fixed my internal server error. We should land this in packaging ASAP.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/maas-dns.postinst'
2--- debian/maas-dns.postinst 2014-03-28 15:44:39 +0000
3+++ debian/maas-dns.postinst 2015-04-22 19:53:20 +0000
4@@ -13,8 +13,13 @@
5 chown -R maas:root /etc/bind/maas
6 fi
7 if [ -f /etc/bind/maas/named.conf.maas ]; then
8+ chown maas:maas /etc/bind/maas/named.conf.maas
9 chmod 644 /etc/bind/maas/named.conf.maas
10 fi
11+ if [ -f /etc/bind/maas/named.conf.options.inside.maas ]; then
12+ chown maas:maas /etc/bind/maas/named.conf.options.inside.maas
13+ chmod 644 /etc/bind/maas/named.conf.options.inside.maas
14+ fi
15 if [ -f /etc/bind/maas/rndc.conf.maas ]; then
16 chmod 600 /etc/bind/maas/rndc.conf.maas
17 fi

Subscribers

People subscribed via source and target branches