From dev-return-32350-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Mon Jan 04 12:00:16 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 71387 invoked from network); 4 Jan 2010 12:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2010 12:00:15 -0000 Received: (qmail 24970 invoked by uid 500); 4 Jan 2010 12:00:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 24879 invoked by uid 500); 4 Jan 2010 12:00:15 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 24868 invoked by uid 99); 4 Jan 2010 12:00:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 12:00:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 12:00:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6ECD529A0012 for ; Mon, 4 Jan 2010 03:59:54 -0800 (PST) Message-ID: <563850741.18391262606394449.JavaMail.jira@brutus.apache.org> Date: Mon, 4 Jan 2010 11:59:54 +0000 (UTC) From: =?utf-8?Q?Igor_Gali=C4=87_=28JIRA=29?= To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-1454) Solaris Packing broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Solaris Packing broken ---------------------- Key: DIRSERVER-1454 URL: https://issues.apache.org/jira/browse/DIRSERVER-1454 Project: Directory ApacheDS Issue Type: Bug Environment: Solaris 10 Reporter: Igor Gali=C4=87 First off, both the x86 and the sparc package advertise themselves as x86 -= - which isn't too bad, since Solaris' packaging couldn't care less, but mig= ht be confusing to the careful admin who installs the package. Next, the pre-install script is broken on Solaris 10, since Solaris 10's ``= id'' doesn't know either of the ``-u'' or ``-n'' switches. One could evade= this by using /usr/bin/xpg4/id -- but who guarantees that's installed? ``getent'' is always installed. Unless you managed to break the libc/Sun-Co= re installation. It should also work on all (Unix) platforms, so here's the= patch: --- preinstall 2009-12-23 04:51:32.000000000 +0100 +++ preinstall0 2010-01-04 12:41:03.780839048 +0100 @@ -20,7 +20,7 @@ set -e # Creating the apacheds user (only if needed) -USER=3D`eval "id -u -n apacheds 2>/dev/null || :"` +USER=3D`getent passwd apacheds | cut -d: -f1` if [ ! "Xapacheds" =3D "X$USER" ] then /usr/sbin/groupadd apacheds >/dev/null 2>&1 || : --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.