FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 05-27-2008, 07:43 PM
"Dan McGee"
 
Default Use colon instead of dot separator for chown

On Tue, May 27, 2008 at 2:26 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
> On Tue, May 27, 2008 at 2:22 PM, Sebastian Nowicki <sebnow@gmail.com> wrote:
>> On BSD systems using a dot as a separator is not allowed. On Mac OSX it
>> is deprecated. A colon should be used instead. BSD systems also use the
>> "wheel" group instead of "root" to indicate the "super user" group. Both
>> groups use the id of 0.
>>
>> Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
>
> I want to do this because Dan always does!
>
> Acked-by: Aaron Griffin <aaronmgriffin@gmail.com>

Lol. We actually do patch review around here?
My only suggestion would be removal of the worthless comment and
replacing it by something better such as "change perms to root & root
user group on all systems" or something, as the current comment is
nothing more than a restatement than the code below it. With that
said:
Acked-by: Dan McGee <dan@archlinux.org>

Now Xavier just needs to signoff and pull this in his tree and we'll
have a really well reviewed patch.

-Dan

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 05-28-2008, 07:59 AM
Xavier
 
Default Use colon instead of dot separator for chown

On Tue, May 27, 2008 at 9:22 PM, Sebastian Nowicki <sebnow@gmail.com> wrote:
> On BSD systems using a dot as a separator is not allowed. On Mac OSX it
> is deprecated. A colon should be used instead. BSD systems also use the
> "wheel" group instead of "root" to indicate the "super user" group. Both
> groups use the id of 0.
>
> Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
> ---
> scripts/makepkg.sh.in | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index cc44c68..1209bd0 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -629,8 +629,8 @@ extract_sources() {
> done
>
> if [ $EUID -eq 0 ]; then
> - # chown all source files to root.root
> - chown -R root.root "$srcdir"
> + # chown all source files to root:0
> + chown -R root:0 "$srcdir"
> fi
> }


Oops, I forgot to do some communication.
When you started reporting macosx/bsd portability problems, I looked
back at an old mail which was taken a bit too seriously and turned
into a flamewar instead of something useful :
http://www.archlinux.org/pipermail/pacman-dev/2007-October/009659.html
So it mentioned du and cp problems, which you already found again.
I don't understand the source vs . one because source is bash builtin,
but Dan mentioned this already back then.
The last point was that chown problem so I patched it two days ago :
http://shining.toofishes.net/gitweb/gitweb.cgi?p=pacman.git;a=commitdiff;h=e10f9e0d795 98a27d1e9c48ba0f063400537b2ef

Anyway I will merge the two patches and fix the comment like Dan said.
PS : For doing this, I need my wifi connection back at home, which
wasn't working yesterday evening and this morning. I hope it won't
last..

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev

Wed May 28 11:30:01 2008
Return-path: <bounce-debian-devel=tom=linux-archive.org@lists.debian.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 28 May 2008 11:01:04 +0300
Received: from liszt.debian.org ([82.195.75.100])
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.68)
(envelope-from <bounce-debian-devel=tom=linux-archive.org@lists.debian.org>)
id 1K1Gal-0004rO-SH
for tom@linux-archive.org; Wed, 28 May 2008 11:01:04 +0300
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with QMQP
id 0A92513A57AD; Wed, 28 May 2008 08:00:28 +0000 (UTC)
Old-Return-Path: <jeremiah@jeremiahfoster.com>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,LDO_WHITELIST
autolearn=ham version=3.2.3
X-Original-To: debian-devel@lists.debian.org
Delivered-To: lists-debian-devel@liszt.debian.org
Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83])
by liszt.debian.org (Postfix) with ESMTP id 43A9A13A577E
for <debian-devel@lists.debian.org>; Wed, 28 May 2008 08:00:06 +0000 (UTC)
Received: from jeremiahfoster.com (195.198.161.169) by pne-smtpout1-sn2.hy.skanova.net (7.3.129)
id 478BC67702C11DFB for debian-devel@lists.debian.org; Wed, 28 May 2008 10:00:04 +0200
Sender: jeremiah@jeremiahfoster.com (derived from envelope by postmaster@pne.skanova.net)
Received: from jeremiah by jeremiahfoster.com with local (Exim 4.68)
(envelope-from <jeremiah@jeremiahfoster.com>)
id 1K1GZn-00030O-Cv
for debian-devel@lists.debian.org; Wed, 28 May 2008 10:00:03 +0200
Resent-Message-ID: <18493.4353.180759.452551@jeremiahfoster.com>
Resent-Date: Wed, 28 May 2008 10:00:01 +0200
Resent-To: debian-devel@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18491.64705.957863.435457@jeremiahfoster.com>
X-Mailer: VM 8.0.9 under Emacs 22.2.1 (i486-pc-linux-gnu)
Reply-To: jeremiah@jeremiahfoster.com
To: debian-devel@lists.debian.org
Subject: Alioth slowness - web pages not loading, top showing 10.00+
Date: Tue, 27 May 2008 14:21:21 +0200
Resent-From: "Jeremiah C. Foster" <jeremiah@jeremiahfoster.com>
Resent-Date: Wed, 28 May 2008 10:00:03 +0200
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/239191
X-Loop: debian-devel@lists.debian.org
List-Id: <debian-devel.lists.debian.org>
List-Post: <mailto:debian-devel@lists.debian.org>
List-Help: <mailto:debian-devel-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-devel-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-devel-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-devel-request@lists.debian.org

