From owner-freebsd-zope@FreeBSD.ORG Fri May 8 01:11:30 2015 Return-Path: Delivered-To: zope@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F339CD2 for ; Fri, 8 May 2015 01:11:30 +0000 (UTC) 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 6E32F1826 for ; Fri, 8 May 2015 01:11:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t481BUkd027080 for ; Fri, 8 May 2015 01:11:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: zope@FreeBSD.org Subject: maintainer-feedback requested: [Bug 200040] www/zope213: fails to start using pkg-message instructions Date: Fri, 08 May 2015 01:11:30 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-zope@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Zope for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 01:11:30 -0000 jason.unovitch@gmail.com has reassigned Bugzilla Automation 's request for maintainer-feedback to zope@FreeBSD.org: Bug 200040: www/zope213: fails to start using pkg-message instructions https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200040 --- Description --- www/zope213 currently does not provide enough information to start Zope by default. The pkg-message currently instructs the user to execute the following command: /usr/local/bin/mkzopeinstance --dir Assuming the user start Zope afterwards, it will start and die because firstly the effective-user is not set and even it it were the permissions on var and log are incorrect. If the user installs the package they are either stuck with needing implied knowledge on Zope to fix it, run things in debug mode and stumble through the errors as I did, or lastly look at what `make instance` in the port is doing. This can be very confusing for a new user and a prior topic I saw went unanswered [Ref 1]. Another mailing list topic indicates that it should be easy and just work [Ref 2]. [1] https://lists.freebsd.org/pipermail/freebsd-zope/2014-May/000283.html [2] https://lists.freebsd.org/pipermail/freebsd-zope/2013-November/000169.html "What's plonectl? In FreeBSD it have no individual start-up script - you just starting zope with plone installed. Just start it with `service zope213 start` and add zope213_enable="YES" in /etc/rc.conf to survive the reboot. That's all." From owner-freebsd-zope@FreeBSD.ORG Fri May 8 01:11:30 2015 Return-Path: Delivered-To: zope@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9191CD3 for ; Fri, 8 May 2015 01:11:30 +0000 (UTC) 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 999BD1827 for ; Fri, 8 May 2015 01:11:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t481BUpj027083 for ; Fri, 8 May 2015 01:11:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: zope@FreeBSD.org Subject: [Bug 200040] www/zope213: fails to start using pkg-message instructions Date: Fri, 08 May 2015 01:11: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 Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zope@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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 flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-zope@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Zope for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 01:11:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200040 Bug ID: 200040 Summary: www/zope213: fails to start using pkg-message instructions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: zope@FreeBSD.org Reporter: jason.unovitch@gmail.com Flags: maintainer-feedback?(zope@FreeBSD.org) Assignee: zope@FreeBSD.org www/zope213 currently does not provide enough information to start Zope by default. The pkg-message currently instructs the user to execute the following command: /usr/local/bin/mkzopeinstance --dir Assuming the user start Zope afterwards, it will start and die because firstly the effective-user is not set and even it it were the permissions on var and log are incorrect. If the user installs the package they are either stuck with needing implied knowledge on Zope to fix it, run things in debug mode and stumble through the errors as I did, or lastly look at what `make instance` in the port is doing. This can be very confusing for a new user and a prior topic I saw went unanswered [Ref 1]. Another mailing list topic indicates that it should be easy and just work [Ref 2]. [1] https://lists.freebsd.org/pipermail/freebsd-zope/2014-May/000283.html [2] https://lists.freebsd.org/pipermail/freebsd-zope/2013-November/000169.html "What's plonectl? In FreeBSD it have no individual start-up script - you just starting zope with plone installed. Just start it with `service zope213 start` and add zope213_enable="YES" in /etc/rc.conf to survive the reboot. That's all." -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-zope@FreeBSD.ORG Fri May 8 01:23:09 2015 Return-Path: Delivered-To: zope@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15243FDA for ; Fri, 8 May 2015 01:23:09 +0000 (UTC) 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 D9E2219DF for ; Fri, 8 May 2015 01:23:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t481N8jH038662 for ; Fri, 8 May 2015 01:23:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: zope@FreeBSD.org Subject: [Bug 200040] www/zope213: fails to start using pkg-message instructions Date: Fri, 08 May 2015 01:23:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zope@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-zope@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Zope for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 01:23:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200040 --- Comment #1 from jason.unovitch@gmail.com --- Created attachment 156487 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156487&action=edit www/zope213 patch to resolve the issues I opened the PR for Summary - Clean up port and remove `make instance` functionality that duplicates native Zope tool functionality - Standardize and ensure pkg-message instructions correctly set up Zope - Make Portlint and Poudriere testport clean - Set NO_ARCH Details: 1. The `make instance` functionality has been removed to remove duplication with what is is the pkg-message. This one I need the most feedback on as I wanted to start with the patch that provides the simplest and cleanest solution to the problem. If the maintainer would like this functionality, I will be glad to revise the patch. 2. Currently, the legacy method of cat'ing pkg-message is used and there are 3 pkg-message files: package-pkg-message.in (displayed after package install) instance-message.in (displayed after instance creation) pkg-message.in (displayed after post install (port?)) This consolidates the messages into one and removes the interesting Makefile logic required to display them originally. 3. Portlint originally flagged this which was cleaned up with the pkg-message handling fixes: WARN: Makefile: [120]: do not use muted INSTALL_foo commands (i.e., those that start with '@'). These should be printed. 0 fatal errors and 1 warning found. 4. NO_ARCH was added per Poudriere given that this is all Python files. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-zope@FreeBSD.ORG Fri May 8 01:23:45 2015 Return-Path: Delivered-To: zope@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EB66FE6 for ; Fri, 8 May 2015 01:23:45 +0000 (UTC) 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 38BDE19E3 for ; Fri, 8 May 2015 01:23:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t481Njx2038856 for ; Fri, 8 May 2015 01:23:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: zope@FreeBSD.org Subject: [Bug 200040] www/zope213: fails to start using pkg-message instructions Date: Fri, 08 May 2015 01:23:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zope@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-zope@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Zope for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 01:23:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200040 --- Comment #2 from jason.unovitch@gmail.com --- Created attachment 156488 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156488&action=edit Poudriere testport build logs from 10.1-RELEASE amd64 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-zope@FreeBSD.ORG Sat May 9 15:08:43 2015 Return-Path: Delivered-To: zope@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB2C076E for ; Sat, 9 May 2015 15:08:43 +0000 (UTC) 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 94F1C10C1 for ; Sat, 9 May 2015 15:08:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t49F8hip029431 for ; Sat, 9 May 2015 15:08:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: zope@FreeBSD.org Subject: [Bug 200040] [PATCH] www/zope213: fails to start using pkg-message instructions Date: Sat, 09 May 2015 15:08:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zope@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-zope@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Zope for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 15:08:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200040 jason.unovitch@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|www/zope213: fails to start |[PATCH] www/zope213: fails |using pkg-message |to start using pkg-message |instructions |instructions -- You are receiving this mail because: You are the assignee for the bug.