GNU bug report logs - #25259
gnu tools conform to ?? older posix?

Previous Next

Package: coreutils;

Reported by: "L. A. Walsh" <coreutils <at> tlinx.org>

Date: Sat, 24 Dec 2016 09:41:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25259 in the body.
You can then email your comments to 25259 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#25259; Package coreutils. (Sat, 24 Dec 2016 09:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "L. A. Walsh" <coreutils <at> tlinx.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 24 Dec 2016 09:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "L. A. Walsh" <coreutils <at> tlinx.org>
To: bug-coreutils <at> gnu.org
Subject: gnu tools conform to ?? older posix?
Date: Sat, 24 Dec 2016 01:39:42 -0800
In the 8.26 NEWS file, I found this paragraph:

 These programs are intended to conform to POSIX (with BSD and other
 extensions), like the rest of the GNU system.  By default they conform
 to older POSIX (1003.2-1992), and therefore support obsolete usages
 like "head -10" and "chown owner.group file".  This default is
 overridden at build-time by ... and in turn can be overridden
 at runtime ...

----

I don't think the above is correct w/r/t "rm" with its previous
functionality removed to enforce compliance with the latest POSIX
(not the 1992 POSIX).

I'm pretty sure that the 1992 version of POSIX didn't override
the historical design and behavior of "rm" by disabling
the "depth-first" removal of files if you specified "DIRNAME/.",
and generating an error message at the end (suppressible with
the "-f" switch).

As GNU utils strive for compliance w/the older POSIX standard,
I would like for rm's functionality to be restored. 

In order to make it more useful, I ask that the --one-file-system
switch have a short-form, "-x", to indicate negation of crossing
file-system boundaries.

Thanks & Cheers!
 :-) Linda







Information forwarded to bug-coreutils <at> gnu.org:
bug#25259; Package coreutils. (Tue, 27 Dec 2016 18:15:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#25259: gnu tools conformance issues
Date: Tue, 27 Dec 2016 10:13:36 -0800
L. A. Walsh wrote:
> In the 8.26 NEWS file, I found this paragraph:
>
>  These programs are intended to conform to POSIX (with BSD and other
>  extensions), like the rest of the GNU system.  By default they conform
>  to older POSIX (1003.2-1992), and therefore support obsolete usages
>  like "head -10" and "chown owner.group file".  This default is
>  overridden at build-time by ... and in turn can be overridden
>  at runtime ...
----
   Delving into this a bit more.  I note that the distro
that I use tries to specify the POSIX version for coreutils
by passing flags to 'configure':

 DEFAULT_POSIX2_VERSION=200112 \
 alternative=199209

They are explicitly configuring coreutils to build to a
specific version as documented in the NEWS file. 

I.e. besides individuals who have asked that the older
standards be supported, some distros are, also, running
configure with specific POSIX versions listed. 

Just a guess, but perhaps they don't want unexpected
behaviors to crop up in the coreutil tools that might
necessitate changing an unknown number of other
tools dependent on the old formats/behaviors(?).







Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 27 Dec 2016 23:06:01 GMT) Full text and rfc822 format available.

Notification sent to "L. A. Walsh" <coreutils <at> tlinx.org>:
bug acknowledged by developer. (Tue, 27 Dec 2016 23:06:02 GMT) Full text and rfc822 format available.

Message #13 received at 25259-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "L. A. Walsh" <coreutils <at> tlinx.org>, 25259-done <at> debbugs.gnu.org
Subject: Re: bug#25259: gnu tools conform to ?? older posix?
Date: Tue, 27 Dec 2016 15:05:39 -0800
[Message part 1 (text/plain, inline)]
L. A. Walsh wrote:
> I don't think the above is correct w/r/t "rm" with its previous
> functionality removed to enforce compliance with the latest POSIX
> (not the 1992 POSIX).

Yes, that part of README is obsolete. I installed the attached to fix that and 
am closing this bug report. Although my impression is that you also want 'rm' to 
be changed, that would be a topic for a different bug report.
[0001-doc-Update-POSIX-part-of-README-Bug-25259.patch (text/x-diff, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.