Hello,

While doing some research on git and alioth, certain web pages take
very long to load and some time out. For example, I am having
trouble reaching the debian-perl team's web site -
http://pkg-perl.alioth.debian.org/

When I log into alioth via ssh and do a quick top, I see that there
are some processes (postmaster) using a lot of CPU and that the one
minute load average appeared quite high, i.e. > 10.00.

While I realize that alioth is a bit of a workhorse and is used to
running under heavy load, I thought I would report this slowness
and heavy load to this list in case someone thought it was worth
looking into.

Thanks,

Jeremiah


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-28-2008, 08:36 AM
Sebastian Nowicki
 
Default Use colon instead of dot separator for chown

On 28/05/2008, at 3:59 PM, Xavier wrote:

> Oops, I forgot to do some communication.
> When you started reporting macosx/bsd portability problems, I looked
> back at an old mail which was taken a bit too seriously and turned
> into a flamewar instead of something useful :
> http://www.archlinux.org/pipermail/pacman-dev/2007-October/009659.html
> So it mentioned du and cp problems, which you already found again.
> I don't understand the source vs . one because source is bash builtin,
> but Dan mentioned this already back then.

I remember reading that thread, but I completely forgot about it. I
didn't really understand it then, and I still don't understand it now
- it just seems like a huge flamewar. Briefly looking at the pacman-g2
project, the whole thing (pacman vs pacman-g2) looks like a mess, but
I won't get into that. It does look like there is interest in a BSD
port. I have heard a lot of requests on IRC for "ArchBSD" and such,
and at least a few BSD users would like pacman. As for OSX, I'm making
a libalpm frontend, so we'll see if there's interest. Fortunately
pacman seems to be working perfectly now, it's just the dev toolset
(makepkg, repo-add, etc) that needs porting.

I haven't found any problems with source, it seems to be working fine
for me, so I don't understand that one either.

> The last point was that chown problem so I patched it two days ago :
> http://shining.toofishes.net/gitweb/gitweb.cgi?p=pacman.git;a=commitdiff;h=e10f9e0d795 98a27d1e9c48ba0f063400537b2ef

I was wondering where your repo was :P.

--
Sebastian Nowicki


_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev

