Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package chef

This version includes translation updates and fixes the "stop" action of
the initscript.

the debdiff against the package in testing is attached, with the
translation updates filtered out.

unblock chef/11.12.8-2

-- System Information:
Debian Release: 8.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Antonio Terceiro <terce...@debian.org>
diff -Nru chef-11.12.8/debian/changelog chef-11.12.8/debian/changelog
--- chef-11.12.8/debian/changelog	2014-09-27 21:21:03.000000000 -0300
+++ chef-11.12.8/debian/changelog	2015-03-25 10:12:37.000000000 -0300
@@ -1,3 +1,17 @@
+chef (11.12.8-2) unstable; urgency=medium
+
+  * Team upload
+  * debian/patches/initscript-process-name: removed since chef has been fixed
+    to set the right process name. This fixes the initscript to actually be
+    able to stop the service.
+  * debian/tests: add test for the start and stop actions of the initscript
+  * Translation updates:
+    * Swedish (Martin Bagge). Closes: #769871 (NEW)
+    * Dutch (Frans Spiesschaert). Closes: #764094
+    * Russian (Yuri Kozlov). Closes: #736098
+
+ -- Antonio Terceiro <terce...@debian.org>  Tue, 24 Mar 2015 21:52:44 -0300
+
 chef (11.12.8-1) unstable; urgency=medium
 
   * Team upload
diff -Nru chef-11.12.8/debian/patches/initscript-process-name chef-11.12.8/debian/patches/initscript-process-name
--- chef-11.12.8/debian/patches/initscript-process-name	2014-09-27 21:13:33.000000000 -0300
+++ chef-11.12.8/debian/patches/initscript-process-name	1969-12-31 21:00:00.000000000 -0300
@@ -1,16 +0,0 @@
-Description: The process name will be ruby, not chef-client
-Bug-Debian: http://bugs.debian.org/677827
-Author: Eric Blevins <eblev...@kmionline.com>
-Last-Updated: 2014-01-10
-
---- a/distro/debian/etc/init.d/chef-client
-+++ b/distro/debian/etc/init.d/chef-client
-@@ -49,7 +49,7 @@
- running() {
-   [ ! -f "$PIDFILE" ] && return 1
-   pid=`cat $PIDFILE`
--  running_pid $pid $NAME || return 1
-+  running_pid $pid ruby || return 1
-   return 0
- }
- 
diff -Nru chef-11.12.8/debian/patches/series chef-11.12.8/debian/patches/series
--- chef-11.12.8/debian/patches/series	2014-09-27 21:13:33.000000000 -0300
+++ chef-11.12.8/debian/patches/series	2015-03-25 10:12:37.000000000 -0300
@@ -1,2 +1 @@
 remove_rubygems.diff
-initscript-process-name
diff -Nru chef-11.12.8/debian/tests/control chef-11.12.8/debian/tests/control
--- chef-11.12.8/debian/tests/control	2014-09-27 21:17:09.000000000 -0300
+++ chef-11.12.8/debian/tests/control	2015-03-25 10:12:37.000000000 -0300
@@ -1,3 +1,7 @@
 Tests: smoke-test
 Depends: @, shunit2
 Restrictions: needs-root
+
+Tests: init
+Depends: @, shunit2
+Restrictions: needs-root, isolation-container
diff -Nru chef-11.12.8/debian/tests/init chef-11.12.8/debian/tests/init
--- chef-11.12.8/debian/tests/init	1969-12-31 21:00:00.000000000 -0300
+++ chef-11.12.8/debian/tests/init	2015-03-25 10:12:37.000000000 -0300
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+test_initscript_starts_stops() {
+  service chef-client stop
+  assertFalse 'pgrep -fa chef-client'
+  service chef-client start
+  assertTrue 'pgrep -fa chef-client'
+}
+
+. shunit2

Attachment: signature.asc
Description: Digital signature

Reply via email to