Merge lp:~andreserl/maas/lp1570911 into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 493
Merged at revision: 493
Proposed branch: lp:~andreserl/maas/lp1570911
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 33 lines (+8/-6)
2 files modified
debian/changelog (+4/-2)
debian/maas-dhcp.postinst (+4/-4)
To merge this branch: bzr merge lp:~andreserl/maas/lp1570911
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+294658@code.launchpad.net

Commit message

debian/maas-dhcp.posinst: Pipe error messages correctly to not show messages when disabling isc-dhcp-server init scripts. (LP: #1570911)

To post a comment you must log in.
Revision history for this message
Andres Rodriguez (andreserl) wrote :

lamont reviewed over irc.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2016-05-10 17:36:31 +0000
3+++ debian/changelog 2016-05-13 15:18:35 +0000
4@@ -1,6 +1,8 @@
5-maas (2.0.0~beta5+bzr4999-0ubuntu1) UNRELEASED; urgency=medium
6+maas (2.0.0~beta5+bzr5019-0ubuntu1) UNRELEASED; urgency=medium
7
8- * UNRELEASED
9+ * New upstream release, 2.0.0 beta 5 bzr:
10+ * debian/maas-dhcp.posinst: Pipe error messages correctly to not show
11+ messages when disabling isc-dhcp-server init scripts. (LP: #1570911)
12
13 -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 06 May 2016 09:56:40 -0500
14
15
16=== modified file 'debian/maas-dhcp.postinst'
17--- debian/maas-dhcp.postinst 2016-03-31 23:55:39 +0000
18+++ debian/maas-dhcp.postinst 2016-05-13 15:18:35 +0000
19@@ -6,10 +6,10 @@
20 then
21 # Stop the dhcpd instance that came with the isc-dhcp-server package.
22 # We run our own dhcpd instances.
23- systemctl stop isc-dhcp-server >/dev/null || true
24- systemctl disable isc-dhcp-server >/dev/null || true
25- systemctl stop isc-dhcp-server6 >/dev/null || true
26- systemctl disable isc-dhcp-server6 >/dev/null || true
27+ systemctl stop isc-dhcp-server >/dev/null 2>&1 || true
28+ systemctl disable isc-dhcp-server >/dev/null 2>&1 || true
29+ systemctl stop isc-dhcp-server6 >/dev/null 2>&1 || true
30+ systemctl disable isc-dhcp-server6 >/dev/null 2>&1 || true
31
32 dhcpd_prof="/etc/apparmor.d/usr.sbin.dhcpd"
33 if [ -f "${dhcpd_prof}" ] && command -v apparmor_parser >/dev/null 2>&1

Subscribers

People subscribed via source and target branches

to all changes: