Your message dated Thu, 16 Jan 2014 13:03:23 +0000
with message-id <[email protected]>
and subject line Bug#677827: fixed in chef 11.8.2-1
has caused the Debian Bug report #677827,
regarding chef init script does not report status or start/stop success/fail 
properly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
677827: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677827
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chef
Version: 0.10.10-2
Severity: important

Dear Maintainer,

service chef status does not report properly
service chef start/stop always reports failure

The problem occurs because the process name is "ruby" instead of "chef-client" 
like the init script expects.

Changing the shebang from:

#!/usr/bin/env ruby
to
#!/usr/bin/ruby1.8

fixes the issue.

Another way to fix it is to change the init script:
--- chef-client.original        2012-06-16 23:00:11.120402985 -0400
+++ chef-client 2012-06-16 23:00:58.156403000 -0400
@@ -45,7 +45,7 @@
 running() {
   [ ! -f "$PIDFILE" ] && return 1
   pid=`cat $PIDFILE`
-  running_pid $pid $NAME || return 1
+  running_pid $pid ruby || return 1
   return 0
 }




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chef depends on:
ii  debconf [debconf-2.0]       1.5.43
ii  ohai                        6.14.0-1
ii  ruby-bunny                  0.7.8-1
ii  ruby-erubis [erubis]        2.7.0-1
ii  ruby-highline               1.6.12-1
ii  ruby-json                   1.7.3-1
ii  ruby-mixlib-authentication  1.1.4-1
ii  ruby-mixlib-cli             1.2.2-1
ii  ruby-mixlib-config          1.1.2-2
ii  ruby-mixlib-log             1.3.0-1
ii  ruby-mixlib-shellout        1.0.0-1
ii  ruby-moneta                 0.6.0-3
ii  ruby-net-ssh                1:2.5.1-1
ii  ruby-net-ssh-multi          1.1-1
ii  ruby-rest-client            1.6.7-1
ii  ruby-treetop                1.4.10-4
ii  ruby-uuidtools              2.1.2-1
ii  ruby-yajl                   1.0.0-1
ii  ruby1.8 [ruby-interpreter]  1.8.7.358-4

chef recommends no packages.

chef suggests no packages.

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Source: chef
Source-Version: 11.8.2-1

We believe that the bug you reported is fixed in the latest version of
chef, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated chef package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 16 Jan 2014 14:38:20 +0200
Source: chef
Binary: chef
Architecture: source all
Version: 11.8.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Description: 
 chef       - clients for the chef systems integration framework
Closes: 675365 677827 705657 707079
Changes: 
 chef (11.8.2-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version (Closes: #707079)
   * Dropped patch json_create_CVE-2013-0269_workaround - superseded upstream.
   * Drop transitional libchef-ruby packages. They were only needed in wheezy.
   * Update dependencies from metadata.yml.
     - Except mime-types, puma, and pry that don't appear to be used.
   * Update and simplify debian/copyright. Group copyright holders by license.
   * Clean init script that we copy into debian dir, during build.
   * Bump Standards-Version to 3.9.5.
     - Bump debhelper dependency to 8.1 for build-{arch,indep} support.
   * Update po files, and include debian/po/templates.pot.
   * Remove /var/lib/chef if empty, on uninstall (Closes: #675365)
   * Look for the correct process name when checking status in the init script
     (Closes: #677827)
   * Shorten short description. (Closes: #705657)
Checksums-Sha1: 
 f6b88230e956b7aad277571afc88d3e1059560d1 1978 chef_11.8.2-1.dsc
 a5d42ecfde29abaa72b9da048d8bd267ac6d6885 1069293 chef_11.8.2.orig.tar.gz
 0f882789424d30f19ff1e5217c5746aa05825eef 21164 chef_11.8.2-1.debian.tar.xz
 f5afa7f50f441cf71ceeb8c766d46e5b73f7d6f8 460604 chef_11.8.2-1_all.deb
Checksums-Sha256: 
 0c1e4198cb312c8ef7386639cec311b3e0255450d2508d9854ce4956df1f9a4e 1978 
chef_11.8.2-1.dsc
 2f58debd6a7baa3faf0b47a44434a7fde02cee77b6053af9ece78c648d1a4e37 1069293 
chef_11.8.2.orig.tar.gz
 833f925b08bc866c9bc0fcbd70605330399ea02e45614e83b051e1da71218e31 21164 
chef_11.8.2-1.debian.tar.xz
 71a20b42b1c6821cd481f527dd27a9a32592f8b6e40157e33c0009382e966fca 460604 
chef_11.8.2-1_all.deb
Files: 
 66683b6f73b6e1cd8a387a61481c9def 1978 ruby optional chef_11.8.2-1.dsc
 d8974ed914733d67b2f6f1c27e0589c1 1069293 ruby optional chef_11.8.2.orig.tar.gz
 66c27f429980dd0324774b86d2e7953f 21164 ruby optional 
chef_11.8.2-1.debian.tar.xz
 3f46ce1047c5a58cbe18ddee38999b3d 460604 ruby optional chef_11.8.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCgAGBQJS19TGAAoJEACQ/CG1zRrMMdUP/2rPq0QvonEW630A0kBTHmrb
BLki+DS4jrRhJGE3wGoKbYewQvpHpAbBcV0jCdS6fTqo0D3xgxTS67cBGG2RvBQu
BSgKEWtg1hm0GKHPtGYjjr2yDSMf0cp0ApS2u65G6kgW0QljvPmcw20H0A7fm5B2
Y3siJubx74oYPjiiGKb9ASA+ZR/lDrgHy7tFhHnLyix7t8i4uoDXa5FWH0UVh27a
z98JSF9yPu6Qbp/Ulr3f3yhREHBDucLLdhibo8w13sPY2bHyPa9w7KAcdb6sj+ch
84d9++GbbCeSidi8cI+Zw5d83PQUhCK8/RSE5j3zQ+FbLfabauhGEnGxEDm5tf9M
EbUJ2UdNF1x94LoYBB/Kn8zu+XZoMji5vrtPtn+SHoWKGcUPbpqpbUXEbx9EIota
WLVnAQOuxv8ig10FB84WBalFgEDJRm2eeHt6I3r+Q6n1rhdwIe6nb9fd3Qj5vxgH
zGs/qgBBhPAvJlSks5kZG+IGNTLBT2vSlegG/e+d1nwEh4doYTcRgw5wAU0D+vX/
geGJHxvK0HwmMzyzVUA3/CPc/3wD9qU5dE7vNom1UhJBCBY4MwiyW6UEJ/xko1gf
qvEe9Yl0L0vLOXyViKNRZAfBMU0hYfXPWjS+Jh3VO2/I6M7ybSPCZVBxXL0scgLe
mbwTy07GrGfcfIBRLx2q
=L/0y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to