Message from discussion
2.6.0 Makefile bug?
Received: by 10.216.143.35 with SMTP id k35mr1572316wej.6.1351438704905;
Sun, 28 Oct 2012 08:38:24 -0700 (PDT)
X-BeenThere: redis-db@googlegroups.com
Received: by 10.180.72.168 with SMTP id e8ls3160459wiv.3.canary; Sun, 28 Oct
2012 08:38:05 -0700 (PDT)
Received: by 10.180.96.6 with SMTP id do6mr1540295wib.1.1351438685672;
Sun, 28 Oct 2012 08:38:05 -0700 (PDT)
Received: by 10.180.96.6 with SMTP id do6mr1540294wib.1.1351438685662;
Sun, 28 Oct 2012 08:38:05 -0700 (PDT)
Return-Path: <char...@charlie.is>
Received: from smtp.hosted.is (lon-mail-a.hosted.is. [178.79.161.76])
by gmr-mx.google.com with ESMTPS id q8si126746wiw.3.2012.10.28.08.38.05
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 28 Oct 2012 08:38:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of char...@charlie.is designates 178.79.161.76 as permitted sender) client-ip=178.79.161.76;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of char...@charlie.is designates 178.79.161.76 as permitted sender) smtp.mail=char...@charlie.is; dkim=pass header...@charlie.is
Received: from [192.168.3.1] (206.20.140.88.rev.sfr.net [88.140.20.206])
(Authenticated sender: char...@charlie.is)
by lon-mail-a.hosted.is (hosted.is/Mailhost) with ESMTPSA id 71A496BFFE
for <redis-db@googlegroups.com>; Sun, 28 Oct 2012 15:38:04 +0000 (UTC)
Message-ID: <508D515C.2040002@charlie.is>
Date: Sun, 28 Oct 2012 16:38:04 +0100
From: Charlie Orford <char...@charlie.is>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: redis-db@googlegroups.com
Subject: Re: 2.6.0 Makefile bug?
References: <508956E4.6060405@charlie.is> <CA+XzkVdLPT4i13aSJ-d+rTZHR2nUC-_Rp=VbDdaOKXA3vrKoTA@mail.gmail.com>
In-Reply-To: <CA+XzkVdLPT4i13aSJ-d+rTZHR2nUC-_Rp=VbDdaOKXA3vrKoTA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=charlie.is;
s=mailout; t=1351438684;
bh=3eNCUpsSDzpy+liTJB3HHjizuYuH5byzvbEBav8OscA=;
h=Date:From:MIME-Version:To:Subject:References:In-Reply-To:
Content-Type:Content-Transfer-Encoding;
b=01nt+QYo83fOYqs59EPdCU9HpLBxgRgmTKQHYiQ3K9B2UFAyY8Or762f69i0pqXJK
ZntjvcnRo2POcUEaZnTdYdAY18s4C876op1QnT/FLW4cd9yvEK48+XhJhOCAtuOilZ
OmwAQEnLAfw5+0tcckQjrxYIFgxB8ChwwedvlYOA=
X-DKIM: OpenDKIM Filter v2.4.3 lon-mail-a.hosted.is 71A496BFFE
Hi Salvatore,
Sorry about that post, I wasn't having a very good day :) I think
you're right. It isn't a problem and is pretty standard behaviour.
I guess I was just expecting the Makefile to dump the files in PREFIX
because the install process is so lightweight and minimal (i.e. no libs,
man files, conf files etc. just a handful of binaries).
As for putting redis in /usr/local/sbin, again you're right and there is
no intrinsic reason it should be there. Our nginx and uwsgi binaries
live in /usr/local/sbin and it just felt natural to put redis in the
same place.
All the best,
Charlie
On 26/10/2012 15:45, Salvatore Sanfilippo wrote:
> Hey Charlie,
>
> why is this a problem? It is common for PREFIX to be the "radix" and
> append to it /etc, /bin, and so forth.
>
> Also Redis is not a privileged executable, does not require any root
> privilege to run, and by default binds to a port > 1024, so /sbin is
> not its natural target IMHO.
>
> Cheers,
> Salvatore
>
> On Thu, Oct 25, 2012 at 5:12 PM, Charlie Orford <char...@charlie.is> wrote:
>> Hi List
>>
>> The README for 2.6.0. mentions one can change the default install directory
>> by passing PREFIX=/custom/path However, it seems the Makefile (line 84)
>> appends "bin" to this.
>>
>> I was trying to install to /usr/local/sbin and spent a few minutes
>> scratching my head before I realised the installer had placed everything in
>> /usr/local/sbin/bin :)
>>
>> I guess either the Makefile needs changing or the instructions in the README
>> file need updating to indicate "/bin" is appended to PREFIX.
>>
>> Cheers
>> Charlie
>>
>> P.S. I'm not 100% sure but I don't remember encountering this problem with
>> 2.6.0-rc5
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Redis DB" group.
>> To post to this group, send email to redis-db@googlegroups.com.
>> To unsubscribe from this group, send email to
>> redis-db+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/redis-db?hl=en.
>
>