[#7978] Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...>

This patch adds support for getting the uid and gid of the peer

27 messages 2006/06/09
[#8004] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...17n.org> 2006/06/16

In article <200606091528.30171.jfh@cise.ufl.edu>,

[#8005] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/06/16

On Friday 16 June 2006 11:51, Tanaka Akira wrote:

[#8010] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...17n.org> 2006/06/17

In article <200606161327.35948.jfh@cise.ufl.edu>,

[#8191] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/10

On Saturday 17 June 2006 06:27, Tanaka Akira wrote:

[#8193] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...> 2006/07/11

In article <200607101352.16804.jfh@cise.ufl.edu>,

[#8212] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/13

On Tuesday 11 July 2006 00:10, Tanaka Akira wrote:

[#8217] Re: Patch for Unix socket peer credentials — nobu@... 2006/07/14

Hi,

[#8257] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/18

On Thursday 13 July 2006 22:48, nobu@ruby-lang.org wrote:

[#8258] Re: Patch for Unix socket peer credentials — Eric Hodel <drbrain@...7.net> 2006/07/18

On Jul 18, 2006, at 12:27 PM, James F. Hranicky wrote:

[#8073] 1.8.5p1 build failure on Solaris 10 — "Daniel Berger" <Daniel.Berger@...>

Solaris 10

23 messages 2006/06/27
[#8074] Re: 1.8.5p1 build failure on Solaris 10 — Yukihiro Matsumoto <matz@...> 2006/06/28

Hi,

[#8078] Re: 1.8.5p1 build failure on Solaris 10 — "Daniel Berger" <Daniel.Berger@...> 2006/06/28

Yukihiro Matsumoto wrote:

[#8079] Re: 1.8.5p1 build failure on Solaris 10 — ts <decoux@...> 2006/06/28

>>>>> "D" == Daniel Berger <Daniel.Berger@qwest.com> writes:

[#8096] Re: 1.8.5p1 build failure on Solaris 10 — ville.mattila@... 2006/06/29

ts <decoux@moulon.inra.fr> wrote on 28.06.2006 17:37:00:

Re: Failing tests in ruby since 1.8.2

From: ara.t.howard@...
Date: 2006-06-06 15:08:52 UTC
List: ruby-core #7959
On Tue, 6 Jun 2006, Caleb Tennis wrote:

> The following tests have been failing in Ruby for a long time, including
> through today's snapshot:
>
> 1) Failure:
> test_delete(TestDBM) [./dbm/test_dbm.rb:332]:
> <DBMError> exception expected but none was thrown.
>
>  2) Failure:
> test_delete(TestGDBM) [./gdbm/test_gdbm.rb:441]:
> <GDBMError> exception expected but none was thrown.
>
>  3) Failure:
> test_s_open_error(TestGDBM) [./gdbm/test_gdbm.rb:199]:
> <Errno::EACCES> exception expected but was
> Class: <Errno::EAGAIN>
> Message: <"Resource temporarily unavailable - tmptest_gdbm">
> ---Backtrace---
> ./gdbm/test_gdbm.rb:200:in `open'
> ./gdbm/test_gdbm.rb:200:in `test_s_open_error'
> ./gdbm/test_gdbm.rb:199:in `test_s_open_error'
> ---------------
>
>  4) Failure:
> test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:122]:
> <Errno::EACCES> exception expected but none was thrown.
>
>
> It seems as though, at least for #1,2,4, they fail because they're testing
> for a write to a read-only file, but if run as root the write succeeds.
> Obviously you could say "don't run as root", which is feasible but our
> automated build process runs as a priviledged user capable of writing to
> the tmp directory which is what is causing these to fail.
>
> Is there an easy fix for this?

are you compiling as root?  if so be aware that the behaviour of the linker on
many systems is silently changed when doing this.

regards.

-a
-- 
suffering increases your inner strength.  also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama

In This Thread