Martin, you would be surprised what problems can be caused by your sudoers file,
in order for the aforementioned test to function your mac must allow the user root to use sudo to execute that command as nobody,
the error "Sorry, user root is not  allowed to execute '/bin/sh -c /var/tmp/tmp.0.uhk843' as nobody on  g5.cian.ws." is infact generated by the sudo command, and can be replicated outside of fink.
I believe your problem is infact caused by /etc/sudoers and to test this I would like to to try this:
in a terminal type:
su -l and enter root password
type: sudo -u nobody /bin/sh -c 'ls /tmp'
you may find me on freenode #fink from time to time, I don't believe this is a fink related problem, however it can easily be solved

below is my working custom /etc/sudoers :
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# User privilege specification
root    ALL=(ALL) ALL
%admin  ALL=(ALL) NOPASSWD: ALL
# end sudoers file.


Regards,

                       Cian Hughes

--

E  [EMAIL PROTECTED]

NIC Handle CIAN-6BONE

M +353-86-8465317

H +353-1-4991205

F +353-1-4900248


On 8 Beal 2005, at 12:07, Martin Costabel wrote:

I have not yet been able to update to the latest fink-0.24.5-21 on 10.4 unstable. I am getting the same error as the one Cian Hughes reported to the fink-seed list on April 15 and on April 29, see below.

He then claimed to have found that this was caused by a broken sudoers file. In my case, I don't think this can be the reason. As I find the perl test sources utterly incomprehensible, I would appreciate any help.

--
Martin

Cian Hughes wrote:

anyone else seen this:
make test
Creating fink...
Creating fink-virtual-pkgs...
Creating pathsetup.sh...
Creating FinkVersion.pm...
Creating man page...
Creating shlibs default file...
Creating postinstall script...
This first test is designed to die, so please ignore the error
message on the next line.
# Looks like your test died before it could output anything.
./00compile............................ok
./Base/initialize......................ok
./Base/param...........................ok
./Base/param_boolean...................ok
./Command/cat..........................ok
./Command/chowname.....................ok
./Command/commands.....................ok
./Command/du_sk........................ok
        1/6 skipped: can't test permission errors as root
./Command/exports......................ok
./Command/failure......................ok
./Command/touch........................ok
./Config/exports.......................ok
./Config/failure.......................ok
./Config/load_save.....................ok
./Config/options.......................ok
./Config/param.........................ok
./Config/verbosity_level...............ok
./FinkVersion/exports..................ok
./FinkVersion/version..................ok
./Mirror/exports.......................ok
./Notify/exports.......................ok
./Package/duplicate_fullnames..........ok
./PkgVersion/buildlocks................ok
./PkgVersion/get_perl..................ok
./PkgVersion/get_ruby..................ok
./PkgVersion/non_consecutive_source....ok
./Services/eval_conditional............ok
./Services/execute_nonroot_okay........ok 9/12Sorry, user root is not  allowed to execute '/bin/sh -c /var/tmp/tmp.0.uhk843' as nobody on  g5.cian.ws.
./Services/execute_nonroot_okay........ok 10/12Sorry, user root is  not allowed to execute '/bin/sh -c /var/tmp/tmp.1.ARlvjr' as nobody  on g5.cian.ws.
./Services/execute_nonroot_okay........NOK 11#     Failed test (./ Services/execute_nonroot_okay.t at line 103)
#          got: 1
#     expected: 0
Sorry, user root is not allowed to execute '/bin/sh -c /var/tmp/tmp. 2.Ez2vGB' as nobody on g5.cian.ws.
./Services/execute_nonroot_okay........NOK 12#     Failed test (./ Services/execute_nonroot_okay.t at line 116)
#          got: 1
#     expected: 0
# Looks like you failed 2 tests of 12.
./Services/execute_nonroot_okay........dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 11-12
        Failed 2/12 tests, 83.33% okay (less 1 skipped test: 9 okay,  75.00%)
./Services/expand_percent..............ok
./Services/prepare_script..............ok
./Text/DelimMatch......................ok
Failed Test                       Stat Wstat Total Fail  Failed  List  of Failed
------------------------------------------------------------------------ -------
./Services/execute_nonroot_okay.t    2   512    12    2  16.67%  11-12
2 subtests skipped.
Failed 1/31 test scripts, 96.77% okay. 2/701 subtests failed, 99.71%  okay.
make: *** [test] Error 1
### execution of make failed, exit code 2
Removing build lock...
dpkg -r fink-buildlock-fink-0.24.5-11
(Reading database ... 57397 files and directories currently installed.)
Removing fink-buildlock-fink-0.24.5-11 ...
Failed: phase compiling: fink-0.24.5-11 failed




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Fink-devel mailing list


Reply via email to