Wed May 28 12:30:01 2008
Return-path: <fedora-list-bounces@redhat.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 28 May 2008 11:43:46 +0300
Received: from hormel1.redhat.com ([209.132.177.33] helo=hormel.redhat.com)
by s2.java-tips.org with esmtp (Exim 4.68)
(envelope-from <fedora-list-bounces@redhat.com>)
id 1K1HG6-00073p-OD
for tom@linux-archive.org; Wed, 28 May 2008 11:43:46 +0300
Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110])
by hormel.redhat.com (Postfix) with ESMTP id 532AC6188DA;
Wed, 28 May 2008 04:43:45 -0400 (EDT)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
[172.16.52.254])
by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id
m4S8hgpk029025 for <fedora-list@listman.util.phx.redhat.com>;
Wed, 28 May 2008 04:43:42 -0400
Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32])
by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m4S8hfnd015439
for <fedora-list@redhat.com>; Wed, 28 May 2008 04:43:41 -0400
Received: from mars.math-info.univ-paris5.fr (mars.math-info.univ-paris5.fr
[193.48.200.18])
by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m4S8hM1h006719
for <fedora-list@redhat.com>; Wed, 28 May 2008 04:43:27 -0400
Received: from [127.0.0.1] (mars.math-info.univ-paris5.fr [127.0.0.1])
by mars.math-info.univ-paris5.fr (8.14.1/jtpda-5.4) with ESMTP id
m4S8hLhX028194
for <fedora-list@redhat.com>; Wed, 28 May 2008 10:43:22 +0200
Message-ID: <483D1B29.1030004@math-info.univ-paris5.fr>
Date: Wed, 28 May 2008 10:43:21 +0200
From: =?UTF-8?B?RnJhbsOnb2lzIFBhdHRl?=
<francois.patte@math-info.univ-paris5.fr>
User-Agent: Thunderbird 2.0.0.14 (X11/20080501)
MIME-Version: 1.0
To: For users of Fedora <fedora-list@redhat.com>
References: <1211838993.4089.183.camel@iam.wayward4now.net> <483BB397.7050105@math-info.univ-paris5.fr>
<1211948879.3731.13.camel@iam.wayward4now.net>
In-Reply-To: <1211948879.3731.13.camel@iam.wayward4now.net>
X-Enigmail-Version: 0.95.6
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Miltered: at mars.math-info.univ-paris5.fr with ID 483D1B29.000 by Joe's
j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Score: MSGID : 483D1B29.000 on mars.math-info.univ-paris5.fr :
j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
X-RedHat-Spam-Score: -0.043
X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254
X-Scanned-By: MIMEDefang 2.63 on 172.16.48.32
X-loop: fedora-list@redhat.com
Subject: Re: Xvfb and fontpath.d
X-BeenThere: fedora-list@redhat.com
X-Mailman-Version: 2.1.5
Precedence: junk
Reply-To: For users of Fedora <fedora-list@redhat.com>
List-Id: For users of Fedora <fedora-list.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/fedora-list>
List-Post: <mailto:fedora-list@redhat.com>
List-Help: <mailto:fedora-list-request@redhat.com?subject=help>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=subscribe>
Sender: fedora-list-bounces@redhat.com
Errors-To: fedora-list-bounces@redhat.com
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 28.05.2008 06:27, Ric Moore a =C3=A9crit :
| On Tue, 2008-05-27 at 09:09 +0200, Fran=C3=A7ois Patte wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Le 26.05.2008 23:56, Ric Moore a =C3=A9crit :
|> | When I try this, I get this:
|> |
|> | Xvfb :2 -query iam
|> | Could not init font path element catalogue:/etc/X11/fontpath.d,
removing
|>
|> |
|> | /etc/X11/fontpath.d is an empty (0 length) file.
|> | rpm -q --whatprovides fontpath.d comes up negative.
|>
|> rpm -q --whatprovides /etc/X11/fontpath.d
|
| Thanks! But I got nothing. What does it show on your machine?
|
[fp@dipankar -mer mai 28- ~]$ rpm -q --whatprovides /etc/X11/fontpath.d
filesystem-2.4.11-1.fc8.x86_64
ghostscript-fonts-5.50-18.fc8.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.2-3.fc8.noarch
xorg-x11-fonts-misc-7.2-3.fc8.noarch
xorg-x11-fonts-100dpi-7.2-3.fc8.noarch
xorg-x11-fonts-Type1-7.2-3.fc8.noarch
xorg-x11-fonts-truetype-7.2-3.fc8.noarch
fonts-ISO8859-2-1.0-18.fc8.noarch
fonts-ISO8859-2-100dpi-1.0-18.fc8.noarch
xorg-x11-fonts-75dpi-7.2-3.fc8.noarch
xorg-x11-fonts-ISO8859-1-75dpi-7.2-3.fc8.noarch

in /etc/X11/fontpath.d there are symlinks pointing to font directories eg=
.:

fonts-default -> /usr/share/fonts/default/Type1
liberation-fonts -> /usr/share/fonts/liberation

when asked from which packages come these links:

rpm -qf /etc/X11/fontpath.d/fonts-default
urw-fonts-2.4-3.fc8.noarch

rpm -qf /etc/X11/fontpath.d/liberation-fonts
liberation-fonts-1.0-1.fc8.noarch



- --
Fran=C3=A7ois Patte
UFR de math=C3=A9matiques et informatique
Universit=C3=A9 Paris Descartes
45, rue des Saints P=C3=A8res
F-75270 Paris Cedex 06
T=C3=A9l. +33 (0)1 44 55 35 61
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIPRspdE6C2dhV2JURAiy+AJ4+BML8S/0et9aX9/20yeUib+Lc7gCbBUsc
7CXwe6l1/CE8hGGDNLXCfUw=3D
=3Dq8zC
-----END PGP SIGNATURE-----

--=20
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-28-2008, 09:30 AM
Xavier
 
Default Use colon instead of dot separator for chown

On Wed, May 28, 2008 at 10:36 AM, Sebastian Nowicki <sebnow@gmail.com> wrote:
>
> Fortunately
> pacman seems to be working perfectly now, it's just the dev toolset
> (makepkg, repo-add, etc) that needs porting.
>

Ok cool, hopefully we are not too far

>
>> The last point was that chown problem so I patched it two days ago :
>> http://shining.toofishes.net/gitweb/gitweb.cgi?p=pacman.git;a=commitdiff;h=e10f9e0d795 98a27d1e9c48ba0f063400537b2ef
>
> I was wondering where your repo was :P.
>

Unfortunately it is outdated now.
I am attaching the two uptodate branches as tar.gz of patches.
This will be useful for me if I get a connection again to update the
repo, or for others if my connection is not fixed
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 05-28-2008, 09:33 AM
Xavier
 
Default Use colon instead of dot separator for chown

On Wed, May 28, 2008 at 11:30 AM, Xavier <shiningxc@gmail.com> wrote:
>
> Unfortunately it is outdated now.
> I am attaching the two uptodate branches as tar.gz of patches.
> This will be useful for me if I get a connection again to update the
> repo, or for others if my connection is not fixed
>

Crap I used 000* instead of 00* so the 0010 patch was missed.
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 08:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org