coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.27 released [stable]


From: Michael Felt
Subject: Re: coreutils-8.27 released [stable]
Date: Thu, 27 Jul 2017 11:58:46 +0200

On AIX - I expect the reason this test fails:

FAIL: tests/id/setgid
=====================


comes from the logic here:
...
+ local rm_version=8.27.4-3c9d7
+ case ":$rm_version:" in
+ gp1=4294967294
++ expr 4294967294 + 1
+ gp1=4294967295
+ echo 4294967295
+ chroot --skip-chdir --user=nobody:+4294967295 --groups= / env
PATH=/home/michael/coreutils-8.27.4-3c9d7/./src:/data/prj
/gnu/coreutils/coreutils-8.27.4-3c9d7/src:/opt/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6/jre/bin
:/usr/java6/bin:/usr/vacpp/bin:/home/michael/bin:/opt/svn/bin id -G
chroot: invalid group

...
It has been a long long time, but from memory the userid and groupid
-1 (aka +4294967295) are reserved on AIX since forever. The accepted
values for nobody:nobody are -2:-2 aka 4294967294:4294967294

michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]grep nobody
/etc/passwd /etc/group
/etc/passwd:nobody:!:4294967294:4294967294::/:
/etc/group:nobody:!:4294967294:nobody,lpd

>From the command line - some feedback -

michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]touch xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root felt 0 Jul 27 09:43 xx


michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp --version
chgrp (GNU coreutils) 8.27.4-3c9d7
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie and Jim Meyering.
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp 4294967294 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root nobody 0 Jul 27 09:43 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp 4294967295 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root nobody 0 Jul 27 09:43 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp felt xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp 4294967295 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root felt 0 Jul 27 09:43 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp 4294967293 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root 4294967293 0 Jul 27 09:43 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]id
uid=0(root) gid=0(system)
groups=0(system),2(bin),3(sys),7(security),8(cron),10(audit),11(lp),13(dbsysadm),207(idsldap)

Note: src/chmod does not give an error status!!

michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]src/chgrp 4294967295 xx
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]echo $?
0
michael@x071:[/home/michael/coreutils-8.27.4-3c9d7]ls -l xx
-rw------- 1 root 4294967293 0 Jul 27 09:43 xx


On Thu, Jul 27, 2017 at 11:35 AM, Michael Felt <address@hidden> wrote:
> Seems I was sending mails to myself before my vacation. As I am behind
> a firewall that won't let me use my VPN - back to gmail :)
>
> Anyway, after applying your two patches - this is the result on
> http://download.aixtools.net/test/test-suite-ksh-AIX6109-root-jfs2.log
>
> I'll forward the "expensive and VERBOSE" tests I ran last June. Sigh.
>
> Michael
>
> On Wed, Jun 21, 2017 at 6:33 PM, Pádraig Brady <address@hidden> wrote:
>> On 21/06/17 03:39, Michael Felt wrote:
>>> So, after downloading the tarball, and updating local.mk I was able to
>>> build from the sources.
>>>
>>> Will provide the details later, but summary of "make check" is:
>>>
>>> ============================================================================
>>> Testsuite summary for GNU coreutils 8.27.4-3c9d7
>>> ============================================================================
>>> # TOTAL: 592
>>> # PASS:  412
>>> # SKIP:  177
>>> # XFAIL: 0
>>> # FAIL:  3
>>> # XPASS: 0
>>> # ERROR: 0
>>> ============================================================================
>>> See ./tests/test-suite.log
>>> Please report to address@hidden
>>> ============================================================================
>>
>> Add VERBOSE=yes to the make check to get more details in tests/test-suite.log
>> (and you might attached that?)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]