From owner-freebsd-ports-bugs@freebsd.org Wed Sep 20 21:32:31 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55FA1E24DA7 for ; Wed, 20 Sep 2017 21:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4349881137 for ; Wed, 20 Sep 2017 21:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8KLWUfW007022 for ; Wed, 20 Sep 2017 21:32:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222481] sysutils/rubygem-chef: package installation doesn't necessarily create /var/chef/...; causes some issues with tools Date: Wed, 20 Sep 2017 21:32:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 21:32:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222481 Bug ID: 222481 Summary: sysutils/rubygem-chef: package installation doesn't necessarily create /var/chef/...; causes some issues with tools Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org CC: renchap@cocoa-x.com Flags: maintainer-feedback?(renchap@cocoa-x.com) CC: renchap@cocoa-x.com chef-solo from rubygem-chef-13.2.20 requires /var/chef exist in order to ru= n, but unfortunately installing the package didn't create the directory. This results in a slightly cryptic error when trying to run chef-solo from the package. Creating /var/chef beforehand, then rerunning chef-solo allows it to run to completion. =3D=3D BEFORE =3D=3D # chef-solo [2017-09-20T14:29:33-07:00] WARN: ***************************************** [2017-09-20T14:29:33-07:00] WARN: Did not find config file: /etc/chef/solo.= rb, using command line options. [2017-09-20T14:29:33-07:00] WARN: ***************************************** [2017-09-20T14:29:33-07:00] WARN: No cookbooks directory found at or above current directory. Assuming /var/chef. [2017-09-20T14:29:33-07:00] WARN: ***************************************** [2017-09-20T14:29:33-07:00] WARN: Did not find config file: /etc/chef/client.rb, using command line options. [2017-09-20T14:29:33-07:00] WARN: ***************************************** Starting Chef Client, version 13.2.20ESC[0m [2017-09-20T14:29:36-07:00] ERROR: # ... ESC[0mSystem Info:ESC[0m ------------ESC[0m chef_version=3D13.2.20 ESC[0mruby=3Druby 2.3.4p301 (2017-03-30 revision 58214) [amd64-freebsd11] ESC[0mprogram_name=3Dchef-solo worker: ppid=3D5888;start=3D14:29:34; ESC[0mexecutable=3D/usr/local/bin/chef-soloESC[0m ESC[0mESC[0m Running handlers:ESC[0m [2017-09-20T14:29:36-07:00] ERROR: Running exception handlers Running handlers complete ESC[0m[2017-09-20T14:29:36-07:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 02 secondsESC[0m [2017-09-20T14:29:36-07:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out [2017-09-20T14:29:36-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2017-09-20T14:29:36-07:00] ERROR: 500 "Internal Server Error" [2017-09-20T14:29:36-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Ch= ef run process exited unsuccessfully (exit code 1) =3D=3D AFTER =3D=3D # chef-solo [2017-09-20T14:31:41-07:00] WARN: ***************************************** [2017-09-20T14:31:41-07:00] WARN: Did not find config file: /etc/chef/solo.= rb, using command line options. [2017-09-20T14:31:41-07:00] WARN: ***************************************** [2017-09-20T14:31:41-07:00] WARN: No cookbooks directory found at or above current directory. Assuming /var/chef. [2017-09-20T14:31:41-07:00] WARN: ***************************************** [2017-09-20T14:31:41-07:00] WARN: Did not find config file: /etc/chef/client.rb, using command line options. [2017-09-20T14:31:41-07:00] WARN: ***************************************** Starting Chef Client, version 13.2.20ESC[0m resolving cookbooks for run list: []ESC[0m Synchronizing Cookbooks:ESC[0m Installing Cookbook Gems:ESC[0m Compiling Cookbooks...ESC[0m [2017-09-20T14:31:43-07:00] WARN: Node fbsd11 has an empty run list. Converging 0 resourcesESC[0m ESC[0m Running handlers:ESC[0m Running handlers complete ESC[0mChef Client finished, 0/0 resources updated in 02 secondsESC[0m [2017-09-20T14:31:43-07:00] WARN: ***************************************** [2017-09-20T14:31:43-07:00] WARN: Did not find config file: /etc/chef/client.rb, using command line options. [2017-09-20T14:31:43-07:00] WARN: ***************************************** --=20 You are receiving this mail because: You are the assignee for the bug.=