From MAILER-DAEMON Sun Apr 02 20:05:18 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cupUk-0007Er-Hk
	for mharc-coreutils@gnu.org; Sun, 02 Apr 2017 20:05:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52248)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cupUg-0007El-UR
	for coreutils@gnu.org; Sun, 02 Apr 2017 20:05:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cupUd-0002ki-La
	for coreutils@gnu.org; Sun, 02 Apr 2017 20:05:14 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:39242
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1cupUd-0002j5-9x
	for coreutils@gnu.org; Sun, 02 Apr 2017 20:05:11 -0400
Received: from localhost.localdomain (mobile-166-137-178-049.mycingular.net
	[166.137.178.49])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 4CDD2253;
	Mon,  3 Apr 2017 01:05:07 +0100 (IST)
Subject: Re: [PATCH RFC] expand: add support for incremental tab stops
To: Jacob Keller <jacob.e.keller@intel.com>, coreutils@gnu.org
References: <20170328224950.13414-1-jacob.e.keller@intel.com>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <c9c204d4-140c-538f-86d0-11e4f49b8dca@draigBrady.com>
Date: Sun, 2 Apr 2017 17:05:03 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170328224950.13414-1-jacob.e.keller@intel.com>
Content-Type: multipart/mixed; boundary="------------DEB48B34AEEFFBCA788C072C"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Apr 2017 00:05:17 -0000

This is a multi-part message in MIME format.
--------------DEB48B34AEEFFBCA788C072C
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Jacob,

I adjusted your patch as follows:

 - Added NEWS, texinfo
 - Fixed/adjusted the test
 - Fixed/adjusted finalize_tab_stops() to fix bug caught by the test
 - Adjusted error handling to give more consistent errors

I also adjusted the --help for both expand and unexpand,
which I did as a separate patch (attached)
I'll apply both of these later.

thanks,
P=E1draig.

--------------DEB48B34AEEFFBCA788C072C
Content-Type: text/x-patch;
 name="expand-tab-offset.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="expand-tab-offset.patch"

=46rom 9daef34543cc3267ec8e2cc22488bf202448ed84 Mon Sep 17 00:00:00 2001
From: Jacob Keller <jacob.e.keller@intel.com>
Date: Tue, 28 Mar 2017 15:49:50 -0700
Subject: [PATCH 1/2] expand,unexpand: add support for incremental tab sto=
ps

Support --tabs=3D"1,+8" which is equivalent to --tabs=3D"1,9,17,..."
useful for viewing unified diff output with its 1 character
gutter for example.

* doc/coreutils.texi ({expand,unexpand} invocation): Document,
using diff processing as the example.
* src/expand-common.c (set_increment_size): Update the new
increment_size global.
(parse_tab_stops): Handle the new '+' prefix.
(finalize_tab_stops): Verify both '+' and '/' prefixes
are not used together.
* tests/misc/expand.pl: Add test cases.
* NEWS: Mention the new feature.
---
 NEWS                 |  4 ++++
 doc/coreutils.texi   |  8 +++++++
 src/expand-common.c  | 60 ++++++++++++++++++++++++++++++++++++++++++++++=
++++--
 tests/misc/expand.pl | 16 ++++++++++++++
 4 files changed, 86 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 47d237b..7f2d895 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,10 @@ GNU coreutils NEWS                                    =
-*- outline -*-
=20
 ** New features
=20
+  expand and unexpand now support specifying an offset for tab stops
+  by prefixing the last specified number like --tabs=3D1,+8 which is
+  useful for visualizing diff output for example.
+
   split supports a new --hex-suffixes[=3Dfrom] option to create files wi=
th
   lower case hexadecimal suffixes, similar to the --numeric-suffixes opt=
ion.
=20
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index b8e24aa..c22e076 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7056,10 +7056,18 @@ If only one tab stop is given, set the tabs @var{=
tab1} spaces apart
 last tab stop given with single spaces.
 @macro gnuExpandTabs
 Tab stops can be separated by blanks as well as by commas.
+
 As a GNU extension the last @var{tab} specified can be prefixed
 with a @samp{/} to indicate a tab size to use for remaining positions.
 For example, @option{--tabs=3D2,4,/8} will set tab stops at position 2 a=
nd 4,
 and every multiple of 8 after that.
+
+Also the last @var{tab} specified can be prefixed with a @samp{+} to ind=
icate
+a tab size to use for remaining positions, offset from the final explici=
tly
+specified tab stop.
+For example, to ignore the 1 character gutter present in diff output,
+one can specify a 1 character offset using @option{--tabs=3D1,+8},
+which will set tab stops at positions 1,9,17,@dots{}
 @end macro
 @gnuExpandTabs
=20
diff --git a/src/expand-common.c b/src/expand-common.c
index e1b549f..05e5bec 100644
--- a/src/expand-common.c
+++ b/src/expand-common.c
@@ -38,6 +38,9 @@ static uintmax_t tab_size =3D 0;
 /* If nonzero, the size of all tab stops after the last specifed.  */
 static uintmax_t extend_size =3D 0;
=20
+/* If nonzero, an increment for additional tab stops after the last spec=
ified.*/
+static uintmax_t increment_size =3D 0;
+
 /* The maximum distance between tab stops.  */
 size_t max_column_width;
=20
@@ -106,6 +109,23 @@ set_extend_size (uintmax_t tabval)
   return ok;
 }
=20
+static bool
+set_increment_size (uintmax_t tabval)
+{
+  bool ok =3D true;
+
+  if (increment_size)
+    {
+      error (0,0,
+             _("'+' specifier only allowed"
+               " with the last value"));
+      ok =3D false;
+    }
+  increment_size =3D tabval;
+
+  return ok;
+}
+
 /* Add the comma or blank separated list of tab stops STOPS
    to the list of tab stops.  */
 extern void
@@ -114,6 +134,7 @@ parse_tab_stops (char const *stops)
   bool have_tabval =3D false;
   uintmax_t tabval =3D 0;
   bool extend_tabval =3D false;
+  bool increment_tabval =3D false;
   char const *num_start =3D NULL;
   bool ok =3D true;
=20
@@ -131,6 +152,14 @@ parse_tab_stops (char const *stops)
                       break;
                     }
                 }
+              else if (increment_tabval)
+                {
+                  if (! set_increment_size (tabval))
+                    {
+                      ok =3D false;
+                      break;
+                    }
+                }
               else
                 add_tab_stop (tabval);
             }
@@ -145,6 +174,18 @@ parse_tab_stops (char const *stops)
               ok =3D false;
             }
           extend_tabval =3D true;
+          increment_tabval =3D false;
+        }
+      else if (*stops =3D=3D '+')
+        {
+          if (have_tabval)
+            {
+              error (0, 0, _("'+' specifier not at start of number: %s")=
,
+                     quote (stops));
+              ok =3D false;
+            }
+          increment_tabval =3D true;
+          extend_tabval =3D false;
         }
       else if (ISDIGIT (*stops))
         {
@@ -179,6 +220,8 @@ parse_tab_stops (char const *stops)
     {
       if (extend_tabval)
         ok &=3D set_extend_size (tabval);
+      else if (increment_tabval)
+        ok &=3D set_increment_size (tabval);
       else
         add_tab_stop (tabval);
     }
@@ -204,6 +247,9 @@ validate_tab_stops (uintmax_t const *tabs, size_t ent=
ries)
         die (EXIT_FAILURE, 0, _("tab sizes must be ascending"));
       prev_tab =3D tabs[i];
     }
+
+  if (increment_size && extend_size)
+    die (EXIT_FAILURE, 0, _("'/' specifier is mutually exclusive with '+=
'"));
 }
=20
 /* Called after all command-line options have been parsed,
@@ -220,8 +266,10 @@ finalize_tab_stops (void)
   validate_tab_stops (tab_list, first_free_tab);
=20
   if (first_free_tab =3D=3D 0)
-    tab_size =3D max_column_width =3D extend_size ? extend_size : 8;
-  else if (first_free_tab =3D=3D 1 && ! extend_size)
+    tab_size =3D max_column_width =3D extend_size
+                                  ? extend_size : increment_size
+                                                  ? increment_size : 8;
+  else if (first_free_tab =3D=3D 1 && ! extend_size && ! increment_size)=

     tab_size =3D tab_list[0];
   else
     tab_size =3D 0;
@@ -251,6 +299,14 @@ get_next_tab_column (const uintmax_t column, size_t*=
 tab_index,
   if (extend_size)
     return column + (extend_size - column % extend_size);
=20
+  /* incremental last tab - add increment_size to the previous tab stop =
*/
+  if (increment_size)
+    {
+      uintmax_t end_tab =3D tab_list[first_free_tab - 1];
+
+      return column + (increment_size - ((column - end_tab) % increment_=
size));
+    }
+
   *last_tab =3D true;
   return 0;
 }
diff --git a/tests/misc/expand.pl b/tests/misc/expand.pl
index b04d2e7..7fe7830 100755
--- a/tests/misc/expand.pl
+++ b/tests/misc/expand.pl
@@ -146,11 +146,27 @@ my @Tests =3D
    ['trail3', '--tabs=3D1,2,/5', {IN=3D>"\ta\tb\tc"}, {OUT=3D>" a   b   =
 c"}],
    ['trail4', '--tabs=3D/5',     {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
    ['trail5', '--tabs=3D//5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['trail5a','--tabs=3D+/5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
    ['trail6', '--tabs=3D/,/5',   {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
    ['trail7', '--tabs=3D,/5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
    ['trail8', '--tabs=3D1 -t/5', {IN=3D>"\ta\tb\tc"}, {OUT=3D>" a   b   =
 c"}],
    ['trail9', '--tab=3D1,2 -t/5',{IN=3D>"\ta\tb\tc"}, {OUT=3D>" a   b   =
 c"}],
=20
+   # Test incremental trailing '+' feature which specifies that
+   # tab stops should continue every increment
+   ['incre0', '--tab=3D1,+5',    {IN=3D>"+\t\ta\tb"}, {OUT=3D>"+        =
  a    b"}],
+   ['incre1', '--tabs=3D1,+5',   {IN=3D>"\ta\tb\tc"}, {OUT=3D>" a    b  =
  c"}],
+   ['incre2', '--tabs=3D2,+5',   {IN=3D>"\ta\tb\tc"}, {OUT=3D>"  a    b =
   c"}],
+   ['incre3', '--tabs=3D1,2,+5', {IN=3D>"\ta\tb\tc"}, {OUT=3D>" a     b =
   c"}],
+   ['incre4', '--tabs=3D+5',     {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['incre5', '--tabs=3D++5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['incre5a','--tabs=3D/+5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['incre6', '--tabs=3D+,+5',   {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['incre7', '--tabs=3D,+5',    {IN=3D>"\ta\tb"},    {OUT=3D>"     a   =
 b"}],
+   ['incre8', '--tabs=3D1 -t+5', {IN=3D>"\ta\tb\tc"}, {OUT=3D>" a    b  =
  c"}],
+   ['incre9', '--tab=3D1,2 -t+5',{IN=3D>"\ta\tb\tc"}, {OUT=3D>" a     b =
   c"}],
+
+
    # Test errors
    ['e1', '--tabs=3D"a"', {IN=3D>''}, {OUT=3D>''}, {EXIT=3D>1},
     {ERR =3D> "$prog: tab size contains invalid character(s): 'a'\n"}],
--=20
2.9.3


=46rom 4c85c757e55c1b75635672624632e3e6c92c5dd1 Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?P=3DC3=3DA1draig=3D20Brady?=3D <P@draigBrady.com>
Date: Sun, 2 Apr 2017 16:52:34 -0700
Subject: [PATCH 2/2] doc: refactor and update expand and unexpand --help

* src/expand-common.c (emit_tab_list_info): A new function to
output the extended info on --tab=3DLIST, including the new
'+' and '/' prefixes.
* src/expand-common.h: Declare the above.
* src/expand.c (usage:): Call emit_tab_list_info and
match alignment with that used in unexpand --help.
* src/unexpand.c (usage): Likewise.
---
 src/expand-common.c | 17 +++++++++++++++++
 src/expand-common.h |  4 ++++
 src/expand.c        |  8 +++-----
 src/unexpand.c      |  2 +-
 4 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/src/expand-common.c b/src/expand-common.c
index 05e5bec..8c83fb3 100644
--- a/src/expand-common.c
+++ b/src/expand-common.c
@@ -382,3 +382,20 @@ cleanup_file_list_stdin (void)
     if (have_read_stdin && fclose (stdin) !=3D 0)
       die (EXIT_FAILURE, errno, "-");
 }
+
+
+extern void
+emit_tab_list_info (void)
+{
+  /* suppress syntax check for emit_mandatory_arg_note() */
+  fputs (_("\
+  -t, --tabs=3DLIST  use comma separated list of tab positions\n\
+"), stdout);
+  fputs (_("\
+                     The last specified position can be prefixed with '/=
'\n\
+                     to specify a tab size to use after the last\n\
+                     explicitly specified tab stop.  Also a prefix of '+=
'\n\
+                     can be used to align remaining tab stops relative t=
o\n\
+                     the last specified tab stop instead of the first co=
lumn\n\
+"), stdout);
+}
diff --git a/src/expand-common.h b/src/expand-common.h
index 5eec99d..8cc6ebe 100644
--- a/src/expand-common.h
+++ b/src/expand-common.h
@@ -70,3 +70,7 @@ next_file (FILE *fp);
 /* */
 extern void
 cleanup_file_list_stdin (void);
+
+
+extern void
+emit_tab_list_info (void);
diff --git a/src/expand.c b/src/expand.c
index 2b7781c..1e78316 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -78,12 +78,10 @@ Convert tabs in each FILE to spaces, writing to stand=
ard output.\n\
       emit_mandatory_arg_note ();
=20
       fputs (_("\
-  -i, --initial       do not convert tabs after non blanks\n\
-  -t, --tabs=3DNUMBER   have tabs NUMBER characters apart, not 8\n\
-"), stdout);
-      fputs (_("\
-  -t, --tabs=3DLIST     use comma separated list of explicit tab positio=
ns\n\
+  -i, --initial    do not convert tabs after non blanks\n\
+  -t, --tabs=3DN     have tabs N characters apart, not 8\n\
 "), stdout);
+      emit_tab_list_info ();
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_ancillary_info (PROGRAM_NAME);
diff --git a/src/unexpand.c b/src/unexpand.c
index fd334dd..60c9422 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -90,8 +90,8 @@ Convert blanks in each FILE to tabs, writing to standar=
d output.\n\
   -a, --all        convert all blanks, instead of just initial blanks\n\=

       --first-only  convert only leading sequences of blanks (overrides =
-a)\n\
   -t, --tabs=3DN     have tabs N characters apart instead of 8 (enables =
-a)\n\
-  -t, --tabs=3DLIST  use comma separated LIST of tab positions (enables =
-a)\n\
 "), stdout);
+      emit_tab_list_info ();
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_ancillary_info (PROGRAM_NAME);
--=20
2.9.3


--------------DEB48B34AEEFFBCA788C072C--


From MAILER-DAEMON Sun Apr 02 23:45:54 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cuswD-0006cH-WF
	for mharc-coreutils@gnu.org; Sun, 02 Apr 2017 23:45:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32795)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cuswB-0006cB-UJ
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:45:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cuswB-0005o7-1l
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:45:51 -0400
Received: from dragora.org ([69.61.93.52]:46350 helo=mail.dragora.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>)
	id 1cusw7-0005iz-8d; Sun, 02 Apr 2017 23:45:47 -0400
Received: from rafaela (unknown [200.3.217.63])
	by mail.dragora.org (Postfix) with ESMTPSA id A749A342032;
	Mon,  3 Apr 2017 03:44:30 +0000 (UTC)
Date: Sun, 2 Apr 2017 12:44:58 -0300
From: Matias Fonzo <selk@dragora.org>
To: Michael Stone <mstone@debian.org>
Cc: Antonio Diaz Diaz <antonio@gnu.org>, coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170402124458.32351e33@rafaela>
In-Reply-To: <3c1a6cd8-1548-11e7-9b6a-00163eeb5320@msgid.mathom.us>
References: <58DCE852.1050504@gnu.org>
	<3c1a6cd8-1548-11e7-9b6a-00163eeb5320@msgid.mathom.us>
Organization: Dragora GNU/Linux-Libre
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	boundary="Sig_/Qf.BOWBQe7.wbZcLKtf9vCq";
	protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 69.61.93.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Apr 2017 03:45:53 -0000

--Sig_/Qf.BOWBQe7.wbZcLKtf9vCq
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 30 Mar 2017 08:57:40 -0400
Michael Stone <mstone@debian.org> wrote:

> On Thu, Mar 30, 2017 at 01:13:22PM +0200, Antonio Diaz Diaz wrote:
> >(i.e. checking the data before decompressing it) is not enough
> >because the probability of undetected decompression errors is not
> >negligible.  =20
>=20
> And yet, the reports of crc errors being triggered in the real world=20
> seem pretty sparse, no? This seems like one of those issues where=20
> there's a set of people who get really, really passionate over it,
> but the real impact seems pretty negligable.=20
>=20

Maybe it doesn't happen often but that is not a good argument -- it will
happen.


--Sig_/Qf.BOWBQe7.wbZcLKtf9vCq
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQJ8BAEBCgBmBQJY4Rx7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz
QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVwDAP/2olJH4ZQnMhaMPG8CKgIHV5
rKWyQAZb1/OeK6hJbHNs3vzIJOxTqOciCOzlGRJhcw3GGujMSzB3pRnaC9L5Wpfz
ivQ+4T82Y5nZPvXw+PuSAsnwsOPxcfOCpTnjuiJ6N7fVi7mHPxOfDGQVMsE9cF4k
pAPDxfD9UbyzcKqjfQZv+JoBVva8oYbvKUfJeFWQb7dfDiG1fwEqZ+QkzqD3Ln9U
fto3jWqDO5t1KLSn7UdphSe+7vYWungxQkFPlk1fm5r6kjWaOdJwocFwWFGoiQsw
xJAgAarsLeAQiuwuECgpuTtDq9TB+Jij36OyMURtBtR8gYF6whmZgwYTiNGCqCom
KP0LVrdZegDFKXnUbHlSK0H4xirOLsiHSdoOMRRRrvE4dBXUpdE72GwCq5NZ/Wst
bu904lrICNVbmXGIl8fyQP60E0a2x93kIegYNZJznfPZTcdyCS8amrH8+12RoCjg
aNdkdD0PLQ1zPWOIk4crbG0jaNkTKSQn7XW7FLHsz8yZQb5125/egzF672slJRrs
pWrypgc9vS6VgGoMuvlrd0XHJioYB6mBWTXvm+aAsQguA4NvLJKyVwjk35ymkAOU
LXhT0orHm//WLUVktM3IVD9YYZ699e3BQ6hyTdqcka7+inZ8f00OQwSoZsrSDa9x
R3/Uuxle3flZM20+4so3
=h/dB
-----END PGP SIGNATURE-----

--Sig_/Qf.BOWBQe7.wbZcLKtf9vCq--


From MAILER-DAEMON Sun Apr 02 23:51:55 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cut23-0007GX-HO
	for mharc-coreutils@gnu.org; Sun, 02 Apr 2017 23:51:55 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33596)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cut20-0007GH-VK
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:51:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cut1x-0001vi-TD
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:51:53 -0400
Received: from dragora.org ([69.61.93.52]:46360 helo=mail.dragora.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cut1x-0001v5-OH
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:51:49 -0400
Received: from rafaela (unknown [200.3.217.63])
	by mail.dragora.org (Postfix) with ESMTPSA id 643A634232E;
	Mon,  3 Apr 2017 03:50:34 +0000 (UTC)
Date: Sun, 2 Apr 2017 12:51:15 -0300
From: Matias Fonzo <selk@dragora.org>
To: =?UTF-8?B?UMOhZHJhaWc=?= Brady <P@draigBrady.com>
Cc: Ariel Santana Naranjo <snariel@gmail.com>, coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170402125115.2abccad6@rafaela>
In-Reply-To: <27b8a8a9-23d7-a82b-47da-52f75b42347b@draigBrady.com>
References: <CAO10BC=1Cg5jGOXOGTFBKf05wF3LFYwZXXCRzetOSdk0A-KJyw@mail.gmail.com>
	<5ed7768a-b61c-832a-37a2-6765c468d4af@draigBrady.com>
	<CAO10BCk9D367HRMz6UhNGMhbDpR2unPO59jezcN9-sw7+grYbw@mail.gmail.com>
	<3e082404-36d7-e044-d70e-f2127d93d1fc@draigBrady.com>
	<CAO10BCmSkuZ3aaNy6RYj+2d9GJx=bn1dFy9RL_ZwryXz5F=mNQ@mail.gmail.com>
	<e06e09c2-1361-11e7-9b6a-00163eeb5320@msgid.mathom.us>
	<27b8a8a9-23d7-a82b-47da-52f75b42347b@draigBrady.com>
Organization: Dragora GNU/Linux-Libre
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	boundary="Sig_/f/_2YDahSkzgtESYPE88T+v";
	protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 69.61.93.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Apr 2017 03:51:54 -0000

--Sig_/f/_2YDahSkzgtESYPE88T+v
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello P=C3=A1draig,

On Mon, 27 Mar 2017 20:28:35 -0700
P=C3=A1draig Brady <P@draigBrady.com> wrote:

> On 27/03/17 19:55, Michael Stone wrote:
> > On Mon, Mar 27, 2017 at 11:47:10PM +0100, Ariel Santana Naranjo
> > wrote: =20
> >> If changing xz's options can't fix the problem, would you re-add a
> >> second format?  Until coreutils-8.13 the tarball was distributed
> >> in two formats.  I think adding a second format would fix the
> >> problem for busybox and for pristine-tar because xz seems to be
> >> the only format affected by these problems! =20
> >=20
> > What, exactly, is the problem? =20
>=20
> busybox's unxz can't detect bit errors during uncompression
> due to not supporting the default crc64 checksum generated by xz.
> It could if you generate the tarball with xz --check=3Dcrc32.
> Though I don't think it's practical to adjust all projects
> to pass this option to xz; rather adding crc64 support to
> unxz seems like the best approach.
>=20
> Note if you're extracting the tarball then you're not on a
> deeply embedded device without a compiler etc. so it would
> be surprising that xz would not be available.

Err, busybox supplies xz...

> Even in that extreme edge case, you could use an intermediate
> system to extract and checksum the data.

What if this intermediate system is not available?.


--Sig_/f/_2YDahSkzgtESYPE88T+v
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQJ8BAEBCgBmBQJY4R3zXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz
QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVoYUP/Rt1AvanV+YmMlL04MeH07Gc
7kvV4va8mIE7BVs9kZnTexAfxkOGHf+H4YG62CUuELgleCVbhZ2NBDibRiu2vpid
ywkrpV6RadjwJlu/N9dJU5bEvah6SWvFe4Hq4yXOPhrvBITdlX37+6PpoxvXYxft
zjsjMDfxnALuPjHx6XvmNnmQ/0MaYF+eb0SaDMytDQI9nrZuR2UP6a5P2HffzgcX
cOEBTCSxnojEnS7ttkyOqU/zmq/V7bGSedpHc3CaMfQhDwY1enADb3rOdvS0i2Br
luPzEfL22YrfmyoAX3pSb2hBz/wknMnR8FG7qSYaoCIutqviA4gC3JKY3CSWsQT4
99aLvlmS089WBPcIuXuLS62mrcI4nBSUKeE6Szb/z28vi1nzt3cAm1l3JyNYzxOJ
6rea7PHb4nqOrXkRkPBF5jNlktD2CtyhUvOfYAjGY0+oJcQidYGPRWDXgEr5Y1EW
7O18JANhKiqc+FjvZ0DPPjndv3UiM4hmzgXrSaTUGE3XjjlXhBgKZtveY71DNHn+
rl0IEG/Ea1FQLKnu2+kwJOs0ieP/qUvFY+ihNOYg5B0rmDY+1m9YmZFpbB3VqpsG
imbIkpSaFYz0hlSv8zJTJagc0cZ3YPwrgoTQNfR4WGvtR6Ft1s4beR1zN/gkK3ms
2m1v0F/ygIkRUDtXHIdl
=nWql
-----END PGP SIGNATURE-----

--Sig_/f/_2YDahSkzgtESYPE88T+v--


From MAILER-DAEMON Sun Apr 02 23:56:47 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cut6l-0007h8-36
	for mharc-coreutils@gnu.org; Sun, 02 Apr 2017 23:56:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34153)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cut6i-0007h2-O9
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:56:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cut6f-0008Jp-Lc
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:56:44 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:39716
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1cut6f-0008J4-EH
	for coreutils@gnu.org; Sun, 02 Apr 2017 23:56:41 -0400
Received: from localhost.localdomain (mobile-166-137-178-049.mycingular.net
	[166.137.178.49])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 8A8FD8A;
	Mon,  3 Apr 2017 04:56:35 +0100 (IST)
Subject: Re: Please, use --check=crc32 or switch to a safe format
To: Matias Fonzo <selk@dragora.org>
References: <CAO10BC=1Cg5jGOXOGTFBKf05wF3LFYwZXXCRzetOSdk0A-KJyw@mail.gmail.com>
	<5ed7768a-b61c-832a-37a2-6765c468d4af@draigBrady.com>
	<CAO10BCk9D367HRMz6UhNGMhbDpR2unPO59jezcN9-sw7+grYbw@mail.gmail.com>
	<3e082404-36d7-e044-d70e-f2127d93d1fc@draigBrady.com>
	<CAO10BCmSkuZ3aaNy6RYj+2d9GJx=bn1dFy9RL_ZwryXz5F=mNQ@mail.gmail.com>
	<e06e09c2-1361-11e7-9b6a-00163eeb5320@msgid.mathom.us>
	<27b8a8a9-23d7-a82b-47da-52f75b42347b@draigBrady.com>
	<20170402125115.2abccad6@rafaela>
Cc: Ariel Santana Naranjo <snariel@gmail.com>, coreutils@gnu.org
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <3b41071a-0b34-e03b-00f5-04dc6e19e70b@draigBrady.com>
Date: Sun, 2 Apr 2017 20:56:31 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170402125115.2abccad6@rafaela>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Apr 2017 03:56:45 -0000

On 02/04/17 08:51, Matias Fonzo wrote:
> Hello P=C3=A1draig,
>=20
> On Mon, 27 Mar 2017 20:28:35 -0700
> P=C3=A1draig Brady <P@draigBrady.com> wrote:
>=20
>> On 27/03/17 19:55, Michael Stone wrote:
>>> On Mon, Mar 27, 2017 at 11:47:10PM +0100, Ariel Santana Naranjo
>>> wrote: =20
>>>> If changing xz's options can't fix the problem, would you re-add a
>>>> second format?  Until coreutils-8.13 the tarball was distributed
>>>> in two formats.  I think adding a second format would fix the
>>>> problem for busybox and for pristine-tar because xz seems to be
>>>> the only format affected by these problems! =20
>>>
>>> What, exactly, is the problem? =20
>>
>> busybox's unxz can't detect bit errors during uncompression
>> due to not supporting the default crc64 checksum generated by xz.
>> It could if you generate the tarball with xz --check=3Dcrc32.
>> Though I don't think it's practical to adjust all projects
>> to pass this option to xz; rather adding crc64 support to
>> unxz seems like the best approach.
>>
>> Note if you're extracting the tarball then you're not on a
>> deeply embedded device without a compiler etc. so it would
>> be surprising that xz would not be available.
>=20
> Err, busybox supplies xz...

Sure. But my point was if you're compiling on this system,
a crc64 capable xz shouldn't be too hard to obtain.

>> Even in that extreme edge case, you could use an intermediate
>> system to extract and checksum the data.
>=20
> What if this intermediate system is not available?.

See point above.
Anyway the general point of this thread is that
fixing this with options to each generator of xz is not practical.
Either the default xz crc should be changed to crc32,
or more likely busybox xz would gain crc64 support.

cheers,
P=C3=A1draig


From MAILER-DAEMON Mon Apr 03 18:42:24 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvAg4-00075c-4V
	for mharc-coreutils@gnu.org; Mon, 03 Apr 2017 18:42:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37528)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jacob.e.keller@intel.com>) id 1cvAg0-00074x-Lv
	for coreutils@gnu.org; Mon, 03 Apr 2017 18:42:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jacob.e.keller@intel.com>) id 1cvAfy-0000iV-4q
	for coreutils@gnu.org; Mon, 03 Apr 2017 18:42:20 -0400
Received: from mga14.intel.com ([192.55.52.115]:21947)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <jacob.e.keller@intel.com>)
	id 1cvAfx-0000gg-OT
	for coreutils@gnu.org; Mon, 03 Apr 2017 18:42:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
	d=intel.com; i=@intel.com; q=dns/txt; s=intel;
	t=1491259337; x=1522795337;
	h=from:to:subject:date:message-id:references:in-reply-to:
	content-transfer-encoding:mime-version;
	bh=zgrdXXIrMHyQLk/MfOfxBiIz6Ve5uubaZfHmxeveyk8=;
	b=fpPHW9hBQH7YskF7rSeV62z6vJ4iJOaYKHPsUHk2uRfXjeX4VWZ+hXvR
	5KFHFBFmnIvH+dX+S1pi21OJfVFqxA==;
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
	by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
	03 Apr 2017 15:42:13 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.36,272,1486454400"; d="scan'208";a="1150449745"
Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133])
	by fmsmga002.fm.intel.com with ESMTP; 03 Apr 2017 15:42:13 -0700
Received: from orsmsx115.amr.corp.intel.com ([169.254.4.44]) by
	ORSMSX106.amr.corp.intel.com ([169.254.1.218]) with mapi id
	14.03.0319.002; Mon, 3 Apr 2017 15:42:13 -0700
From: "Keller, Jacob E" <jacob.e.keller@intel.com>
To: =?utf-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>, "coreutils@gnu.org"
	<coreutils@gnu.org>
Subject: RE: [PATCH RFC] expand: add support for incremental tab stops
Thread-Topic: [PATCH RFC] expand: add support for incremental tab stops
Thread-Index: AQHSqBWovphbhHHimUurEhfbCCnJ6qGzQRCAgAEFsQA=
Date: Mon, 3 Apr 2017 22:42:13 +0000
Message-ID: <02874ECE860811409154E81DA85FBB5857DF2DFA@ORSMSX115.amr.corp.intel.com>
References: <20170328224950.13414-1-jacob.e.keller@intel.com>
	<c9c204d4-140c-538f-86d0-11e4f49b8dca@draigBrady.com>
In-Reply-To: <c9c204d4-140c-538f-86d0-11e4f49b8dca@draigBrady.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWRiYmNhMTktNzcyNi00ZDIzLTg0MTUtNzUzNGI3NWMyMTkxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlMxemtteVFTTFBHSENDMStneHpuTnpvMFQ0eVVpcnhPa3ZOTlRHXC9EZjVVPSJ9
x-ctpclassification: CTP_IC
x-originating-ip: [10.22.254.140]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 192.55.52.115
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Apr 2017 22:42:21 -0000

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBQw6FkcmFpZyBCcmFkeSBbbWFp
bHRvOlBAZHJhaWdCcmFkeS5jb21dDQo+IFNlbnQ6IFN1bmRheSwgQXByaWwgMDIsIDIwMTcgNTow
NSBQTQ0KPiBUbzogS2VsbGVyLCBKYWNvYiBFIDxqYWNvYi5lLmtlbGxlckBpbnRlbC5jb20+OyBj
b3JldXRpbHNAZ251Lm9yZw0KPiBTdWJqZWN0OiBSZTogW1BBVENIIFJGQ10gZXhwYW5kOiBhZGQg
c3VwcG9ydCBmb3IgaW5jcmVtZW50YWwgdGFiIHN0b3BzDQo+IA0KPiBIaSBKYWNvYiwNCj4gDQo+
IEkgYWRqdXN0ZWQgeW91ciBwYXRjaCBhcyBmb2xsb3dzOg0KPiANCj4gIC0gQWRkZWQgTkVXUywg
dGV4aW5mbw0KPiAgLSBGaXhlZC9hZGp1c3RlZCB0aGUgdGVzdA0KPiAgLSBGaXhlZC9hZGp1c3Rl
ZCBmaW5hbGl6ZV90YWJfc3RvcHMoKSB0byBmaXggYnVnIGNhdWdodCBieSB0aGUgdGVzdA0KPiAg
LSBBZGp1c3RlZCBlcnJvciBoYW5kbGluZyB0byBnaXZlIG1vcmUgY29uc2lzdGVudCBlcnJvcnMN
Cj4gDQo+IEkgYWxzbyBhZGp1c3RlZCB0aGUgLS1oZWxwIGZvciBib3RoIGV4cGFuZCBhbmQgdW5l
eHBhbmQsDQo+IHdoaWNoIEkgZGlkIGFzIGEgc2VwYXJhdGUgcGF0Y2ggKGF0dGFjaGVkKQ0KPiBJ
J2xsIGFwcGx5IGJvdGggb2YgdGhlc2UgbGF0ZXIuDQo+IA0KPiB0aGFua3MsDQo+IFDDoWRyYWln
Lg0KDQpIaSwNCg0KVGhhbmtzIHRoaXMgbG9va3MgZ3JlYXQsIGFuZCBJJ20gZ2xhZCB5b3UgY2F1
Z2h0IGEgYnVnIGJlZm9yZSB3ZSBjb21taXR0ZWQgaXQuDQoNClRoYW5rcyBhZ2FpbiwNCkpha2UN
Cg==


From MAILER-DAEMON Tue Apr 04 13:30:54 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvSIA-0003aH-By
	for mharc-coreutils@gnu.org; Tue, 04 Apr 2017 13:30:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48059)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Kenneth.Nellis@conduent.com>) id 1cvSI8-0003aA-Aq
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:30:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Kenneth.Nellis@conduent.com>) id 1cvSI5-0001so-4q
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:30:52 -0400
Received: from usa7109mr007.acs-inc.com ([13.28.230.18]:9967)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <Kenneth.Nellis@conduent.com>)
	id 1cvSI4-0001oa-T6
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:30:49 -0400
Received: from usa7109ht004.na.xerox.net ([13.41.230.30])
	by USA7109MR007.ACS-INC.COM with ESMTP/TLS/AES128-SHA256;
	04 Apr 2017 12:30:45 -0500
Received: from USA7109MB022.na.xerox.net ([169.254.6.133]) by
	USA7109HT004.na.xerox.net ([13.41.230.30]) with mapi id 14.03.0294.000;
	Tue, 4 Apr 2017 12:30:43 -0500
From: "Nellis, Kenneth (Conduent)" <Kenneth.Nellis@conduent.com>
To: "coreutils@gnu.org" <coreutils@gnu.org>
Subject: Re: ln: make symbolic links default
Thread-Topic: Re: ln: make symbolic links default
Thread-Index: AdKtZ8pWhGPHS2hrRh+3hccT9zaJUQ==
Date: Tue, 4 Apr 2017 17:30:42 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [13.41.230.96]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 13.28.230.18
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Apr 2017 17:30:53 -0000

(Apologies if this message breaks threading.)

On Fri, 31 Mar 2017 19:36:46 -0700, P?draig Brady wrote:
>On 31/03/17 16:29, blastmaster wrote:
>> Subject: [PATCH 1/2] ln: make symbolic links by default:
>>=20
>> * This commit changes the default behavior of ln.
>>   Instead of creating hard links the default will now
>>   create symbolic links.
>>   If you still want to create hard links the -h option is provided.
>>=20
>> * We think that it is more natural to create symbolic links instead of
>>   of hardlinks. Today hardlinks are rarely used. Moreover, its much more
>> economical
>>   to save the writing effort of the additional parameter.
>
>I like it.
>pushed

What is the transition plan? For example, I have scripts that create hard=20
links, and I want them to continue to create hard links. What can I do in=20
advance to modify my scripts so that when the patch is installed, they=20
will not break?

I see that -h will be offered, but it isn't valid now, so I can't prepare.=
=20
It will be too late after I install the patch. It seems a transition=20
version that gives us a chance to prepare before pulling the plug is=20
warranted.

I would like to see a transition version that recognizes an environment=20
variable that specifies the default link type, and that the code=20
recognizes both -h and -s. Then I can prepare and when the patch hits,=20
nothing breaks. Also, the transition version should not recognize ANY
defaults (-h, -s, or environment variable) so that problem areas are
identified.

--Ken Nellis


From MAILER-DAEMON Tue Apr 04 13:38:13 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvSPE-0006rZ-Vm
	for mharc-coreutils@gnu.org; Tue, 04 Apr 2017 13:38:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50881)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mystica@gmail.com>) id 1cvSPA-0006q0-0G
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:38:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mystica@gmail.com>) id 1cvSP8-0005z9-KX
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:38:08 -0400
Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]:36291)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <mystica@gmail.com>) id 1cvSP8-0005ya-CG
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:38:06 -0400
Received: by mail-wr0-x235.google.com with SMTP id w11so218545540wrc.3
	for <coreutils@gnu.org>; Tue, 04 Apr 2017 10:38:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=9W19LoRLKvIeGaujzvTrADmR1x8cCE87UYoOofiviEc=;
	b=G7aFPfdeHeIf1iAPt8VpqRanxC/2E3wZzMJi8C2PWztKYFZoSmfMBUzUmAhGdjYTyH
	hszormaNACtwB8fEg2yawugn5sJkPl3fgossTHvTMQ5DGlvPP0ex9twmye5+vy7/VmrR
	FqZVIj4eWKln3ADum3VIe1iHllmzocvsSowGyozCU6ESHrbhjDfCWp5NCtu41JIGybJ+
	VqK9na1OyyVifz34xpVlMH1PdI3RW1keYiFTVzcWsvtYxoqNytb3iDB8TY+TMy6pQ9Y9
	GsQvIstNnydI9AN/cJ6ZzDgKO9Z2VPoCKKx/GAMjJpGjcLipnOE7Aifo1RMF5awouymV
	ol+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=9W19LoRLKvIeGaujzvTrADmR1x8cCE87UYoOofiviEc=;
	b=sEiKiYFzobgxzrgH+p0MoPMtne4rspyxl3WN0MbHvlKJKDG4LYfxUBVHDc8Yy5F10d
	IGdd93dle3inI9pxtmMcnjN//T5Nv8LmItTZNuWlRCbjeR2aI2RMLw/sjTHSOss1HIZJ
	r9/XMCtJTtxtLlBNqP3eV5yJYRumpzd1IotoY/9/ZaDWhMKzANpnGo0vRBFxu277RJlN
	IDKGg7naOeJeDJPkeNH+nyuy+33QMkrkBn1d9aqh9uMlEvGpvueJAm/U8UHM0DW1dkTd
	u40CUc5Y+hrZEuCAmVMDFefaqfTQ0HD/y8PIO3mTLDn/PDFBq1yZZy4nLbdb8Alu+HF/
	xxaw==
X-Gm-Message-State: AFeK/H1JD2DFLKUsLkBFPptN5i4BhpLiuQN+O9rnueMbPPcEyxUcX3G0rxvA98LMa87k8LtrvdzG6ZJVObpJnA==
X-Received: by 10.223.154.199 with SMTP id a65mr20586572wrc.78.1491327485097; 
	Tue, 04 Apr 2017 10:38:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.139.98 with HTTP; Tue, 4 Apr 2017 10:38:04 -0700 (PDT)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
References: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
From: Mike Hodson <mystica@gmail.com>
Date: Tue, 4 Apr 2017 13:38:04 -0400
Message-ID: <CAN++4hEfrnRmsZU3S_wxtYMr2mr6NjX5FTTgTKbh6Qx2Om1QYA@mail.gmail.com>
Subject: Re: ln: make symbolic links default
To: "Nellis, Kenneth (Conduent)" <Kenneth.Nellis@conduent.com>
Cc: "coreutils@gnu.org" <coreutils@gnu.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2a00:1450:400c:c0c::235
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Apr 2017 17:38:12 -0000

On Tue, Apr 4, 2017 at 1:30 PM, Nellis, Kenneth (Conduent) <
Kenneth.Nellis@conduent.com> wrote:

>
> What is the transition plan? For example, I have scripts that create hard
> links, and I want them to continue to create hard links. What can I do in
> advance to modify my scripts so that when the patch is installed, they
> will not break?
>
> I too am curious/concerned about this; I have a number of scripts deployed
random places, and when/if the systems involved get updated to newer
coreutils (if ever) I no longer can continue to use the same scripts ; I
further must branch my scripts for any new Coreutils systems far in advance
of having to maintain the old ones, but it becomes a large hassle of
unknown breakage dates on systems I don't even maintain anymore.

I for one do not appreciate this fundamental change to 'ln'.



> I see that -h will be offered, but it isn't valid now, so I can't prepare.
> It will be too late after I install the patch. It seems a transition
> version that gives us a chance to prepare before pulling the plug is
> warranted.
>
> I would like to see a transition version that recognizes an environment
> variable that specifies the default link type, and that the code
> recognizes both -h and -s. Then I can prepare and when the patch hits,
> nothing breaks. Also, the transition version should not recognize ANY
> defaults (-h, -s, or environment variable) so that problem areas are
> identified.
>

indeed, a brand new version of 'ln' that "does nothing" and breaks totally,
vs "does the wrong thing" and 'may silently work or fail depending', is
about the only way to force a change like this.
Most things of mine 'ln -sf' today ; but some simply 'ln' and these are the
problematic ones.

Thanks,

Mike

From MAILER-DAEMON Tue Apr 04 13:44:42 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvSVW-0000Is-KH
	for mharc-coreutils@gnu.org; Tue, 04 Apr 2017 13:44:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52793)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cvSVU-0000IW-3l
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:44:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cvSVR-0000RN-0R
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:44:40 -0400
Received: from mx1.redhat.com ([209.132.183.28]:56886)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1cvSVQ-0000Qt-Nq
	for coreutils@gnu.org; Tue, 04 Apr 2017 13:44:36 -0400
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com
	[10.5.11.13])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id 16E979C0A3;
	Tue,  4 Apr 2017 17:44:34 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 16E979C0A3
Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 16E979C0A3
Received: from [10.10.124.192] (ovpn-124-192.rdu2.redhat.com [10.10.124.192])
	by smtp.corp.redhat.com (Postfix) with ESMTP id 9FCD580B0A;
	Tue,  4 Apr 2017 17:44:33 +0000 (UTC)
Subject: Re: ln: make symbolic links default
To: "Nellis, Kenneth (Conduent)" <Kenneth.Nellis@conduent.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
References: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <78819d4f-4901-5728-6ae0-54ff54593a68@redhat.com>
Date: Tue, 4 Apr 2017 12:44:32 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="u9A4kwH3SAE3birJrUHjSG8fHfaTS7mlV"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.26]);
	Tue, 04 Apr 2017 17:44:34 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Apr 2017 17:44:41 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--u9A4kwH3SAE3birJrUHjSG8fHfaTS7mlV
From: Eric Blake <eblake@redhat.com>
To: "Nellis, Kenneth (Conduent)" <Kenneth.Nellis@conduent.com>,
 "coreutils@gnu.org" <coreutils@gnu.org>
Message-ID: <78819d4f-4901-5728-6ae0-54ff54593a68@redhat.com>
Subject: Re: ln: make symbolic links default
References: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBF7C04@USA7109MB022.na.xerox.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/04/2017 12:30 PM, Nellis, Kenneth (Conduent) wrote:
> (Apologies if this message breaks threading.)
>=20
> On Fri, 31 Mar 2017 19:36:46 -0700, P?draig Brady wrote:
>> On 31/03/17 16:29, blastmaster wrote:

If you pay special attention to these timestamps, and then manually
adjust for the fact that some of the thread was written in a time zone
west of the prime meridian (where an email client "helpfully" rewrote
the date to match the local time of the person writing a reply), you
might note that the entire thread falls within April 1st according to
UTC,...

>> I like it.
>> pushed
>=20
> What is the transition plan? For example, I have scripts that create ha=
rd=20
> links, and I want them to continue to create hard links. What can I do =
in=20
> advance to modify my scripts so that when the patch is installed, they =

> will not break?

=2E..and therefore, the transition plan is to do nothing.
https://en.wikipedia.org/wiki/April_Fools'_Day

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--u9A4kwH3SAE3birJrUHjSG8fHfaTS7mlV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJY49uAAAoJEKeha0olJ0NqM7IH+wSIUs8sk2P7TquwM97wAvGU
VU17LhZ4YwDh97Rw2ah2F3o9f/1fu1WLlnHmxkKvfWMXUnnDG9hmJXcUWTGVtmuR
L0iCpxe3gfE3n4TwFYTzEYc/3P3x4t0HPvkiHax+lcAQZZB5WFE10fa0V+dEpWC5
WFCNk5qoNgjTRcPotPqpd/G+qdmGDrxd9Xs0Xy1mhPNyzw8OD8RJWiThagtKyuix
sXwnp+xB/M4ZX9JDKWyZDummw7524aSrxvQMMcigRz5hHtSAKbLjaqtk5LYmCDbK
+BcZA1UvtQmq4/MwJyrvh3yhC9QVWrcX5ghHo13CkIZRnuOYe3bV5CHHoFqmFH4=
=9LTa
-----END PGP SIGNATURE-----

--u9A4kwH3SAE3birJrUHjSG8fHfaTS7mlV--


From MAILER-DAEMON Tue Apr 04 19:46:11 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvY9L-0006J1-4r
	for mharc-coreutils@gnu.org; Tue, 04 Apr 2017 19:46:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49707)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cvY9I-0006Ic-AW
	for coreutils@gnu.org; Tue, 04 Apr 2017 19:46:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cvY9F-0007CT-5M
	for coreutils@gnu.org; Tue, 04 Apr 2017 19:46:08 -0400
Received: from dragora.org ([69.61.93.52]:46392 helo=mail.dragora.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cvY9F-0007CA-1C
	for coreutils@gnu.org; Tue, 04 Apr 2017 19:46:05 -0400
Received: from rafaela (unknown [200.3.217.39])
	by mail.dragora.org (Postfix) with ESMTPSA id 4C740342031;
	Tue,  4 Apr 2017 23:44:47 +0000 (UTC)
Date: Tue, 4 Apr 2017 20:45:19 -0300
From: Matias Fonzo <selk@dragora.org>
To: =?UTF-8?B?UMOhZHJhaWc=?= Brady <P@draigBrady.com>
Cc: coreutils@gnu.org, Ariel Santana Naranjo <snariel@gmail.com>
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170404204519.6a6a0d79@rafaela>
In-Reply-To: <3b41071a-0b34-e03b-00f5-04dc6e19e70b@draigBrady.com>
References: <CAO10BC=1Cg5jGOXOGTFBKf05wF3LFYwZXXCRzetOSdk0A-KJyw@mail.gmail.com>
	<5ed7768a-b61c-832a-37a2-6765c468d4af@draigBrady.com>
	<CAO10BCk9D367HRMz6UhNGMhbDpR2unPO59jezcN9-sw7+grYbw@mail.gmail.com>
	<3e082404-36d7-e044-d70e-f2127d93d1fc@draigBrady.com>
	<CAO10BCmSkuZ3aaNy6RYj+2d9GJx=bn1dFy9RL_ZwryXz5F=mNQ@mail.gmail.com>
	<e06e09c2-1361-11e7-9b6a-00163eeb5320@msgid.mathom.us>
	<27b8a8a9-23d7-a82b-47da-52f75b42347b@draigBrady.com>
	<20170402125115.2abccad6@rafaela>
	<3b41071a-0b34-e03b-00f5-04dc6e19e70b@draigBrady.com>
Organization: Dragora GNU/Linux-Libre
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	boundary="Sig_/1pm3BOQ==oYc5Y1Ny6REbsU";
	protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 69.61.93.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Apr 2017 23:46:09 -0000

--Sig_/1pm3BOQ==oYc5Y1Ny6REbsU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 2 Apr 2017 20:56:31 -0700
P=C3=A1draig Brady <P@draigBrady.com> wrote:

> On 02/04/17 08:51, Matias Fonzo wrote:
> > Hello P=C3=A1draig,
> >=20
> > On Mon, 27 Mar 2017 20:28:35 -0700
> > P=C3=A1draig Brady <P@draigBrady.com> wrote:
> >  =20
> >> On 27/03/17 19:55, Michael Stone wrote: =20
> >>> On Mon, Mar 27, 2017 at 11:47:10PM +0100, Ariel Santana Naranjo
> >>> wrote:   =20
> >>>> If changing xz's options can't fix the problem, would you re-add
> >>>> a second format?  Until coreutils-8.13 the tarball was
> >>>> distributed in two formats.  I think adding a second format
> >>>> would fix the problem for busybox and for pristine-tar because
> >>>> xz seems to be the only format affected by these problems!   =20
> >>>
> >>> What, exactly, is the problem?   =20
> >>
> >> busybox's unxz can't detect bit errors during uncompression
> >> due to not supporting the default crc64 checksum generated by xz.
> >> It could if you generate the tarball with xz --check=3Dcrc32.
> >> Though I don't think it's practical to adjust all projects
> >> to pass this option to xz; rather adding crc64 support to
> >> unxz seems like the best approach.
> >>
> >> Note if you're extracting the tarball then you're not on a
> >> deeply embedded device without a compiler etc. so it would
> >> be surprising that xz would not be available. =20
> >=20
> > Err, busybox supplies xz... =20
>=20
> Sure. But my point was if you're compiling on this system,
> a crc64 capable xz shouldn't be too hard to obtain.
>
> >> Even in that extreme edge case, you could use an intermediate
> >> system to extract and checksum the data. =20
> >=20
> > What if this intermediate system is not available?. =20
>=20
> See point above.
> Anyway the general point of this thread is that
> fixing this with options to each generator of xz is not practical.
> Either the default xz crc should be changed to crc32,
> or more likely busybox xz would gain crc64 support.

All of what you propose are patches to palliate part of the symptoms of
the bad design of xz.  And in addition -- to be implemented by others.
The use of a format that does not have these problems is not mentioned
here!


--Sig_/1pm3BOQ==oYc5Y1Ny6REbsU
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQJ8BAEBCgBmBQJY5DAPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz
QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVjVAP/Aqh+slvlBCPZajAPN7MKDhc
HZ1BNbd+O0CoH2YlYPKbT0ed63guT0XCen1kGMuoVcIBeTFIbW0o/wd5nh40ta8U
jlZpEEDlMfinZmhf+Dr0mNzuvSBJe8UXwwxFAcSMqAH2HGvwMIu8RnwabRGvooAD
y4iLVp6R/FrVGH99chhm4mgELyf7keIjbOkeikhgaweJZVKpRVlwVjCMCLp276/A
G5flVAIrKr9k5gFp1nJFJWxvXebnC1Ql5odVwcvO6QcDMkdqJSFZaCt8naxszKu5
HJMx3bVquhDI4IVDgIORK4hr2Yy1EWXJl02oY3/sLlbpJ7D9Jtf0VfWWEleepZpF
nxYdEChokNia3lwWOYngJ502CSAshLvYt3CNcbksTDIV/jATT2kKguOVkVUNI9Bx
mXGa3qUcLmV+AT0slLURYoM2LBENKPb+WOX5RDWZYQdAWQEabKxIK36+3XaPhj1f
0H1gDL8YrcjNuir6NSvdL4cetnwDXiHCVTI348jzekJesVXdJwr2rdRACVDIq1HK
ye/llX7GYf0ZDS5X/7dItTp0CmmcS9kxnrL9Qxz13KhXkK5Y9kbQm9qTkEgoS/K9
0HQLuRbRlNR126c1rq9Q2FPfS1gZPLkj6Soi46CTvUVJM1pddnxLpqcx2zl4CvTB
K+RAA8HzxX0afCuWW+Ab
=S4y5
-----END PGP SIGNATURE-----

--Sig_/1pm3BOQ==oYc5Y1Ny6REbsU--


From MAILER-DAEMON Tue Apr 04 21:40:15 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvZvj-0007b0-EA
	for mharc-coreutils@gnu.org; Tue, 04 Apr 2017 21:40:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38478)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1cvZvg-0007Zc-Ql
	for coreutils@gnu.org; Tue, 04 Apr 2017 21:40:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1cvZvb-0004Tn-V8
	for coreutils@gnu.org; Tue, 04 Apr 2017 21:40:12 -0400
Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:35342)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <assafgordon@gmail.com>)
	id 1cvZvb-0004SN-JA
	for coreutils@gnu.org; Tue, 04 Apr 2017 21:40:07 -0400
Received: by mail-qt0-x22c.google.com with SMTP id x35so153754216qtc.2
	for <coreutils@gnu.org>; Tue, 04 Apr 2017 18:40:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=from:message-id:mime-version:subject:date:references:to:in-reply-to; 
	bh=w0u7zNybjhZUh4zkYsfq65mF6/zQjA69BYTVMPJI6/Y=;
	b=ftHaJI7oSimXOmHtpaskZJKKxTzTZr2snzxtPqMUUTB+6x0JOHTrnEJRf7o6NC1T2g
	+nRfnWrODM/nNQPLCnbCjpAOFu796Ra2pPktLczAP9b+z8yHibPfXvbRmNALsFwlSNRW
	zH9LUoVak9s2lYFyNFND+kqAMIl+JbLMgdIYLtkf1ynSZWkAuYQQ2C9ha1IXsU7Rt/P3
	pmH5zojU585b7TfdNAgvPW0JvT9C8ug90KDHeshpjEBZ5SsYazmmFK+9o9xdddzhblOh
	BoXCTACPTLqSSiAT4Zy7/iiA2/Ynn2NCMaJ8GGYLhEkbni6hlM0UmdEUql7oQf9HP6XX
	6nWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:message-id:mime-version:subject:date
	:references:to:in-reply-to;
	bh=w0u7zNybjhZUh4zkYsfq65mF6/zQjA69BYTVMPJI6/Y=;
	b=FnwSwvbKKoDzgkzD5STAnzhdGHnLsotWsTNO7if0nYTdjw3NXuH5OUMU/oXKMF8BQ1
	mSayzN9Vl/3z1eh3SIm/EmlmfOK8acvF3mTND3SmITBUVU2XwWcxQYeROCDIzAshq24t
	MRAwQuwRSwHJtIKRgiFseMDzUuN9f8CHtgs8kx3rvnfLSepABPt8r7EJDWoIDiX89A9k
	244tGSTs6RbtxTX0FC/s8OQ+V5jJIywFoFmbNDPP0AK1HiXc3yZfje90dQO+Ts/NA49a
	MAeegiWL/4SUCHUjpQ9nTdB/Fa8roNUGumNj3GQkr4MIjf5ZAl+xTine3KrTK6WWc4Tt
	oB9A==
X-Gm-Message-State: AFeK/H2NoAsGhf3gsomgwkNRnKDhKoOuQQuUYCumY51z6/mtL6YoDRKiOV2CN/hup/DDow==
X-Received: by 10.200.34.212 with SMTP id g20mr27184522qta.97.1491356406830;
	Tue, 04 Apr 2017 18:40:06 -0700 (PDT)
Received: from ix.home (pool-100-37-92-116.nycmny.fios.verizon.net.
	[100.37.92.116]) by smtp.gmail.com with ESMTPSA id
	f65sm5333398qkf.34.2017.04.04.18.40.04
	(version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
	Tue, 04 Apr 2017 18:40:04 -0700 (PDT)
From: Assaf Gordon <assafgordon@gmail.com>
Content-Type: multipart/mixed;
	boundary="Apple-Mail=_C4CECD62-BA5F-4F2C-91A6-15AC368E0C7F"
Message-Id: <73B1B8F7-B358-4017-926C-16356623A15D@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
Subject: Re: multibyte support (round 3)
Date: Tue, 4 Apr 2017 21:40:03 -0400
References: <22B663F3-004A-44D0-A788-DC8D2A21414E@gmail.com>
	<948a3bb6-cbc5-807d-cd5a-6de5b80489bb@draigBrady.com>
	<E8463287-AA8D-41F1-939F-A40F18948716@gmail.com>
To: =?utf-8?Q?P=C3=A1draig_Brady?= <P@draigBrady.com>,
	Coreutils <coreutils@gnu.org>
In-Reply-To: <E8463287-AA8D-41F1-939F-A40F18948716@gmail.com>
X-Mailer: Apple Mail (2.2102)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c0d::22c
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 01:40:14 -0000


--Apple-Mail=_C4CECD62-BA5F-4F2C-91A6-15AC368E0C7F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hello,

Inching forward: attached the unorm+multibyte patch, with initial =
fold(1) multibyte support.

(haven't yet address the issues in =
http://lists.gnu.org/archive/html/coreutils/2016-10/msg00001.html but I =
hope to do that soon).


-assaf



--Apple-Mail=_C4CECD62-BA5F-4F2C-91A6-15AC368E0C7F
Content-Disposition: attachment;
	filename=i18n-2017-04-04.patch.xz
Content-Type: application/octet-stream;
	name="i18n-2017-04-04.patch.xz"
Content-Transfer-Encoding: base64

/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4uvClWJdACMcieb23zH9dnuiGXURXBdr0/uw2wYyU36l
bOrggp7T7b22/BPFMSFrbuCo/A6CJw9FzOp4bYanwgFsSWklusHqPay+FqaJ84ZaLsGj+zyotKvt
yUCvyNzwsatFqrLuM/lK5QAjNY2ZoNxRWTNgG0YNgBNKoMAI7v+hQlqtYQaJLnyG79aqbvmeGCL9
uUbvkrXCpmPygJMcFtEvByqjnVn9Xh6ZQ/MzGTIn2NV9UlJCRWLrYON6gxHLT7HRczSBDf3GtwFG
buFbQJtiA5IO75a8eaRvLBgdplTI+fOia1MNi50w7tAmxz1GrUDlrR8G7w2g3+YnE3bY/cwvu4Oy
W0Yrc2ej60EfL9NU2rsAoZZ8qCBqcC6enqqFEVE4vLGdlXFDfHqTtMlgl8SovyVnk17IJs8MBYWY
vLab7AKts4WeJtx6XGbdSIruGKaBcIO+GAMvKYPZY8/BjGmIN2+msaeg//XybpInrCS6QGPA8ph+
7jKKeTUJZXmg+uFiOzU8lgNfLnygg7baJNJwruzEtoN9jgpQbJYtGxyFF/xqHbC/PBpKDYmZGuxO
mOvT9U0hXcSkSarz0NA2ZPCi9NsjSCXI9/1WiWhOMnUZgrGwZpg+P/tfB6S991z+3Uimv8Pw4oR7
MsdpVU/AZmhE7P+N7x7bkrxUO0wgWXSAwXRykq5h6s0Ji9kSg5I3+td/3BhO+WT0o8GkSQy17xdH
hTNi1ErnsQTekFDeUGjBZqLPmzdvnr5a/u7L5MgPS1BivORjVTE0OTIYceMWeODiniL9HHuWguLx
JF9RNK5B+QxX3UEvIvaUNRmOcI1UcQIy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
4vbI2TC7gy5px80xmvEgp+Y9c8Wp2M/3WKA1OIiS6op8qbcmef/AMZbxGilT7zBtWh8R8HExlj60
0PQs8SeURc9btnshrCAY/lSAytFa4FnBHkXaulpdnYGvY/SeBLnTdCPjX35QrUJCHwTrLxpiqqPl
Zq1q1ok3EYDE8Lx51XTl3qZMzauv6ZtPcImSuXLs7PfRw+Q0ex3Lzd32KO9FSSOYcWdDF8+cVDOl
30wIxw8lj/yHyAc2A2PMQXnB/PJSZsSmf1wAAAB9/FkdgCPkHAAB/qoCw9cLQUERtrHEZ/sCAAAA
AARZWg==
--Apple-Mail=_C4CECD62-BA5F-4F2C-91A6-15AC368E0C7F--


From MAILER-DAEMON Wed Apr 05 04:14:23 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvg59-00048L-G2
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 04:14:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47374)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1cvg56-00046p-VX
	for coreutils@gnu.org; Wed, 05 Apr 2017 04:14:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1cvg53-00085t-PX
	for coreutils@gnu.org; Wed, 05 Apr 2017 04:14:20 -0400
Received: from mout.kundenserver.de ([212.227.17.10]:64347)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <mail@bernhard-voelker.de>)
	id 1cvg53-00085B-FT
	for coreutils@gnu.org; Wed, 05 Apr 2017 04:14:17 -0400
Received: from [10.0.2.15] ([212.114.128.174]) by mrelayeu.kundenserver.de
	(mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id
	0Lzs9r-1c1DXt2jgZ-0155MJ; Wed, 05 Apr 2017 10:14:10 +0200
Subject: Re: integrate bash read and history
To: "Nellis, Kenneth (Conduent)" <Kenneth.Nellis@conduent.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
References: <0D835E9B9CD07F40A48423F80D3B5A704BBF737B@USA7109MB022.na.xerox.net>
From: Bernhard Voelker <mail@bernhard-voelker.de>
Message-ID: <f91dc9d3-fc96-e52d-4172-2268d1fcb754@bernhard-voelker.de>
Date: Wed, 5 Apr 2017 10:14:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBF737B@USA7109MB022.na.xerox.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:gi8XXCnnorBnf4/ZuJNA/q9e8NtaTinYx1jo7N35+Sa1uTrHqpf
	FSDCXzV3cJb5m2L6cCW6sHFWTnuZSSpVB5GCcDkbCGH80rrgSKA8ozFma/5ekMIgSMjiLZC
	vkAaSjOHoOrEkPfrbP6B/R8HrlAjTKs01jTxGIKGeMwvLEOeOzfuDfTPAcX5w2aKXmOPR91
	iyyC7qn3P+ABMHb+Z9vfw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:9mVjatNrN8o=:WXoJnRrbQQrtqSBs8e/Gq/
	TeSE4WOo2sqXuKOF18c8LhDdARViUsnLF/xJg+f75cifGeUNoElNocAV2JahwL2AxMzKava6V
	DCEL611pkA4hZBre1QM/MNlHZGluDIwfa8DLjBua4oOfGnXjvi1llYVb9tY3DdIzrN7Mn0sji
	KDp3f5bcMtBd/CNJylyELefYMu2eEze0484ndihMAfUF0vjEl78KoAqg+rLaEGaAixiyzYt5Q
	Eke8DVSsNnSUcRY/RqC6GDfQS3UKhNpNVWbHmnEdcBlYqPpioDvdTGwoE8kWvkzxRwjonIfrP
	VO9CrlD+TRXzayAKc1EwMA/8Pbgl7R53T73trff1GiRyNdi5b7Z2C/ZegJ1ctH4qoUo8YgGXd
	9DyAPQ56rru2JXOVfD/OlKK6zuV3TJcyQEFp3/Trs9q92O8GmpR11jVHCMrnZ8jktdxc9GPca
	QGwVOKhv+HoE38/rpiiWuL6xMepBs0RaZP75SnWLqtkoE6RihyihecobKNQWYWEFovRHl1rqe
	Enepptlz2CTvATgdlWaA2QCTfIGG8xl35UTXmOsOZ+SSLVxo7dEQ79uBS6RAMZRoOOermpnDI
	TY2pisyY0a5/WS2p/zOL5nJ70sEtGI+3DmeZHCvnx8bfLg3QL6W0tO37It2SNpCzX+fWkRUZO
	DzZOooICALU3gynJI31KRDmKH2lXviCJ8tEvAjcOgWvh7In4m8ZJFfmeqkpePshpSj7l7q0Kt
	DX213PSwdrp9eRqz
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 212.227.17.10
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 08:14:22 -0000

On 03/30/2017 09:44 PM, Nellis, Kenneth (Conduent) wrote:
> When I abandoned the Korn shell for bash many years ago, I was never able to 
> fully convert some interactive scripts that maintained their own history file 
> allowing recall of previous entries. Scouring the archives, I was delighted 
> to find Matthew Cengia's post* from 2013 that shows how to do it.
> 
> He ends with the question, "I'm not sure whether there's a better way to 
> append to the history file than the echo above; hopefully somebody else can 
> improve on that." No one did, at least not threaded to his post.
> 
> I don't have any old Korn shell scripts to confirm, but IIRC, the Korn 
> shell's read command had this capability built in, although you still had to 
> play with HISTFILE, so I ask if it's reasonable to have bash's read command 
> do the same to avoid having to do the echo dance.
> 
> * http://lists.gnu.org/archive/html/help-bash/2013-02/msg00001.html

Thanks for the report, but you've reached the GNU coreutils list. We don't
maintain bash or any other shell here, and I don't see how your question
would be related to coreutils, so we really aren't the right people to answer
your question.

You may have better luck by asking your bash's support list for help,
as the history handling is shell specific.

Have a nice day,
Berny


From MAILER-DAEMON Wed Apr 05 10:42:54 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvm98-0008PF-0M
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 10:42:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49722)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cvm95-0008P5-46
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:42:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cvm90-00034L-8p
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:42:51 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33837)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>)
	id 1cvm90-00034A-5k; Wed, 05 Apr 2017 10:42:46 -0400
Received: from 235.red-217-124-67.dialup.dynamic.ccgg.telefonica.net
	([217.124.67.235]:36710) by fencepost.gnu.org with esmtpa (Exim 4.82)
	(envelope-from <antonio@gnu.org>)
	id 1cvm8z-00075D-1T; Wed, 05 Apr 2017 10:42:45 -0400
Message-ID: <58E50251.4090005@gnu.org>
Date: Wed, 05 Apr 2017 16:42:25 +0200
From: Antonio Diaz Diaz <antonio@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US;
	rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14
MIME-Version: 1.0
To: coreutils@gnu.org
CC: Antonio Diaz Diaz <antonio@gnu.org>
Subject: Re: Please, use --check=crc32 or switch to a safe format
References: 3b41071a-0b34-e03b-00f5-04dc6e19e70b@draigBrady.com
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 14:42:52 -0000

Pádraig Brady wrote:
> Anyway the general point of this thread is that
> fixing this with options to each generator of xz is not practical.
> Either the default xz crc should be changed to crc32,
> or more likely busybox xz would gain crc64 support.

Xz-utils and busybox are not the only xz implementations. Asking each xz 
implementation to standardize on the same check type is as unpractical 
as changing the options passed to each generator of xz files.

Is there any chance to fix the problem once and for all by switching to 
lzip (as Eric Blake proposed[1]), instead of asking others to just 
palliate some of the symptoms?

[1] http://lists.gnu.org/archive/html/coreutils/2017-01/msg00008.html


>> Err, busybox supplies xz...
>
> Sure. But my point was if you're compiling on this system,
> a crc64 capable xz shouldn't be too hard to obtain.

Not everybody decompressing a tarball does it to compile its contents. 
They may simply want to browse the code, or to extract a function to use 
it in their small system. Asking users to obtain a crc64 capable xz, or 
to use an intermediate system to extract and checksum the data, is not 
reasonable. Switching to lzip solves all these silly complications with 
check types and options.


Best regards,
Antonio.


From MAILER-DAEMON Wed Apr 05 10:49:06 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvmF8-0000sP-AE
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 10:49:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51710)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1cvmF5-0000qR-DM
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:49:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1cvmEy-0005eq-KC
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:49:01 -0400
Received: from vmicros1.altlinux.org ([194.107.17.57]:42086)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1cvmEy-0005eQ-Cz
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:48:56 -0400
Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14])
	by vmicros1.altlinux.org (Postfix) with ESMTP id 9335172EBCE
	for <coreutils@gnu.org>; Wed,  5 Apr 2017 17:48:54 +0300 (MSK)
Received: by mua.local.altlinux.org (Postfix, from userid 508)
	id 83EC27CCAB2; Wed,  5 Apr 2017 17:48:54 +0300 (MSK)
Date: Wed, 5 Apr 2017 17:48:54 +0300
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170405144854.GB13527@altlinux.org>
References: <58E50251.4090005@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <58E50251.4090005@gnu.org>
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
	timestamps) [generic] [fuzzy]
X-Received-From: 194.107.17.57
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 14:49:04 -0000

On Wed, Apr 05, 2017 at 04:42:25PM +0200, Antonio Diaz Diaz wrote:
> P=C3=A1draig Brady wrote:
> > Anyway the general point of this thread is that
> > fixing this with options to each generator of xz is not practical.
> > Either the default xz crc should be changed to crc32,
> > or more likely busybox xz would gain crc64 support.
>=20
> Xz-utils and busybox are not the only xz implementations. Asking each x=
z=20
> implementation to standardize on the same check type is as unpractical=20

Why do you think so?


--=20
ldv


From MAILER-DAEMON Wed Apr 05 11:22:46 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvmli-0006Wz-FZ
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 11:22:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50384)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <christian.brauner@ubuntu.com>) id 1cvmB4-0000Aj-MB
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:44:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <christian.brauner@ubuntu.com>) id 1cvmB3-0003xE-Vl
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:44:54 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:59849)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <christian.brauner@ubuntu.com>)
	id 1cvmAx-0003v9-RV; Wed, 05 Apr 2017 10:44:47 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx2.mailbox.org (Postfix) with ESMTPS id 44EF644A76;
	Wed,  5 Apr 2017 16:44:46 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de
	[80.241.56.117]) (amavisd-new, port 10030)
	with ESMTP id md_yW18E8d5m; Wed,  5 Apr 2017 16:44:45 +0200 (CEST)
From: Christian Brauner <christian.brauner@ubuntu.com>
To: coreutils@gnu.org, bug-coreutils@gnu.org, stgraber@ubuntu.com,
	serge@hallyn.com
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Subject: [PATCH 0/1] tty: do not provide conflicting information
Date: Wed,  5 Apr 2017 16:44:40 +0200
Message-Id: <20170405144441.20050-1-christian.brauner@ubuntu.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 80.241.60.215
X-Mailman-Approved-At: Wed, 05 Apr 2017 11:22:45 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 14:44:56 -0000

Hi guys,

In case the current file descriptor is a tty but ttyname{_r}() fails to retrieve
the device path tty would falsely report "not a tty" but return EXIT_SUCCESS.
This is confusing. Instead, let's first check whether the fd refers to a tty and
if not report "not a tty" and exit with error. In all other cases, we should
report "is a tty but failed to determine the device path" and exit with success.
This is much clearer. Depending on the platform the user can then decide how to
proceed, e.g. by looking at /proc/self/fd/0 for Linux or somewhere else on other
platforms.

This becomes especially important when we deal with Linux namespaces where this
case can regularly happen should a new devpts instance be mounted in the
namespace but the fd still refers to a pts device from another devpts instance
in another mount namespace.

I added Signed-off-by line but I'm not completely sure if this is used in
cureutils. If not, just drop it. :)

Christian

Christian Brauner (1):
  tty: do not provide conflicting information

 src/tty.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.11.0



From MAILER-DAEMON Wed Apr 05 11:22:46 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvmli-0006XG-KQ
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 11:22:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50392)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <christian.brauner@ubuntu.com>) id 1cvmB5-0000Ak-98
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:44:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <christian.brauner@ubuntu.com>) id 1cvmB4-0003xZ-F2
	for coreutils@gnu.org; Wed, 05 Apr 2017 10:44:55 -0400
Received: from mx1.mailbox.org ([80.241.60.212]:59252)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <christian.brauner@ubuntu.com>)
	id 1cvmAy-0003vL-B0; Wed, 05 Apr 2017 10:44:48 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.mailbox.org (Postfix) with ESMTPS id 78C7445717;
	Wed,  5 Apr 2017 16:44:46 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de
	[80.241.56.117]) (amavisd-new, port 10030)
	with ESMTP id BHCtMLYs7aw3; Wed,  5 Apr 2017 16:44:45 +0200 (CEST)
From: Christian Brauner <christian.brauner@ubuntu.com>
To: coreutils@gnu.org, bug-coreutils@gnu.org, stgraber@ubuntu.com,
	serge@hallyn.com
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Subject: [PATCH 1/1] tty: do not provide conflicting information
Date: Wed,  5 Apr 2017 16:44:41 +0200
Message-Id: <20170405144441.20050-2-christian.brauner@ubuntu.com>
In-Reply-To: <20170405144441.20050-1-christian.brauner@ubuntu.com>
References: <20170405144441.20050-1-christian.brauner@ubuntu.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 80.241.60.212
X-Mailman-Approved-At: Wed, 05 Apr 2017 11:22:45 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 14:44:56 -0000

In case the current file descriptor is a tty but ttyname{_r}() fails to retrieve
the device path tty would falsely report "not a tty" but return EXIT_SUCCESS.
This is confusing. Instead, let's first check whether the fd refers to a tty and
if not report "not a tty" and exit with error. In all other cases, we should
report "is a tty but failed to determine the device path" and exit with success.
This is much clearer. Depending on the platform the user can then decide how to
proceed, e.g. by looking at /proc/self/fd/0 for Linux or somewhere else on other
platforms.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
---
 src/tty.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/tty.c b/src/tty.c
index c3fdabc85..fb21a995a 100644
--- a/src/tty.c
+++ b/src/tty.c
@@ -79,6 +79,7 @@ main (int argc, char **argv)
 {
   char *tty;
   int optc;
+  int is_tty;
 
   initialize_main (&argc, &argv);
   set_program_name (argv[0]);
@@ -111,14 +112,21 @@ main (int argc, char **argv)
   if (optind < argc)
     error (0, 0, _("extra operand %s"), quote (argv[optind]));
 
+  is_tty = isatty (STDIN_FILENO);
+  if (!is_tty)
+    {
+      puts (_("not a tty"));
+      return EXIT_FAILURE;
+    }
+
   tty = ttyname (STDIN_FILENO);
   if (!silent)
     {
       if (tty)
         puts (tty);
       else
-        puts (_("not a tty"));
+        puts (_("is a tty but failed to determine the device path"));
     }
 
-  return isatty (STDIN_FILENO) ? EXIT_SUCCESS : EXIT_FAILURE;
+  return EXIT_SUCCESS;
 }
-- 
2.11.0



From MAILER-DAEMON Wed Apr 05 11:31:59 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvmuc-0004Yl-Uu
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 11:31:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38502)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cvmuZ-0004V8-TI
	for coreutils@gnu.org; Wed, 05 Apr 2017 11:31:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cvmuX-0007kD-WB
	for coreutils@gnu.org; Wed, 05 Apr 2017 11:31:55 -0400
Received: from mx1.redhat.com ([209.132.183.28]:55474)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>)
	id 1cvmuW-0007hN-8s; Wed, 05 Apr 2017 11:31:52 -0400
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com
	[10.5.11.12])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id 36E9F80F7B;
	Wed,  5 Apr 2017 15:31:51 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 36E9F80F7B
Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 36E9F80F7B
Received: from [10.10.124.8] (ovpn-124-8.rdu2.redhat.com [10.10.124.8])
	by smtp.corp.redhat.com (Postfix) with ESMTP id CD08FA2A50;
	Wed,  5 Apr 2017 15:31:50 +0000 (UTC)
Subject: Re: Please, use --check=crc32 or switch to a safe format
To: Antonio Diaz Diaz <antonio@gnu.org>, coreutils@gnu.org
References: <58E50251.4090005@gnu.org>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
Date: Wed, 5 Apr 2017 10:31:50 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <58E50251.4090005@gnu.org>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="txCWjpAi1HiUow2exG4TqVJ0mmOKB0Abd"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.27]);
	Wed, 05 Apr 2017 15:31:51 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 15:31:57 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--txCWjpAi1HiUow2exG4TqVJ0mmOKB0Abd
From: Eric Blake <eblake@redhat.com>
To: Antonio Diaz Diaz <antonio@gnu.org>, coreutils@gnu.org
Message-ID: <4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
Subject: Re: Please, use --check=crc32 or switch to a safe format
References: <58E50251.4090005@gnu.org>
In-Reply-To: <58E50251.4090005@gnu.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/05/2017 09:42 AM, Antonio Diaz Diaz wrote:

> Is there any chance to fix the problem once and for all by switching to=

> lzip (as Eric Blake proposed[1]), instead of asking others to just
> palliate some of the symptoms?
>=20
> [1] http://lists.gnu.org/archive/html/coreutils/2017-01/msg00008.html

Note that I was not proposing "switching to lzip", but "adding lzip in
parallel to existing xz".  I still think that parallel distribution
formats is probably worthwhile, but I'm not strongly convinced enough to
push my patch through against the wishes of other core developers on the
project.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--txCWjpAi1HiUow2exG4TqVJ0mmOKB0Abd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJY5Q3mAAoJEKeha0olJ0NqX08H/iOKUeYVUW4N6a5nna+Lexh4
2K+hiMbxFeA1q39UXWAbyJtXVLk6CNxUxUFv6N7aNlqDsinW1k6XAnNUnV/bKl/j
AkbdcTf5zg03EH86MTRs//dS1j8Ic+AsGYcVjhS+ARdNKFjA5h+DnrzgXRuMFbA4
pkP9UoDJUfOytxzny+zkxzhssJCjG9W5OM3b/EpCOqYvfHEsAlDw+ZhXM2jRwttw
UpcDIDM1vLu89gLIy5wAPGfvHK25Nn9GwdKqfK0glaiByJdVXxfgeFNTbaFHjsmA
FAzip576lnNFN7//2TT35KqF82cJdPxVoNIrCYt0tvn7OXLYZkD0C2hVjsVWbm8=
=rLX6
-----END PGP SIGNATURE-----

--txCWjpAi1HiUow2exG4TqVJ0mmOKB0Abd--


From MAILER-DAEMON Wed Apr 05 14:40:26 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvpr0-0006Hq-ND
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 14:40:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41553)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cvpqx-0006EY-Ll
	for coreutils@gnu.org; Wed, 05 Apr 2017 14:40:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cvpqt-0000Jt-Nv
	for coreutils@gnu.org; Wed, 05 Apr 2017 14:40:23 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:44146)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eggert@cs.ucla.edu>) id 1cvpqt-0000JW-Di
	for coreutils@gnu.org; Wed, 05 Apr 2017 14:40:19 -0400
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0B040160072;
	Wed,  5 Apr 2017 11:40:17 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id wuemZjNO255r; Wed,  5 Apr 2017 11:40:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2D025160086;
	Wed,  5 Apr 2017 11:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id 5MvxF1D0Pkvv; Wed,  5 Apr 2017 11:40:16 -0700 (PDT)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0FB27160074;
	Wed,  5 Apr 2017 11:40:16 -0700 (PDT)
Subject: Re: bug#26371: [PATCH 0/1] tty: do not provide conflicting information
To: Christian Brauner <christian.brauner@ubuntu.com>, coreutils@gnu.org,
	26371-done@debbugs.gnu.org, stgraber@ubuntu.com, serge@hallyn.com
References: <20170405144441.20050-1-christian.brauner@ubuntu.com>
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
Message-ID: <86ae9ed0-8a2f-d173-54cb-acf37909a60a@cs.ucla.edu>
Date: Wed, 5 Apr 2017 11:40:15 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170405144441.20050-1-christian.brauner@ubuntu.com>
Content-Type: multipart/mixed; boundary="------------E8A9BBAE620A4DDC70F4CEC0"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 131.179.128.68
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 18:40:25 -0000

This is a multi-part message in MIME format.
--------------E8A9BBAE620A4DDC70F4CEC0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Thanks for the bug report. The situation you describe seems to be a 
platform that does not conform to POSIX, since POSIX doesn't allow for 
isatty to succeed but ttyname to fail. So I expect you'll run into 
problems other than with the tty program, as other software will make 
the same assumptions that tty is making.

That being said, tty could do a better job about the situation. I 
installed the attached somewhat-more-ambitious patch, so that tty will 
do more-extensive checking of the results of isatty and/or ttyname (and 
so that it never needs to call both functions and worry about whether 
their results are consistent :-). Please give it a try on your platform.

--------------E8A9BBAE620A4DDC70F4CEC0
Content-Type: application/x-patch;
 name="0001-tty-handle-misconfigured-namespaces.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="0001-tty-handle-misconfigured-namespaces.patch"

RnJvbSAyMTMwZGEzZGY1MzZhMjc3NzQ5NDk1NjIxYmVhZGY2NjJkMjQwMGU0IE1vbiBTZXAg
MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1
PgpEYXRlOiBXZWQsIDUgQXByIDIwMTcgMTE6MzQ6NDIgLTA3MDAKU3ViamVjdDogW1BBVENI
XSB0dHk6IGhhbmRsZSBtaXNjb25maWd1cmVkIG5hbWVzcGFjZXMKTUlNRS1WZXJzaW9uOiAx
LjAKQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04CkNv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LWMgL2Rldi9mdWxsOyB0aGVuCisgIHJldHVybnNfIDMg
dHR5ID4vZGV2L2Z1bGwgfHwgZmFpbD0xCisgIHJldHVybnNfIDMgdHR5IDwvZGV2L251bGwg
Pi9kZXYvZnVsbCB8fCBmYWlsPTEKK2ZpCisKK3JldHVybnNfIDQgdHR5IDwmLSAyPi9kZXYv
bnVsbCB8fCBmYWlsPTEKK3JldHVybnNfIDQgdHR5IC1zIDwmLSB8fCBmYWlsPTEKKworRXhp
dCAkZmFpbAotLSAKMi45LjMKCg==
--------------E8A9BBAE620A4DDC70F4CEC0--


From MAILER-DAEMON Wed Apr 05 15:17:36 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvqQy-0002kd-2i
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 15:17:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53593)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cvqQv-0002hK-VW
	for coreutils@gnu.org; Wed, 05 Apr 2017 15:17:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cvqQv-0007Ur-0h
	for coreutils@gnu.org; Wed, 05 Apr 2017 15:17:33 -0400
Received: from dragora.org ([69.61.93.52]:46402 helo=mail.dragora.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>)
	id 1cvqQp-0007U4-FV; Wed, 05 Apr 2017 15:17:27 -0400
Received: from rafaela (unknown [200.3.217.44])
	by mail.dragora.org (Postfix) with ESMTPSA id 8F77F34233C;
	Wed,  5 Apr 2017 19:16:38 +0000 (UTC)
Date: Wed, 5 Apr 2017 16:16:53 -0300
From: Matias Fonzo <selk@dragora.org>
To: Eric Blake <eblake@redhat.com>
Cc: Antonio Diaz Diaz <antonio@gnu.org>, coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170405161640.7b2f0c58@rafaela>
In-Reply-To: <4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
References: <58E50251.4090005@gnu.org>
	<4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
Organization: Dragora GNU/Linux-Libre
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	boundary="Sig_/Lal9sM0ATwNiHNwPDeGZJ8o";
	protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 69.61.93.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 19:17:34 -0000

--Sig_/Lal9sM0ATwNiHNwPDeGZJ8o
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 5 Apr 2017 10:31:50 -0500
Eric Blake <eblake@redhat.com> wrote:

> On 04/05/2017 09:42 AM, Antonio Diaz Diaz wrote:
>=20
> > Is there any chance to fix the problem once and for all by
> > switching to lzip (as Eric Blake proposed[1]), instead of asking
> > others to just palliate some of the symptoms?
> >=20
> > [1]
> > http://lists.gnu.org/archive/html/coreutils/2017-01/msg00008.html =20
>=20
> Note that I was not proposing "switching to lzip", but "adding lzip in
> parallel to existing xz".  I still think that parallel distribution
> formats is probably worthwhile, but I'm not strongly convinced enough
> to push my patch through against the wishes of other core developers
> on the project.
>=20

Can developers release (liberate) the ego?.  There's nothing wrong in
want to provide a "second" format, this increases the chances for
accessing the project, inspect, study, etc.


--Sig_/Lal9sM0ATwNiHNwPDeGZJ8o
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQJ8BAEBCgBmBQJY5UKlXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz
QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVnyIQAKjthyH/N9BWRDe2ODRkCLuo
gMgp3O//DYUuF/FvPzxOW5LySgapU7LoYvHtSuMVTgIHZlwvZtoBpaclvqstvTQj
ujLoIZevfqiUQmwmd7r35yVtFTee42RJ3Akbg0Qo55kEM1oudE1LRI6zuUIlDyy4
0HIgB6LFZtzqQN6b87N6Ots25boPdNFth2ODfMGYxlap5puuG61oh1M+/a9wpDGW
UOS6rEBaY3dPoxemcnkIOWd8JXb0qHi0N8TYDYGudtp53H3M6Wlqzqlu6mpywUcW
5/hqyMhSbsGQBvEfYW7/Mz5tBuDBI7frisSGKobwW9RTZKgFHAEJeJhG+rne5WXs
u02Ko0Spl9nn9bALjy5R08GhuKbpbRQS6JbjO/J8QDaPlmiKnbMaCHxHVGs4OzG+
Tn6HIK78YewkhItcRF9gv5X+B4s5jz/78OkJv3VxtOxPLwOXEEJiZDPMGmF4/w14
g6JXNxwqCFTriCUdsW1icMDBfTy573SBFxUEjmIV8muvusSX/nfJtCBGprs/k55Q
gmCagtPsbN61kG7NcJGEggIbHut/Noma3V+qywQxhk0jJy8FD/73bLdg4upJkAML
Eht084QrjUOZemxK/bTc38SCzfXSiHYcTDo9OuEb/ZGXLENT02/LawcVqHqcSmFm
W3Kd8Uk4DI6yJwepSzE4
=cQzF
-----END PGP SIGNATURE-----

--Sig_/Lal9sM0ATwNiHNwPDeGZJ8o--


From MAILER-DAEMON Wed Apr 05 17:27:22 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvsSY-0007sp-1E
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 17:27:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55064)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cvsSV-0007sQ-Uw
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:27:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cvsSR-0004hn-US
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:27:19 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46872)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eggert@cs.ucla.edu>) id 1cvsSR-0004hE-O8
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:27:15 -0400
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0653D160072;
	Wed,  5 Apr 2017 14:27:14 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id 82TqnIvYYRpb; Wed,  5 Apr 2017 14:27:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3F4FF160086;
	Wed,  5 Apr 2017 14:27:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id 4Yjzy6leHRwt; Wed,  5 Apr 2017 14:27:13 -0700 (PDT)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 21A6F160072;
	Wed,  5 Apr 2017 14:27:13 -0700 (PDT)
Subject: Re: bug#26371: [PATCH 0/1] tty: do not provide conflicting information
To: Christian Brauner <christian.brauner@canonical.com>
References: <20170405144441.20050-1-christian.brauner@ubuntu.com>
	<20170405201717.736e5xdq3qctjrt4@mailbox.org>
Cc: Christian Brauner <christian.brauner@ubuntu.com>, stgraber@ubuntu.com,
	26371-done@debbugs.gnu.org, coreutils@gnu.org, serge@hallyn.com
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
Message-ID: <7d059cad-a395-184c-ecf3-9648dfe9b4d3@cs.ucla.edu>
Date: Wed, 5 Apr 2017 14:27:12 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170405201717.736e5xdq3qctjrt4@mailbox.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 131.179.128.68
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 21:27:20 -0000

On 04/05/2017 01:17 PM, Christian Brauner wrote:
> Oh, where can that information be gathered from? I looked up isatty() a=
nd
> ttyname{_r}() in:
>
> The Open Group Base Specifications Issue 7
> IEEE Std 1003.1-2008, 2016 Edition
> Copyright =C2=A9 2001-2016 The IEEE and The Open Group
>
> but couldn't find any such requirement
I inferred it from the similar wording used for both functions. isatty=20
"shall return 1 if fildes is associated with a terminal", and ttyname=20
"shall return a pointer to a string containing a null-terminated=20
pathname of the terminal associated with file descriptor fildes".=20
Although in theory POSIX allows either function to fail with a weird=20
error number whenever it pleases, clearly the intent is that the two=20
functions be consistent, many programs assume that they are consistent,=20
and any implementation where isatty succeeds but ttyname fails is an=20
implementation that is asking for trouble.

> Form a purely technical perspective it just seems to make a lot more se=
nse to
> exit with success if the file descriptor actually refers to a terminal.=
 The name
> of the device it refers to just seems syntactical sugar.
That's what 'tty -s' does. Perhaps if we were designing things from=20
scratch, 'tty' would behave like 'tty -s'. But longstanding practice is=20
for 'tty' (without arguments) to output the terminal's name, and=20
programs expect that behavior.

Really, the underlying platform should get fixed. In the meantime I=20
suppose that the best plain 'tty' can do is report the configuration=20
error and exit.

Did you try the patch I installed? That is, does ttyname have a=20
reasonable errno value when it returns NULL on your platform?


From MAILER-DAEMON Wed Apr 05 17:50:38 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvsp4-0004af-LR
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 17:50:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39823)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <christian.brauner@canonical.com>) id 1cvrMx-0007rJ-KQ
	for coreutils@gnu.org; Wed, 05 Apr 2017 16:17:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <christian.brauner@canonical.com>) id 1cvrMu-0007zF-Gw
	for coreutils@gnu.org; Wed, 05 Apr 2017 16:17:31 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:50623)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <christian.brauner@canonical.com>)
	id 1cvrMu-0007vZ-AP
	for coreutils@gnu.org; Wed, 05 Apr 2017 16:17:28 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx2.mailbox.org (Postfix) with ESMTPS id 871E7457BA;
	Wed,  5 Apr 2017 22:17:26 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de
	[80.241.56.116]) (amavisd-new, port 10030)
	with ESMTP id mo6hvC-CQiCV; Wed,  5 Apr 2017 22:17:19 +0200 (CEST)
Date: Wed, 5 Apr 2017 22:17:18 +0200
From: Christian Brauner <christian.brauner@canonical.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Christian Brauner <christian.brauner@ubuntu.com>, coreutils@gnu.org,
	26371-done@debbugs.gnu.org, stgraber@ubuntu.com, serge@hallyn.com
Subject: Re: bug#26371: [PATCH 0/1] tty: do not provide conflicting information
Message-ID: <20170405201717.736e5xdq3qctjrt4@mailbox.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86ae9ed0-8a2f-d173-54cb-acf37909a60a@cs.ucla.edu>
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 80.241.60.215
X-Mailman-Approved-At: Wed, 05 Apr 2017 17:50:37 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 20:17:32 -0000

Hi Paul,

Thanks for the quick response. :)

On Wed, Apr 05, 2017 at 11:40:15AM -0700, Paul Eggert wrote:
> Thanks for the bug report. The situation you describe seems to be a pla=
tform
> that does not conform to POSIX, since POSIX doesn't allow for isatty to
> succeed but ttyname to fail. So I expect you'll run into problems other=
 than

Oh, where can that information be gathered from? I looked up isatty() and
ttyname{_r}() in:

The Open Group Base Specifications Issue 7
IEEE Std 1003.1-2008, 2016 Edition
Copyright =C2=A9 2001-2016 The IEEE and The Open Group

but couldn't find any such requirement that forces an alignment between i=
satty()
and ttyname{_r}().

> with the tty program, as other software will make the same assumptions =
that
> tty is making.
>=20
> That being said, tty could do a better job about the situation. I insta=
lled
> the attached somewhat-more-ambitious patch, so that tty will do
> more-extensive checking of the results of isatty and/or ttyname (and so=
 that
> it never needs to call both functions and worry about whether their res=
ults
> are consistent :-). Please give it a try on your platform.

Form a purely technical perspective it just seems to make a lot more sens=
e to
exit with success if the file descriptor actually refers to a terminal. T=
he name
of the device it refers to just seems syntactical sugar. :)

Thanks again!
Christian


From MAILER-DAEMON Wed Apr 05 17:50:39 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvsp5-0004bO-M9
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 17:50:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33061)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <christian.brauner@canonical.com>) id 1cvsnp-0003uG-Jk
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:49:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <christian.brauner@canonical.com>) id 1cvsnm-0004gM-HT
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:49:21 -0400
Received: from mx1.mailbox.org ([80.241.60.212]:60914)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <christian.brauner@canonical.com>)
	id 1cvsnm-0004fo-BH
	for coreutils@gnu.org; Wed, 05 Apr 2017 17:49:18 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.mailbox.org (Postfix) with ESMTPS id A5B6345E27;
	Wed,  5 Apr 2017 23:49:16 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de
	[80.241.56.117]) (amavisd-new, port 10030)
	with ESMTP id 6IgWelFF30Ey; Wed,  5 Apr 2017 23:49:14 +0200 (CEST)
Date: Wed, 5 Apr 2017 23:49:12 +0200
From: Christian Brauner <christian.brauner@canonical.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Christian Brauner <christian.brauner@ubuntu.com>, stgraber@ubuntu.com,
	26371-done@debbugs.gnu.org, coreutils@gnu.org, serge@hallyn.com
Subject: Re: bug#26371: [PATCH 0/1] tty: do not provide conflicting information
Message-ID: <20170405214912.gr3kejv2je3tgsji@mailbox.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <7d059cad-a395-184c-ecf3-9648dfe9b4d3@cs.ucla.edu>
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 80.241.60.212
X-Mailman-Approved-At: Wed, 05 Apr 2017 17:50:37 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 21:49:22 -0000

On Wed, Apr 05, 2017 at 02:27:12PM -0700, Paul Eggert wrote:
> On 04/05/2017 01:17 PM, Christian Brauner wrote:
> > Oh, where can that information be gathered from? I looked up isatty()=
 and
> > ttyname{_r}() in:
> >=20
> > The Open Group Base Specifications Issue 7
> > IEEE Std 1003.1-2008, 2016 Edition
> > Copyright =C2=A9 2001-2016 The IEEE and The Open Group
> >=20
> > but couldn't find any such requirement
> I inferred it from the similar wording used for both functions. isatty
> "shall return 1 if fildes is associated with a terminal", and ttyname "=
shall
> return a pointer to a string containing a null-terminated pathname of t=
he
> terminal associated with file descriptor fildes". Although in theory PO=
SIX
> allows either function to fail with a weird error number whenever it
> pleases, clearly the intent is that the two functions be consistent, ma=
ny
> programs assume that they are consistent, and any implementation where
> isatty succeeds but ttyname fails is an implementation that is asking f=
or
> trouble.

Maybe, but it doesn't sound obvious to me especially in the presence of e=
.g.
mount namespaces on Linux. But this isn't even platform specific! If you =
somehow
mask the device path (overmounting or think of any other reason) the file
descriptor refers to then ttyname{_r}() _will fail to retrieve it_. I don=
't know
if most platforms will even set an errno in this case and so your patch w=
ill
likely be just another version of reporting misleading information. If er=
rno is
not set then now instead of reporting "not a tty" but exiting with succes=
s you
will now report ./tty: standard input: Success! but exit with an error.

>=20
> > Form a purely technical perspective it just seems to make a lot more =
sense to
> > exit with success if the file descriptor actually refers to a termina=
l. The name
> > of the device it refers to just seems syntactical sugar.
> That's what 'tty -s' does. Perhaps if we were designing things from scr=
atch,
> 'tty' would behave like 'tty -s'. But longstanding practice is for 'tty=
'
> (without arguments) to output the terminal's name, and programs expect =
that
> behavior.
>=20
> Really, the underlying platform should get fixed. In the meantime I sup=
pose

Maybe, but it's not really an explicit POSIX requirement according to wha=
t I've
gathered from the above paragraph. For glibc, Serge and I have taken care=
 that
errno is set to ENODEV in this case which seemed to everyone involved in =
this
discussion to be the most natural way of handling this scenario.

> that the best plain 'tty' can do is report the configuration error and =
exit.
>=20
> Did you try the patch I installed? That is, does ttyname have a reasona=
ble
> errno value when it returns NULL on your platform?

Yes, as I said at least for glibc you'd get:

root@zest1:~/dummy/coreutils/src# ./tty
./tty: standard input: No such device

Which is not necessarily an improvement since the fd _is_ actually a tty.

Thanks for hearing me rant! :)
Christian


From MAILER-DAEMON Wed Apr 05 18:05:19 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cvt3G-0001Cb-Su
	for mharc-coreutils@gnu.org; Wed, 05 Apr 2017 18:05:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36690)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mstone@debian.org>) id 1cvt3E-0001Af-1z
	for coreutils@gnu.org; Wed, 05 Apr 2017 18:05:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mstone@debian.org>) id 1cvt3D-0003RT-9z
	for coreutils@gnu.org; Wed, 05 Apr 2017 18:05:16 -0400
Received: from harad.mathom.us ([54.218.24.45]:48372)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <mstone@debian.org>)
	id 1cvt39-0003KN-M1; Wed, 05 Apr 2017 18:05:11 -0400
Received: from osgiliath.mathom.us
	(pool-100-15-218-211.washdc.fios.verizon.net [100.15.218.211])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by harad.mathom.us (Postfix) with ESMTPSA id B1BE3118;
	Wed,  5 Apr 2017 22:05:01 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by osgiliath.mathom.us (Postfix) with ESMTP id 5BD706E690;
	Wed,  5 Apr 2017 18:04:00 -0400 (EDT)
Received: from osgiliath.mathom.us ([127.0.0.1])
	by localhost (osgiliath.mathom.us [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 90VDfUmRk2du; Wed,  5 Apr 2017 18:04:00 -0400 (EDT)
Received: by osgiliath.mathom.us (Postfix, from userid 1000)
	id 34A036E801; Wed,  5 Apr 2017 18:04:00 -0400 (EDT)
Date: Wed, 5 Apr 2017 18:04:00 -0400
From: Michael Stone <mstone@debian.org>
To: Matias Fonzo <selk@dragora.org>
Cc: Eric Blake <eblake@redhat.com>, Antonio Diaz Diaz <antonio@gnu.org>,
	coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <9b9f8bea-1a4b-11e7-9b6a-00163eeb5320@msgid.mathom.us>
Mail-Followup-To: Matias Fonzo <selk@dragora.org>,
	Eric Blake <eblake@redhat.com>, Antonio Diaz Diaz <antonio@gnu.org>,
	coreutils@gnu.org
References: <58E50251.4090005@gnu.org>
	<4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
	<20170405161640.7b2f0c58@rafaela>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <20170405161640.7b2f0c58@rafaela>
X-Pgp-Fingerprint: 02D5 315F F11F 1861 860E  1E02 F61A ACDC FA11 FFDE
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 54.218.24.45
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Apr 2017 22:05:17 -0000

On Wed, Apr 05, 2017 at 04:16:53PM -0300, Matias Fonzo wrote:
>Can developers release (liberate) the ego?.  There's nothing wrong in
>want to provide a "second" format, this increases the chances for
>accessing the project, inspect, study, etc.

Exactly zero people have reported being unable to access the project 
because of xz. This is really getting silly.


From MAILER-DAEMON Thu Apr 06 19:18:15 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cwGfP-0008SS-ID
	for mharc-coreutils@gnu.org; Thu, 06 Apr 2017 19:18:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51516)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cwGfM-0008S0-Pz
	for coreutils@gnu.org; Thu, 06 Apr 2017 19:18:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cwGfJ-0001qJ-LL
	for coreutils@gnu.org; Thu, 06 Apr 2017 19:18:12 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57552)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cwGfJ-0001qF-HQ
	for coreutils@gnu.org; Thu, 06 Apr 2017 19:18:09 -0400
Received: from 245.red-217-124-67.dialup.dynamic.ccgg.telefonica.net
	([217.124.67.245]:37432) by fencepost.gnu.org with esmtpa (Exim 4.82)
	(envelope-from <antonio@gnu.org>)
	id 1cwGfH-0000PW-Rm; Thu, 06 Apr 2017 19:18:09 -0400
Message-ID: <58E6CC9E.7020706@gnu.org>
Date: Fri, 07 Apr 2017 01:17:50 +0200
From: Antonio Diaz Diaz <antonio@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US;
	rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14
MIME-Version: 1.0
To: coreutils@gnu.org
CC: Antonio Diaz Diaz <antonio@gnu.org>
Subject: Re: Please, use --check=crc32 or switch to a safe format
References: <58E50251.4090005@gnu.org>
	<4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
	<20170405161640.7b2f0c58@rafaela>
	<9b9f8bea-1a4b-11e7-9b6a-00163eeb5320@msgid.mathom.us>
In-Reply-To: <9b9f8bea-1a4b-11e7-9b6a-00163eeb5320@msgid.mathom.us>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Apr 2017 23:18:14 -0000

Michael Stone wrote:
> On Wed, Apr 05, 2017 at 04:16:53PM -0300, Matias Fonzo wrote:
>> There's nothing wrong in want to provide a "second" format, this
>> increases the chances for accessing the project, inspect, study,
>> etc.
>
> Exactly zero people have reported being unable to access the project
> because of xz. This is really getting silly.

You are right that the case of coreutils is not one of access, just of 
(reduced) safety in the access.

I would say that the lack of integrity checking in lzma-alone was a bad 
thing, but at least it was a known fact. With xz the situation is kind 
of deceptive. The user is induced to think that xz is safe (it even 
provides SHA256!), but depending on how the file was created and what 
decompressor is available, the integrity check in xz is sometimes 
performed and sometimes not. In particular, the case of decompressing 
coreutils tarballs with busybox is comparable to using lzma-alone.

But other projects may have in fact access problems. As Lasse Collin 
said[1], "XZ Embedded is also very limited. It cannot decompress all .xz 
files".

[1] http://lkml.iu.edu/hypermail/linux/kernel/1002.1/02383.html

At least some projects using optional xz features have already suffered 
(subtle) problems[2]:

[2] http://lkml.iu.edu/hypermail/linux/kernel/1403.1/02085.html
"But speaking as the Squashfs author, the lack of BCJ support for an 
architecture creates a subtle failure mode in Squashfs, this is because 
not all blocks in a Squashfs filesystem get compressed with a BCJ 
filter. At compression time each block is compressed without any BCJ 
filter, and then with the BCJ filter(s) selected on the command line, 
and the best compression for *that* block is chosen. What this means is 
kernels without a particular BCJ filter can still read the Squashfs 
metadata (mount, ls etc.) and read many of the files, it is only some 
files that mysteriously fail with decompression error. As such this will 
be (and has been) invariably treated as a bug in Squashfs."

One advantage of lzip (or gzip, or bzip2) over xz is that even the tiny 
educational decompressor lzd can decompress and check the integrity of 
even the largest files created with the mighty plzip on the largest 
computers in the world. From the point of view of the typical user, the 
lzip format just works and is safe, no strings attached.


Best regards,
Antonio.


From MAILER-DAEMON Sat Apr 08 04:58:22 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cwmCM-0000QK-49
	for mharc-coreutils@gnu.org; Sat, 08 Apr 2017 04:58:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36756)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1cwmCJ-0000QC-US
	for coreutils@gnu.org; Sat, 08 Apr 2017 04:58:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1cwmCG-00089o-TP
	for coreutils@gnu.org; Sat, 08 Apr 2017 04:58:20 -0400
Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:34847)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <assafgordon@gmail.com>)
	id 1cwmCG-00089h-Oa
	for coreutils@gnu.org; Sat, 08 Apr 2017 04:58:16 -0400
Received: by mail-qt0-x229.google.com with SMTP id n46so1918079qta.2
	for <coreutils@gnu.org>; Sat, 08 Apr 2017 01:58:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=from:content-transfer-encoding:subject:message-id:date:to
	:mime-version; bh=3lfSel0HQV6LQYEFGP7fYuwU6gkyUXJcRGEhHyTgYVQ=;
	b=fZiLS9Hh9P5WgvU7pGLwAZ7056yUTFymOG0+FZGNXhszEKeuCgXuxRezmgHGpRf3A/
	s4UJs84QmayyBuLsnNUrcXZstwL7CPfjwwz1x3EXZSuboIojtjbi9WwVPvo8kP4pq25J
	tFBpEuzRcpJ3cWuz9OUM2UGWmgIZPCEa9Ct0q6MC8xVgg1PWvX7C4RQmAfQZefANL9Jk
	Jo/ZH6osQ5hC61gj2dXIF8E4j/BVUhU9oVy1f9pDyjiJkgRsuQrS+mBMUie4Q5dHVk30
	0ssogW6CuMQf0U6bfOGX1r/2sH5qUwFJ6Phd1UCUAkokvFN7eMPKgIlpiIzl6IXI81DD
	eiAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=3lfSel0HQV6LQYEFGP7fYuwU6gkyUXJcRGEhHyTgYVQ=;
	b=IQJVflunTuRmRwJcnS2BDIjbP6LDEQuVOB+lyEvsSnT8oqApjGXMJKbYOgtr4mHcWX
	6we5yPKOZbkAsPVZRkJS4pDM0kWgT08dEoMUKYIntBolQm7fGpaZnVoph0JNNOcgHdZb
	Mah3zjdiuyhneyuEdc6qzmnwf2GkeyOIwXHIY2ukcHn4bD+xcoed99KeUdDyszQCz1Na
	f/MFjp2fhkAs39n2VxYgzToUk/ynMkuB76tQcGsKKkfwJjSxp+6LIGsYoZJbEYy1RuM9
	+oZCenBWbTRsUwGn29iiSOQu3n9bdVQB0KkbLJB9/LifhwvKzPyojphZlkW+0fQGwGUl
	k34A==
X-Gm-Message-State: AFeK/H2AGxNbMcD/p4yD2BE5aWs73u68sXwyusZQ9JkoSZtlB4ce53uK3QW+92vKoM2S4g==
X-Received: by 10.200.57.162 with SMTP id v31mr49841266qte.173.1491641895800; 
	Sat, 08 Apr 2017 01:58:15 -0700 (PDT)
Received: from ix.home (pool-100-37-92-116.nycmny.fios.verizon.net.
	[100.37.92.116])
	by smtp.gmail.com with ESMTPSA id g1sm3567465qkh.52.2017.04.08.01.58.14
	for <coreutils@gnu.org>
	(version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
	Sat, 08 Apr 2017 01:58:14 -0700 (PDT)
From: Assaf Gordon <assafgordon@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: multibyte support (round 4)
Message-Id: <AE4AA766-9A00-4440-9FD2-AB24FE39DE48@gmail.com>
Date: Sat, 8 Apr 2017 04:58:13 -0400
To: Coreutils <coreutils@gnu.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400d:c0d::229
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Apr 2017 08:58:21 -0000

Hello,

I think that we've handled the low-hanging fruits (e.g. expand/cut/fold) =
when it
comes to multibyte support in coreutils.
The remaining programs (e.g. sort,join,uniq,tr,od) present some =
challenges -
both in terms of what is the 'correct' (and useful) behavior,
and in terms of implementation.

I also think a common thread is the combination of these three =
requirements:
1. Invalid sequences must be handled as single-bytes
2. Can't rely on native wchar_t (e.g. for cygwin) without extra work
3. Can't assume UTF-8 (or even unicode).

Each requirement by itself is not too problematic - but combined
they make a portable and efficient implementation quite cumbersome.

I'd like to ask a heretical question:
what if we can relax these requirements ?
specifically, what if we can agree that on systems where wchar_t
is not sufficient, we only support UTF8 (and thus use gnulib's internal =
fast implementations)?
(I would love to suggest to support only utf8 everywhere, but I'm sure =
this would not be accepted...)

I will continue to work on multibyte support in any case,
but I think it will make things much better if we are not tied by these =
(legacy?) issues.

With a bit of hand-waving, wouldn't it be reasonable to say that the =
largest portion of GNU coreutils users have systems that have both =
useable wchar_t *and* work primarily in UTF-8 ?

At the risk of mixing apples and oranges, checking the encoding for =
web-sites shows that
UTF-8 is clearly dominating over time:
   https://w3techs.com/technologies/details/en-utf8/all/all
   =
http://pinyin.info/news/2015/utf-8-unicode-vs-other-encodings-over-time/
I know coreutils is not meant for the web, but I hope that it does hint =
that UTF-8 is gaining popularity not only in websites.

Looking at other implementations, some chose to switch to UTF-8 =
completely (e.g. OpenBSD-6, or Linux with musl-libc). Others have =
useable wchar_t and support multibyte processing for a long time (e.g. =
FreeBSD, Mac OS X).

I have skimmed through past mailing-list discussions, and Eric has been =
replying since about 2006 saying essentially "if someone comes up with =
efficient implementation we'll add it" - but despite many attempts - we =
still don't have it.

It won't be a regression for these few limited systems - because =
currently coreutils doesn't provide any multibyte support.


Lastly,
I've arranged my notes into a web page.
I hope these notes will save some time if others are interested in =
catching-up to the multibyte issue (except for the time it'll take to =
read my notes (-: ) :
  http://crashcourse.housegordon.org/coreutils-multibyte-support.html


I'm happy to hear comments and feedback.

Thanks for reading so far,
 - assaf











From MAILER-DAEMON Sat Apr 08 20:44:46 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cx0yE-0005G9-9n
	for mharc-coreutils@gnu.org; Sat, 08 Apr 2017 20:44:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59051)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cx0y8-0005Fk-On
	for coreutils@gnu.org; Sat, 08 Apr 2017 20:44:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cx0y4-00008g-Pc
	for coreutils@gnu.org; Sat, 08 Apr 2017 20:44:40 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:41018
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1cx0y4-00008L-DV
	for coreutils@gnu.org; Sat, 08 Apr 2017 20:44:36 -0400
Received: from localhost.localdomain (unknown [166.170.36.106])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 4046E162
	for <coreutils@gnu.org>; Sun,  9 Apr 2017 01:44:29 +0100 (IST)
Subject: Re: multibyte support (round 4)
To: coreutils@gnu.org
References: <AE4AA766-9A00-4440-9FD2-AB24FE39DE48@gmail.com>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <668a7753-fa43-4bd8-65b0-c64506115275@draigBrady.com>
Date: Sat, 8 Apr 2017 17:44:26 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <AE4AA766-9A00-4440-9FD2-AB24FE39DE48@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Apr 2017 00:44:44 -0000

On 08/04/17 01:58, Assaf Gordon wrote:
> Hello,
>=20
> I think that we've handled the low-hanging fruits (e.g. expand/cut/fold=
) when it
> comes to multibyte support in coreutils.
> The remaining programs (e.g. sort,join,uniq,tr,od) present some challen=
ges -
> both in terms of what is the 'correct' (and useful) behavior,
> and in terms of implementation.
>=20
> I also think a common thread is the combination of these three requirem=
ents:
> 1. Invalid sequences must be handled as single-bytes
> 2. Can't rely on native wchar_t (e.g. for cygwin) without extra work
> 3. Can't assume UTF-8 (or even unicode).
>=20
> Each requirement by itself is not too problematic - but combined
> they make a portable and efficient implementation quite cumbersome.
>=20
> I'd like to ask a heretical question:
> what if we can relax these requirements ?
> specifically, what if we can agree that on systems where wchar_t
> is not sufficient, we only support UTF8 (and thus use gnulib's internal=
 fast implementations)?
> (I would love to suggest to support only utf8 everywhere, but I'm sure =
this would not be accepted...)

Well even utf8 only is better than the current upstream situation,
though that would probably preclude Red Hat and Suse from just talking
the upstream code, so probably best to support other encodings.
Though UTF-8 definitely should have preferential treatment.
I think it's a totally valid compromise to not support other encodings
on systems without adequate wchar_t.

> I will continue to work on multibyte support in any case,
> but I think it will make things much better if we are not tied by these=
 (legacy?) issues.
>=20
> With a bit of hand-waving, wouldn't it be reasonable to say that the la=
rgest portion of GNU coreutils users have systems that have both useable =
wchar_t *and* work primarily in UTF-8 ?

The vast majority yes. This is a totally fine compromise.

> At the risk of mixing apples and oranges, checking the encoding for web=
-sites shows that
> UTF-8 is clearly dominating over time:
>    https://w3techs.com/technologies/details/en-utf8/all/all
>    http://pinyin.info/news/2015/utf-8-unicode-vs-other-encodings-over-t=
ime/
> I know coreutils is not meant for the web, but I hope that it does hint=
 that UTF-8 is gaining popularity not only in websites.
>=20
> Looking at other implementations, some chose to switch to UTF-8 complet=
ely (e.g. OpenBSD-6, or Linux with musl-libc). Others have useable wchar_=
t and support multibyte processing for a long time (e.g. FreeBSD, Mac OS =
X).
>=20
> I have skimmed through past mailing-list discussions, and Eric has been=
 replying since about 2006 saying essentially "if someone comes up with e=
fficient implementation we'll add it" - but despite many attempts - we st=
ill don't have it.
>=20
> It won't be a regression for these few limited systems - because curren=
tly coreutils doesn't provide any multibyte support.


Another thing to consider is that each tool doesn't have to have a full
stack of encoding considerations.  I.E. you could/should have other tools
convert to/from legacy encodings.  That also applies to error handling
and normalization as previously discussed.  I.E. have a single tool
to cater for these, leaving other tools to focus on just their functions.

> Lastly,
> I've arranged my notes into a web page.
> I hope these notes will save some time if others are interested in catc=
hing-up to the multibyte issue (except for the time it'll take to read my=
 notes (-: ) :
>   http://crashcourse.housegordon.org/coreutils-multibyte-support.html

Wow lots of notes there.
Many thanks for sharing them.

cheers,
P=E1draig


From MAILER-DAEMON Sun Apr 09 16:19:51 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxJJP-00032N-BP
	for mharc-coreutils@gnu.org; Sun, 09 Apr 2017 16:19:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46055)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cxJJN-00032F-9V
	for coreutils@gnu.org; Sun, 09 Apr 2017 16:19:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cxJJK-0005ZY-5L
	for coreutils@gnu.org; Sun, 09 Apr 2017 16:19:49 -0400
Received: from dragora.org ([69.61.93.52]:46474 helo=mail.dragora.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <selk@dragora.org>) id 1cxJJK-0005ZT-0h
	for coreutils@gnu.org; Sun, 09 Apr 2017 16:19:46 -0400
Received: from rafaela (unknown [200.3.217.69])
	by mail.dragora.org (Postfix) with ESMTPSA id EB5F7342036
	for <coreutils@gnu.org>; Sun,  9 Apr 2017 20:18:22 +0000 (UTC)
Date: Sun, 9 Apr 2017 17:18:51 -0300
From: Matias Fonzo <selk@dragora.org>
To: coreutils@gnu.org
Subject: Re: Please, use --check=crc32 or switch to a safe format
Message-ID: <20170409171851.69feece7@rafaela>
In-Reply-To: <20170405161640.7b2f0c58@rafaela>
References: <58E50251.4090005@gnu.org>
	<4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
	<20170405161640.7b2f0c58@rafaela>
Organization: Dragora GNU/Linux-Libre
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	boundary="Sig_/_lv5z1D5sh606V6DPYi=7Zo";
	protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 69.61.93.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Apr 2017 20:19:50 -0000

--Sig_/_lv5z1D5sh606V6DPYi=7Zo
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 5 Apr 2017 16:16:53 -0300
Matias Fonzo <selk@dragora.org> wrote:

> On Wed, 5 Apr 2017 10:31:50 -0500
> Eric Blake <eblake@redhat.com> wrote:
>=20
> > On 04/05/2017 09:42 AM, Antonio Diaz Diaz wrote:
> >  =20
> > > Is there any chance to fix the problem once and for all by
> > > switching to lzip (as Eric Blake proposed[1]), instead of asking
> > > others to just palliate some of the symptoms?
> > >=20
> > > [1]
> > > http://lists.gnu.org/archive/html/coreutils/2017-01/msg00008.html   =
=20
> >=20
> > Note that I was not proposing "switching to lzip", but "adding lzip
> > in parallel to existing xz".  I still think that parallel
> > distribution formats is probably worthwhile, but I'm not strongly
> > convinced enough to push my patch through against the wishes of
> > other core developers on the project.
> >  =20
>=20
> Can developers release (liberate) the ego?.  There's nothing wrong in
> want to provide a "second" format, this increases the chances for
> accessing the project, inspect, study, etc.
>=20

Maybe this can help in the decision -- from the author of xz[1]:
"XZ Utils is already an over-engineered pig".

[1] http://www.mail-archive.com/xz-devel@tukaani.org/msg00076.html


All the best,
Matias


--Sig_/_lv5z1D5sh606V6DPYi=7Zo
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQJ8BAEBCgBmBQJY6pcrXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz
QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVnBYQALX5fd8D6ZP/vkbTr2aBweVz
Wb4WUu+nveRuEl+vmWMUy8NFSqaiSRnzTYO/1O73VJs7I0lrkqd5aSJn81kBY7F9
qOR8ya/mq3qOBF/BpvNGS+uac/aIhL/lDIozHpke9qDpTSaJHHDp0XfybDAHIwUV
ruCxAeJgm5v5JHrT11oWAk6+ccklbgLsB3YwNiR/MLt0fuMPQlgr4Ta3e4MN7Gao
NNeDsRWpOMRAOe5V+ftunfFK0hJ8ivdhIr/jYa3mCFOJBEwMhLDCOPszkQq+AF7F
joCiIzNX7+cFLm1lDJp2Z/lH84elqMmHOOM+u8Q3jptFgOu9mzB3RYm48zI28qzY
zIFrUDWz3VfzCc0yLg3WLKbXFKpOdrCg1whaczqoE+nyYFwOJOmm8OIfgCuP1m99
lZeRdh43Gnds5YruSRrnVnvVfcF0GZKZfzW3F9jR83wqYsSiNs347aDm0xVFcBMI
ox+YHUMjHM7Frj/M9jLTzmtdk+zdpLdRvIsIhM9FtfUbUoBPbMFYewPGdSAahnl3
M00rzthKnnkL2R7C7kr/qqJM8fOEgRY/wl7YKUC/TEmYnKY1n82ws/p6U4Mbw9aT
v57EEqJ6+POHpqVkTgH/dR7xyiyPm1Ddm5tPLIhbxBi9gGi7e6TA9vu2PTCf3D/g
pjh/HpiEwBgeUdzgEP/A
=1mrb
-----END PGP SIGNATURE-----

--Sig_/_lv5z1D5sh606V6DPYi=7Zo--


From MAILER-DAEMON Mon Apr 10 00:47:19 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxREV-0003nO-7H
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 00:47:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34570)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <meyering@gmail.com>) id 1cxRES-0003nH-NI
	for coreutils@gnu.org; Mon, 10 Apr 2017 00:47:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <meyering@gmail.com>) id 1cxRER-0003LW-Ga
	for coreutils@gnu.org; Mon, 10 Apr 2017 00:47:16 -0400
Received: from mail-ua0-x231.google.com ([2607:f8b0:400c:c08::231]:36708)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <meyering@gmail.com>) id 1cxRER-0003J5-Cs
	for coreutils@gnu.org; Mon, 10 Apr 2017 00:47:15 -0400
Received: by mail-ua0-x231.google.com with SMTP id a1so20960521uaf.3
	for <coreutils@gnu.org>; Sun, 09 Apr 2017 21:47:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc;
	bh=uDIUWecSJByH+1SJwNnANozqrNUp3JTFVgOlzPg5BKY=;
	b=rM154c55OkMztfuS1IUqJ4oJe9KcjW7CPspjYERyTgx/g1UU2D3WT59xnZudXAy1rU
	wmjxaNJ7oJEMFaY/bcCsOvz8l9xBm8CFfJOq5XVMUHdExi3dwhNwf1ic8ZxnPgL/INlw
	uacyKIKx2rOCjn3MFN5jWky18onENKFVjedYzJKCuyV6Xl/CyZIjtwfo6QN1WgizlPbM
	0Z8g3Y2QhgQm7EJn59c23xrKpYXTLVQfrka4rFkGswKH5N2FdzuddOiUw1P/UZo9z0M8
	IfGyGUq9FD0GrwH9sq7nyBNBG3qhwPqDYooRYMQ/hspjicjGSlhFRLQ41W5+xL4h/fRw
	8+nA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
	:date:message-id:subject:to:cc;
	bh=uDIUWecSJByH+1SJwNnANozqrNUp3JTFVgOlzPg5BKY=;
	b=t44qcXsvQyenXDn19Au5JCt0flUX8GEWtGCzmobIkN8EYxTZMH9fzIwdjadb4LdKFK
	VDQoZD20pyi6K9XQ5/zb9ZouQ7YhLRWeNlmyDA3EEwkN1WzdzuVKxCkeUAv72lqlOr8i
	W2TbXD0sKv7tH/Sj9x9sMQtQH/Y4D7XmNARH5gmqpTKgf6fnMdKWbzG898fptnYmxqh3
	fybs9CxmMSYE3+EeLLvFzNw/1QVpjnjtAY6XetYJ8yzMmx+aea8ubsSo52aOAcwiSLtd
	P6PiP7gJnNgbjCSPPdTSW9Rzqz5u0QIbXDuljPdtJB2RyXdupT8xmzYNTXjml7lfMJCd
	F7JA==
X-Gm-Message-State: AN3rC/7inqTInOxODzjXztu/5UXqKfAW7sRN9pjdcJQDdOPEusc7duOhAQJS4hYyqVfxG8kuHQHoxyoVXP+anQ==
X-Received: by 10.31.50.203 with SMTP id y194mr4014629vky.69.1491799631064;
	Sun, 09 Apr 2017 21:47:11 -0700 (PDT)
MIME-Version: 1.0
Sender: meyering@gmail.com
Received: by 10.159.35.114 with HTTP; Sun, 9 Apr 2017 21:46:50 -0700 (PDT)
In-Reply-To: <20170409171851.69feece7@rafaela>
References: <58E50251.4090005@gnu.org>
	<4abebefc-5bff-d6e3-f276-57f57c99b3ef@redhat.com>
	<20170405161640.7b2f0c58@rafaela> <20170409171851.69feece7@rafaela>
From: Jim Meyering <jim@meyering.net>
Date: Sun, 9 Apr 2017 21:46:50 -0700
X-Google-Sender-Auth: TO5s-pn1tUZ4UoVZXl606wW7-uk
Message-ID: <CA+8g5KEo6MGybBs8Sr_Y1EbWQHkTK=eUP=He7B+O+sDQ8-ms+w@mail.gmail.com>
Subject: Re: Please, use --check=crc32 or switch to a safe format
To: Matias Fonzo <selk@dragora.org>
Cc: Coreutils <coreutils@gnu.org>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400c:c08::231
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 04:47:17 -0000

On Sun, Apr 9, 2017 at 1:18 PM, Matias Fonzo <selk@dragora.org> wrote:
> On Wed, 5 Apr 2017 16:16:53 -0300
> Matias Fonzo <selk@dragora.org> wrote:
>
>> On Wed, 5 Apr 2017 10:31:50 -0500
>> Eric Blake <eblake@redhat.com> wrote:
>>
>> > On 04/05/2017 09:42 AM, Antonio Diaz Diaz wrote:
>> >
>> > > Is there any chance to fix the problem once and for all by
>> > > switching to lzip (as Eric Blake proposed[1]), instead of asking
>> > > others to just palliate some of the symptoms?
>> > >
>> > > [1]
>> > > http://lists.gnu.org/archive/html/coreutils/2017-01/msg00008.html
>> >
>> > Note that I was not proposing "switching to lzip", but "adding lzip
>> > in parallel to existing xz".  I still think that parallel
>> > distribution formats is probably worthwhile, but I'm not strongly
>> > convinced enough to push my patch through against the wishes of
>> > other core developers on the project.
>> >
>>
>> Can developers release (liberate) the ego?.  There's nothing wrong in
>> want to provide a "second" format, this increases the chances for
>> accessing the project, inspect, study, etc.
>>
>
> Maybe this can help in the decision -- from the author of xz[1]:
> "XZ Utils is already an over-engineered pig".

I find this continual stream of attempts to discredit xz to be
inappropriate and irritating. We have responded numerous times. Please
let this rest.


From MAILER-DAEMON Mon Apr 10 08:19:09 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxYHl-000123-Ka
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 08:19:09 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44961)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cxYHj-0000zl-8b
	for coreutils@gnu.org; Mon, 10 Apr 2017 08:19:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cxYHc-0008DA-4A
	for coreutils@gnu.org; Mon, 10 Apr 2017 08:19:03 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37928)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <antonio@gnu.org>) id 1cxYHc-0008D6-0u
	for coreutils@gnu.org; Mon, 10 Apr 2017 08:19:00 -0400
Received: from 131.red-217-124-67.dialup.dynamic.ccgg.telefonica.net
	([217.124.67.131]:38137) by fencepost.gnu.org with esmtpa (Exim 4.82)
	(envelope-from <antonio@gnu.org>)
	id 1cxYHa-0003cQ-Ta; Mon, 10 Apr 2017 08:18:59 -0400
Message-ID: <58EB781F.3080008@gnu.org>
Date: Mon, 10 Apr 2017 14:18:39 +0200
From: Antonio Diaz Diaz <antonio@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US;
	rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14
MIME-Version: 1.0
To: coreutils@gnu.org
CC: Antonio Diaz Diaz <antonio@gnu.org>
Subject: Re: Please, use --check=crc32 or switch to a safe format
References: CA+8g5KEo6MGybBs8Sr_Y1EbWQHkTK=eUP=He7B+O+sDQ8-ms+w@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 12:19:08 -0000

Jim Meyering wrote:
>> from the author of xz[1]:
>> "XZ Utils is already an over-engineered pig".
>
> I find this continual stream of attempts to discredit xz to be
> inappropriate and irritating.

Dear Jim,

The fact that you find the truth irritating tells it everything about 
your impartiality.


Best regards,
Antonio.


From MAILER-DAEMON Mon Apr 10 11:00:04 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxanU-0008Mu-GF
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 11:00:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36657)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxZVJ-0001xg-R5
	for coreutils@gnu.org; Mon, 10 Apr 2017 09:37:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxZVJ-0003U0-0B
	for coreutils@gnu.org; Mon, 10 Apr 2017 09:37:13 -0400
Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:34737)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <xerces9@gmail.com>) id 1cxZVI-0003Tn-RY
	for coreutils@gnu.org; Mon, 10 Apr 2017 09:37:12 -0400
Received: by mail-oi0-x229.google.com with SMTP id g204so74474320oib.1
	for <coreutils@gnu.org>; Mon, 10 Apr 2017 06:37:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:from:date:message-id:subject:to;
	bh=XGhvufBsuMZ/MxXZyk+P3qUGR9uuCs/g6kCf3Znqb1c=;
	b=BMNWV67LDdb7aBM4B9onbQTyd8JTwMcnh8+hZ2P9i4UosSn39/vNAFjk+5nq9U5A1Q
	0cYDoKigDYlpfa5YlQjOskJo355pzBq+2xumEgvGdUmt3+J3TL/4r2qWWw+rQjcTRNim
	gNIVKdvlhPRyjq3oUDgsrqix5uRHl+8ogFC8zfqofTgXmIMYHQs9Pvwe00eozAeRV0Cp
	7l5c+6iGe9sTdCkJuewe/7qGb7JbkgPAIP6CB+ZIq6MdBcgvc1NCOF4HdIfNdd5gmnWA
	ru9yGxfi8WUWzXTLm4fY8+3EC6FFO9yuf+y8VrHTHJ1hLByJHmh/9O8QkQqlsAzv38Jp
	oJaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=XGhvufBsuMZ/MxXZyk+P3qUGR9uuCs/g6kCf3Znqb1c=;
	b=OX7kz8g4bvNdS1RjeB4iWXlbBmj3L45M5siA1utNA8vXsaCNdnoyyEJkL9yc4AGmVm
	0b+IKIH6BrsZHRlQccUhkOXTfztO79CJMtVmpEDXAUmDVm2xV/TKkMgZpaGR3W2TCrLM
	bIYIM6FgUds2sflYgmKhxl/RCCzUCULq8G9XC7+CJzaX0Sg7L4YubUuRV50p5mvXNRRA
	rZ6sNBXvDpPEVlo6qqbKcd2cyC6WmoA+kKoIaOVP3nu/547kXbRTHYxsTCEmFwOS9t8n
	pC3PH5pWK0EG/AGdm94FJqPck5CqJVZpQeFtTwCP/9duEsskKTUI5q5gRRCGetHs4UQK
	Dtzg==
X-Gm-Message-State: AFeK/H2CjTmBuyqYkVqVnun2itRoynx7Ek+mrtMSs86YoWJziHz0UKe96QG3Qax80LWZ6YtG/pq3dd8zf7bnKg==
X-Received: by 10.202.52.70 with SMTP id b67mr21545045oia.82.1491831431888;
	Mon, 10 Apr 2017 06:37:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.230.76 with HTTP; Mon, 10 Apr 2017 06:37:11 -0700 (PDT)
From: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9@gmail.com>
Date: Mon, 10 Apr 2017 15:37:11 +0200
Message-ID: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
Subject: dd - behavior on read error
To: coreutils@gnu.org
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::229
X-Mailman-Approved-At: Mon, 10 Apr 2017 11:00:03 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 13:37:14 -0000

Hi!

Using dd on Ubuntu 16.04.2 LTS (64 bit) I discovered this behavior
that was (for me) unexpected.

There is a bad sector on /dev/sda which on read attempt returns an i/o error.
Suppose it is sector number 50.

So: dd if=/dev/sda bs=512 count=1 skip=50
result: I/O error printed on stderr, exit status code is 1 (non zero,
don't remember the exact value)

But this: dd if=/dev/sda bs=2048 count=1 skip=12
returns exit code 0 and no error. It reads 1024 bytes (up to the
erroring sector)

Is this by design? I would expect an I/O error to be reported (in exit code).

Regards,
David


From MAILER-DAEMON Mon Apr 10 11:06:12 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxatQ-0003MK-00
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 11:06:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34267)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cxatL-0003Iu-Kv
	for coreutils@gnu.org; Mon, 10 Apr 2017 11:06:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cxatH-0001w5-Ke
	for coreutils@gnu.org; Mon, 10 Apr 2017 11:06:07 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:33968
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1cxatH-0001v1-DK
	for coreutils@gnu.org; Mon, 10 Apr 2017 11:06:03 -0400
Received: from localhost.localdomain (mobile-166-171-249-203.mycingular.net
	[166.171.249.203])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 3915F4A82;
	Mon, 10 Apr 2017 16:05:58 +0100 (IST)
Subject: Re: dd - behavior on read error
To: =?UTF-8?Q?David_Bala=c5=beic?= <xerces9@gmail.com>, coreutils@gnu.org
References: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <474b1819-943a-b3c3-fc2a-9bd343f79e39@draigBrady.com>
Date: Mon, 10 Apr 2017 08:05:54 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 15:06:11 -0000

On 10/04/17 06:37, David Bala=C5=BEic wrote:
> Hi!
>=20
> Using dd on Ubuntu 16.04.2 LTS (64 bit) I discovered this behavior
> that was (for me) unexpected.
>=20
> There is a bad sector on /dev/sda which on read attempt returns an i/o =
error.
> Suppose it is sector number 50.
>=20
> So: dd if=3D/dev/sda bs=3D512 count=3D1 skip=3D50
> result: I/O error printed on stderr, exit status code is 1 (non zero,
> don't remember the exact value)
>=20
> But this: dd if=3D/dev/sda bs=3D2048 count=3D1 skip=3D12
> returns exit code 0 and no error. It reads 1024 bytes (up to the
> erroring sector)
>=20
> Is this by design? I would expect an I/O error to be reported (in exit =
code).

Your probably hitting the default short read behavior of dd
which is defined by POSIX.  I.E. the read() system call will
return what's available before returning the read() error,
however with a count=3D1 dd will only consider the first read operation.

You can change this operation with the iflag=3Dfullblock flag.
Note also the conv=3Dsync,noerror settings which would be useful
for reading as much as possible from the disk.

cheers,
P=C3=A1draig



From MAILER-DAEMON Mon Apr 10 12:10:43 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxbtr-0004OJ-67
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 12:10:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55258)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxboE-0000Mk-Ag
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:04:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxboD-00065O-4e
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:04:54 -0400
Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:32867)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <xerces9@gmail.com>) id 1cxboC-00065E-UW
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:04:53 -0400
Received: by mail-oi0-x22e.google.com with SMTP id b187so153571811oif.0
	for <coreutils@gnu.org>; Mon, 10 Apr 2017 09:04:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:cc
	:content-transfer-encoding;
	bh=xHhxn+9q8bG22Uf19uykH0/yELNJ7sAGuT/puwiORSg=;
	b=pupYJ3jLEHVG/JWojq6471R5K3d6hIBWqg489W5//ibnw3s6M/PREHbv88h4WwxVK9
	W/1YlZ+RCIrxA+f5OJfnGKkG2ziRpuIm1iNXogWoGDS0tzDZrov/QE1BG/QQ0mqt6ei3
	ttVmxW4jAiIhpg1yWtMFsiHL7XCesVxSBEEL++Xgna84D68D6icRfDyrOwrUQY7Dh+Xm
	SEWXfLth/xtmxCgvmalNJhArtnOnJB7NwF/M3vIeE15AEeZ7HllhZDLu6SnUf6LYiFo5
	K7BGtJk2pkWFJvttjqD5AVhm0uRujjU29wBnc0gHnBE7c1UdqAfY+XuZ71rZs9wmpsez
	IC5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:cc:content-transfer-encoding;
	bh=xHhxn+9q8bG22Uf19uykH0/yELNJ7sAGuT/puwiORSg=;
	b=TwQz6nxQ3qD+IV3UoVQAfa6v6t/fGeXn/LRtvDxVzHGZ/8FNqWpEXpjEmS3t4XM9Pq
	ZmlNjY6bFXjUGIDfvjM4shK1PPNzlpll5pXeKgawgkVIEAfBG2EyqG/WiuZKeE+zL4IJ
	6f3sSDU2qPQyhfrac9kixnuIiOu3JFyXEC3qJmt0O99+TrCi3UO1f9fIU4FjlJQ77CtL
	sDKX6nW/tLceBkCCqRL1NwjOCPZZbBGU9Vh9KRstLNSkL3F08010qLeViw6khAgZQ9VP
	4u+RD8A1bVG/d4zJ+3TAqeWBqwmeCcW7DYVJdDd1+Kf/F0v3Nw6pEFas8pVcTGJ6sNb3
	tULA==
X-Gm-Message-State: AN3rC/43mjPgsM8tnjVziaAFiZbblqz/H5gq5REgA6b2bJ/37Jtda1P+LSB/YMA1/XYZrFZjqIU8IOpIpvASLA==
X-Received: by 10.157.27.226 with SMTP id v31mr4144067otv.83.1491840291798;
	Mon, 10 Apr 2017 09:04:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.230.76 with HTTP; Mon, 10 Apr 2017 09:04:51 -0700 (PDT)
In-Reply-To: <474b1819-943a-b3c3-fc2a-9bd343f79e39@draigBrady.com>
References: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
	<474b1819-943a-b3c3-fc2a-9bd343f79e39@draigBrady.com>
From: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9@gmail.com>
Date: Mon, 10 Apr 2017 18:04:51 +0200
Message-ID: <CAPJ9Yc9LQ8FFwe_Wh7eEZwG=9bt17fQ1_EDeLUPNhQ-tQSH-FQ@mail.gmail.com>
Subject: Re: dd - behavior on read error
Cc: coreutils@gnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::22e
X-Mailman-Approved-At: Mon, 10 Apr 2017 12:10:41 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 16:04:55 -0000

On 10 April 2017 at 17:05, P=C3=A1draig Brady  wrote:
> On 10/04/17 06:37, David Bala=C5=BEic wrote:
>> Hi!
>>
>> Using dd on Ubuntu 16.04.2 LTS (64 bit) I discovered this behavior
>> that was (for me) unexpected.
>>
>> There is a bad sector on /dev/sda which on read attempt returns an i/o e=
rror.
>> Suppose it is sector number 50.
>>
>> So: dd if=3D/dev/sda bs=3D512 count=3D1 skip=3D50
>> result: I/O error printed on stderr, exit status code is 1 (non zero,
>> don't remember the exact value)
>>
>> But this: dd if=3D/dev/sda bs=3D2048 count=3D1 skip=3D12
>> returns exit code 0 and no error. It reads 1024 bytes (up to the
>> erroring sector)
>>
>> Is this by design? I would expect an I/O error to be reported (in exit c=
ode).
>
> Your probably hitting the default short read behavior of dd
> which is defined by POSIX.  I.E. the read() system call will
> return what's available before returning the read() error,
> however with a count=3D1 dd will only consider the first read operation.
>
> You can change this operation with the iflag=3Dfullblock flag.
> Note also the conv=3Dsync,noerror settings which would be useful
> for reading as much as possible from the disk.

Thanks.
The dd docs (at [1]) say:

=E2=80=98fullblock=E2=80=99

Accumulate full blocks from input. The read system call may return
early if a full block is not available. When that happens, continue
calling read to fill the remainder of the block. This flag can be used
only with iflag. This flag is useful with pipes for example as they
may return short reads. In that case, this flag is needed to ensure
that a =E2=80=98count=3D=E2=80=99 argument is interpreted as a block count =
rather than a
count of read operations.


Does POSIX mandate treating short reads and error reads the same? Can
you point me to the relevant text?


[1] https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.h=
tml#dd-invocation

Regards,
David


From MAILER-DAEMON Mon Apr 10 12:39:28 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxcLf-0002vK-Vm
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 12:39:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40720)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxcLd-0002v3-EE
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:39:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <xerces9@gmail.com>) id 1cxcLc-0002mq-9A
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:39:25 -0400
Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]:35935)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <xerces9@gmail.com>) id 1cxcLc-0002mf-3u
	for coreutils@gnu.org; Mon, 10 Apr 2017 12:39:24 -0400
Received: by mail-oi0-x242.google.com with SMTP id b187so23397209oif.3
	for <coreutils@gnu.org>; Mon, 10 Apr 2017 09:39:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:cc
	:content-transfer-encoding;
	bh=XnxZDGrjZ8yB98gUMZxSHah8vqchXUzDGT+YzML1714=;
	b=bHWN1g4vcWkSsiNM6XWMvRuP1lw1JKOryjDF9eWr5PQPFV8hrv8zKs2+rgDWr3a3YN
	kuexrI9I7kwxDEkryI7QlZaJoEho/08QYkhD/iPymjmYvxjbgGMqGrsykwxrCDK7SAXR
	3b7w0WLMCR7Tss1CeOC2w3LJeYqhYsCkGN+uEn4Q/IOSVX3QWtd4t25IXjie1WxWLTwP
	hnoaurZnIvYmRzp+TWI+Oo2mW0AaFA2bAOL79kT+Na8gIA39HOd9DcSo3hUYWfkk1LbZ
	dWGyxZtvmg9VEd/R1KOOPqhUiDfMYtRKAMW/BW1in6QjfrP7Nlqhkwioi00TNlGwHagl
	HdQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:cc:content-transfer-encoding;
	bh=XnxZDGrjZ8yB98gUMZxSHah8vqchXUzDGT+YzML1714=;
	b=MEgriUjDm/srQiyn3/xCu+jJ+T7mTj95FuLskOS06ZsDqI3wdc7CzDmLlsTN0ve+mB
	GDXix6ZNDwCY1pqdbkd8/PlnB9r8zx28yb+lOyI3L3WHiXo1FHkdKJ94r1JCVy0OEqhY
	SY1JOK6vOzPAJbaIp4XB946kVDQ690pfXOPWRuM21CVbq1Ah0CFJdJ3eeJwOrnNErayN
	Ek2DKcCDl1+r8H0MLMJ/wn1mKc8YiOrKn5iOSiJaxRXtbTrXlDv8WvPBah7PDIkQEfI5
	JkKlqsX6A0lNuhU73IDP1kQCX0LWRxRgkpLp6BRuH0wzu7OH/w4Be7tS/rt+ZHjGZv20
	agEQ==
X-Gm-Message-State: AN3rC/5olPWl/8zOzmNmG9MhpQWO2kDp/fApHSl7Flla93MXlmxIH3FJ0fpV3Cu6mhOgm8n5oiiKeCN1qPZuEQ==
X-Received: by 10.157.37.11 with SMTP id k11mr7828430otb.219.1491842363075;
	Mon, 10 Apr 2017 09:39:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.230.76 with HTTP; Mon, 10 Apr 2017 09:39:22 -0700 (PDT)
In-Reply-To: <CAPJ9Yc9LQ8FFwe_Wh7eEZwG=9bt17fQ1_EDeLUPNhQ-tQSH-FQ@mail.gmail.com>
References: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
	<474b1819-943a-b3c3-fc2a-9bd343f79e39@draigBrady.com>
	<CAPJ9Yc9LQ8FFwe_Wh7eEZwG=9bt17fQ1_EDeLUPNhQ-tQSH-FQ@mail.gmail.com>
From: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9@gmail.com>
Date: Mon, 10 Apr 2017 18:39:22 +0200
Message-ID: <CAPJ9Yc8EOeEsbsZfgHdjpgDsJ+L+Mcwdpp_EBPut3Mbpwqo_TA@mail.gmail.com>
Subject: Re: dd - behavior on read error
Cc: coreutils@gnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::242
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Apr 2017 16:39:26 -0000

On 10 April 2017 at 18:04, David Bala=C5=BEic wrote:
> On 10 April 2017 at 17:05, P=C3=A1draig Brady  wrote:
>> On 10/04/17 06:37, David Bala=C5=BEic wrote:
>>> Hi!
>>>
>>> Using dd on Ubuntu 16.04.2 LTS (64 bit) I discovered this behavior
>>> that was (for me) unexpected.
>>>
>>> There is a bad sector on /dev/sda which on read attempt returns an i/o =
error.
>>> Suppose it is sector number 50.
>>>
>>> So: dd if=3D/dev/sda bs=3D512 count=3D1 skip=3D50
>>> result: I/O error printed on stderr, exit status code is 1 (non zero,
>>> don't remember the exact value)
>>>
>>> But this: dd if=3D/dev/sda bs=3D2048 count=3D1 skip=3D12
>>> returns exit code 0 and no error. It reads 1024 bytes (up to the
>>> erroring sector)
>>>
>>> Is this by design? I would expect an I/O error to be reported (in exit =
code).
>>
>> Your probably hitting the default short read behavior of dd
>> which is defined by POSIX.  I.E. the read() system call will
>> return what's available before returning the read() error,
>> however with a count=3D1 dd will only consider the first read operation.
>>
>> You can change this operation with the iflag=3Dfullblock flag.
>> Note also the conv=3Dsync,noerror settings which would be useful
>> for reading as much as possible from the disk.
>
> Thanks.
> The dd docs (at [1]) say:
>
> =E2=80=98fullblock=E2=80=99
>
> Accumulate full blocks from input. The read system call may return
> early if a full block is not available. When that happens, continue
> calling read to fill the remainder of the block. This flag can be used
> only with iflag. This flag is useful with pipes for example as they
> may return short reads. In that case, this flag is needed to ensure
> that a =E2=80=98count=3D=E2=80=99 argument is interpreted as a block coun=
t rather than a
> count of read operations.
>
>
> Does POSIX mandate treating short reads and error reads the same? Can
> you point me to the relevant text?
>
>
> [1] https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation=
.html#dd-invocation


I checked the reading code in dd (see below) and apparently if would
fail on read error, if it were reported by the read() function.
So apparently it is read() not reporting the error. I'll check with kernel =
guys.

static ssize_t
iread (int fd, char *buf, size_t size)
{
  ssize_t nread;

  do
    {
      process_signals ();
      nread =3D read (fd, buf, size);
    }
  while (nread < 0 && errno =3D=3D EINTR);

  /* Short read may be due to received signal.  */
  if (0 < nread && nread < size)
    process_signals ();

  if (0 < nread && warn_partial_read)
    {
      static ssize_t prev_nread;

      if (0 < prev_nread && prev_nread < size)
        {
          uintmax_t prev =3D prev_nread;
          if (status_level !=3D STATUS_NONE)
            error (0, 0, ngettext (("warning: partial read (%"PRIuMAX" byte=
); "
                                    "suggest iflag=3Dfullblock"),
                                   ("warning: partial read (%"PRIuMAX" byte=
s); "
                                    "suggest iflag=3Dfullblock"),
                                   select_plural (prev)),
                   prev);
          warn_partial_read =3D false;
        }

      prev_nread =3D nread;
    }

  return nread;
}


Regards,
David


From MAILER-DAEMON Mon Apr 10 22:58:16 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cxm0W-0002Yr-3k
	for mharc-coreutils@gnu.org; Mon, 10 Apr 2017 22:58:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37229)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cxm0T-0002W7-4F
	for coreutils@gnu.org; Mon, 10 Apr 2017 22:58:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1cxm0O-0007xh-AL
	for coreutils@gnu.org; Mon, 10 Apr 2017 22:58:13 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:56746
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1cxm0O-0007wy-3m
	for coreutils@gnu.org; Mon, 10 Apr 2017 22:58:08 -0400
Received: from localhost.localdomain (mobile-166-137-177-104.mycingular.net
	[166.137.177.104])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id C2D96985D;
	Tue, 11 Apr 2017 03:58:02 +0100 (IST)
Subject: Re: dd - behavior on read error
To: =?UTF-8?Q?David_Bala=c5=beic?= <xerces9@gmail.com>
References: <CAPJ9Yc90_aH1haS_AgiZCZy9ADoqo9gntub7m4F6YhX3ypTA3w@mail.gmail.com>
	<474b1819-943a-b3c3-fc2a-9bd343f79e39@draigBrady.com>
	<CAPJ9Yc9LQ8FFwe_Wh7eEZwG=9bt17fQ1_EDeLUPNhQ-tQSH-FQ@mail.gmail.com>
	<CAPJ9Yc8EOeEsbsZfgHdjpgDsJ+L+Mcwdpp_EBPut3Mbpwqo_TA@mail.gmail.com>
Cc: coreutils@gnu.org
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <c5999c0d-28da-35d5-a825-2cbb336ff519@draigBrady.com>
Date: Mon, 10 Apr 2017 19:57:58 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAPJ9Yc8EOeEsbsZfgHdjpgDsJ+L+Mcwdpp_EBPut3Mbpwqo_TA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Apr 2017 02:58:14 -0000

On 10/04/17 09:39, David Bala=C5=BEic wrote:
> On 10 April 2017 at 18:04, David Bala=C5=BEic wrote:
>> On 10 April 2017 at 17:05, P=C3=A1draig Brady  wrote:
>>> On 10/04/17 06:37, David Bala=C5=BEic wrote:
>>>> Hi!
>>>>
>>>> Using dd on Ubuntu 16.04.2 LTS (64 bit) I discovered this behavior
>>>> that was (for me) unexpected.
>>>>
>>>> There is a bad sector on /dev/sda which on read attempt returns an i=
/o error.
>>>> Suppose it is sector number 50.
>>>>
>>>> So: dd if=3D/dev/sda bs=3D512 count=3D1 skip=3D50
>>>> result: I/O error printed on stderr, exit status code is 1 (non zero=
,
>>>> don't remember the exact value)
>>>>
>>>> But this: dd if=3D/dev/sda bs=3D2048 count=3D1 skip=3D12
>>>> returns exit code 0 and no error. It reads 1024 bytes (up to the
>>>> erroring sector)
>>>>
>>>> Is this by design? I would expect an I/O error to be reported (in ex=
it code).
>>>
>>> Your probably hitting the default short read behavior of dd
>>> which is defined by POSIX.  I.E. the read() system call will
>>> return what's available before returning the read() error,
>>> however with a count=3D1 dd will only consider the first read operati=
on.
>>>
>>> You can change this operation with the iflag=3Dfullblock flag.
>>> Note also the conv=3Dsync,noerror settings which would be useful
>>> for reading as much as possible from the disk.
>>
>> Thanks.
>> The dd docs (at [1]) say:
>>
>> =E2=80=98fullblock=E2=80=99
>>
>> Accumulate full blocks from input. The read system call may return
>> early if a full block is not available. When that happens, continue
>> calling read to fill the remainder of the block. This flag can be used
>> only with iflag. This flag is useful with pipes for example as they
>> may return short reads. In that case, this flag is needed to ensure
>> that a =E2=80=98count=3D=E2=80=99 argument is interpreted as a block c=
ount rather than a
>> count of read operations.
>>
>>
>> Does POSIX mandate treating short reads and error reads the same? Can
>> you point me to the relevant text?
>>
>>
>> [1] https://www.gnu.org/software/coreutils/manual/html_node/dd-invocat=
ion.html#dd-invocation
>=20
>=20
> I checked the reading code in dd (see below) and apparently if would
> fail on read error, if it were reported by the read() function.
> So apparently it is read() not reporting the error. I'll check with ker=
nel guys.

Everything is behaving as expected here.
The read() call returns less than asked for,
but that's fine and best to do as it's better
to provide what's available.
A subsequent read() will fail though, but because
dd is limited to only 1 read() with count=3D1 (and without iflag=3Dfullbl=
ock)
that error is never encountered by dd.

cheers,
P=C3=A1draig



From MAILER-DAEMON Thu Apr 13 09:01:19 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cyeND-0003C3-Er
	for mharc-coreutils@gnu.org; Thu, 13 Apr 2017 09:01:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56004)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slfields@us.ibm.com>) id 1cyeGU-0002In-IK
	for coreutils@gnu.org; Thu, 13 Apr 2017 08:54:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <slfields@us.ibm.com>) id 1cyeGR-0002mf-HM
	for coreutils@gnu.org; Thu, 13 Apr 2017 08:54:22 -0400
Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33096
	helo=mx0a-001b2d01.pphosted.com)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <slfields@us.ibm.com>) id 1cyeGR-0002mT-AV
	for coreutils@gnu.org; Thu, 13 Apr 2017 08:54:19 -0400
Received: from pps.filterd (m0098421.ppops.net [127.0.0.1])
	by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id
	v3DCs77H068121
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 08:54:17 -0400
Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159])
	by mx0a-001b2d01.pphosted.com with ESMTP id 29t75uyeee-1
	(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 08:54:17 -0400
Received: from localhost
	by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only!
	Violators will be prosecuted
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 06:54:13 -0600
Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19)
	by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway:
	Authorized Use Only! Violators will be prosecuted; 
	Thu, 13 Apr 2017 06:54:10 -0600
Received: from b03ledav002.gho.boulder.ibm.com
	(b03ledav002.gho.boulder.ibm.com [9.17.130.233])
	by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with
	ESMTP id v3DCsAXA8585584
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 05:54:10 -0700
Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id 0602D13603C
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 06:54:10 -0600 (MDT)
Received: from d50lp03.ny.us.ibm.com (unknown [146.89.104.211])
	by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTPS id C84A213603A
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 06:54:09 -0600 (MDT)
Received: from localhost
	by d50lp03.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use
	Only! Violators will be prosecuted
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 08:54:09 -0400
Received: from smtp.notes.na.collabserv.com (192.155.248.81)
	by d50lp03.ny.us.ibm.com (158.87.18.22) with IBM ESMTP SMTP Gateway:
	Authorized Use Only! Violators will be prosecuted; 
	(version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128)
	Thu, 13 Apr 2017 08:54:06 -0400
Received: from localhost
	by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 12:54:05 -0000
Received: from us1a3-smtp06.a3.dal06.isc4sb.com (10.146.103.243)
	by smtp.notes.na.collabserv.com (10.106.227.88) with
	smtp.notes.na.collabserv.com ESMTP; Thu, 13 Apr 2017 12:54:03 -0000
Received: from us1a3-mail102.a3.dal06.isc4sb.com ([10.146.21.228])
	by us1a3-smtp06.a3.dal06.isc4sb.com
	with ESMTP id 2017041312540232-208060 ;
	Thu, 13 Apr 2017 12:54:02 +0000 
To: coreutils@gnu.org
Subject: Feature Request: du command - add option to report only on file
	objects owned by user/group
From: "Scott L Fields" <slfields@us.ibm.com>
Date: Thu, 13 Apr 2017 07:54:02 -0500
MIME-Version: 1.0
X-KeepSent: 07B8A8EC:E625E8EC-86258101:004662D7;
 type=4; name=$KeepSent
X-Mailer: IBM Notes Release 9.0.1FP2 SHF37 August 25, 2014
X-LLNOutbound: False
X-Disclaimed: 24403
X-TNEFEvaluated: 1
x-cbid: 17041312-0028-0000-0000-000007666633
X-IBM-SpamModules-Scores: FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.423878;
	ST=0; TS=0; UL=0; ISC=; MB=0.000308
X-IBM-SpamModules-Versions: BY=3.00006928; HX=3.00000240; KW=3.00000007;
	PH=3.00000004; SC=3.00000208; SDB=6.00846988; UDB=6.00417838;
	IPR=6.00625422; 
	BA=6.00005288; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;
	ZB=6.00000000; 
	ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015031;
	XFM=3.00000013; UTC=2017-04-13 12:54:04
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2017-04-13 07:44:12 - 6.00006596
x-cbparentid: 17041312-7094-0000-0000-000009E55695
X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused
X-TM-AS-GCONF: 00
X-IBM-SpamModules-Scores: 
X-IBM-SpamModules-Versions: BY=3.00006929; HX=3.00000240; KW=3.00000007;
	PH=3.00000004; SC=3.00000208; SDB=6.00846988; UDB=6.00417838;
	IPR=6.00625421; 
	BA=6.00005288; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;
	ZB=6.00000000; 
	ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015031;
	XFM=3.00000013; UTC=2017-04-13 12:54:11
X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused
Message-Id: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, ,
	definitions=2017-04-13_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
	spamscore=0 suspectscore=1
	malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam
	adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001
	definitions=main-1704130108
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-Received-From: 148.163.158.5
X-Mailman-Approved-At: Thu, 13 Apr 2017 09:01:18 -0400
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2017 12:54:24 -0000

I'm looking for a convenient way to see the total space a given user=20
and/or group is using in a directory path.

Currently, this can be achieved by options like "find <fsname> -user=20
<user> -print0 | du --from0-files=3D1", but is not all that efficient for=20
very large listings.

I would like to request an option in "du" to allow only file objects owned =

by a specific user and/or group be shown.





From MAILER-DAEMON Thu Apr 13 09:05:24 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cyeRA-0003yV-4V
	for mharc-coreutils@gnu.org; Thu, 13 Apr 2017 09:05:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60467)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cyeR7-0003yP-5C
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:05:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1cyeR3-0006VJ-RH
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:05:20 -0400
Received: from mx1.redhat.com ([209.132.183.28]:33748)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1cyeR3-0006V6-IB
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:05:17 -0400
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
	[10.5.11.15])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id 6B0038047C;
	Thu, 13 Apr 2017 13:05:16 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6B0038047C
Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6B0038047C
Received: from [10.10.122.61] (ovpn-122-61.rdu2.redhat.com [10.10.122.61])
	by smtp.corp.redhat.com (Postfix) with ESMTP id EEF687A436;
	Thu, 13 Apr 2017 13:05:15 +0000 (UTC)
Subject: Re: Feature Request: du command - add option to report only on file
	objects owned by user/group
To: Scott L Fields <slfields@us.ibm.com>, coreutils@gnu.org
References: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <75a60d87-9975-4db1-8681-22114c9366c1@redhat.com>
Date: Thu, 13 Apr 2017 08:05:14 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="33669XvvJnrlSa1nthscRV2aXbpeMdsod"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.28]);
	Thu, 13 Apr 2017 13:05:16 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2017 13:05:22 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--33669XvvJnrlSa1nthscRV2aXbpeMdsod
From: Eric Blake <eblake@redhat.com>
To: Scott L Fields <slfields@us.ibm.com>, coreutils@gnu.org
Message-ID: <75a60d87-9975-4db1-8681-22114c9366c1@redhat.com>
Subject: Re: Feature Request: du command - add option to report only on file
 objects owned by user/group
References: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
In-Reply-To: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/13/2017 07:54 AM, Scott L Fields wrote:
> I'm looking for a convenient way to see the total space a given user=20
> and/or group is using in a directory path.
>=20
> Currently, this can be achieved by options like "find <fsname> -user=20
> <user> -print0 | du --from0-files=3D1", but is not all that efficient f=
or=20
> very large listings.

Why not? It's exactly two processes running, and nicely combines the
existing behavior of two tools each doing one thing well (find doing the
filtering, du doing the summing on the list).

>=20
> I would like to request an option in "du" to allow only file objects ow=
ned=20
> by a specific user and/or group be shown.

I don't see how this would be any more efficient than the find|du
invocation you are already using.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--33669XvvJnrlSa1nthscRV2aXbpeMdsod
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJY73eLAAoJEKeha0olJ0NqZgMH/Re4M2fo16WP/wFuOHhsZsQ7
4JFNXDlTEHoyucDOhEMEaAptBVGlrTrAFuWARQ6JJfHnFgsHPYazAV+1xC/j99Ej
ELwzAd6Y+fQMfBjoJyyIGb5p4m65Y5aYE0j3d2zzxxSHdOY5I2JpnS91kkocPl/L
+/ig4zZ+/lsdqwMxi5sypTnFBjUJUbxILCe4vhaqThXWUHN4n+42pgXknecDHQQE
jNdsyMdHvDTlQLiXH14vuK/dbJEm3EK4ojP+EZrQxEdWczAKxi4g3VaFDeCEl0qG
8ypIEo5rhqyBUxpifkZ2bZ3/7Ew7/urH/HaBfwtkmKcO+v7tgPZ3mQgg2CCOOGk=
=ep4U
-----END PGP SIGNATURE-----

--33669XvvJnrlSa1nthscRV2aXbpeMdsod--


From MAILER-DAEMON Thu Apr 13 09:06:15 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cyeRz-0004Ch-J8
	for mharc-coreutils@gnu.org; Thu, 13 Apr 2017 09:06:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60802)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <reuti@staff.uni-marburg.de>) id 1cyeRv-0004BL-Nj
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:06:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <reuti@staff.uni-marburg.de>) id 1cyeRo-0006lF-6r
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:06:11 -0400
Received: from vhrz24.hrz.uni-marburg.de ([137.248.1.34]:55729)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <reuti@staff.uni-marburg.de>)
	id 1cyeRn-0006gO-Vx
	for coreutils@gnu.org; Thu, 13 Apr 2017 09:06:04 -0400
Received: from ma15106.chemie.uni-marburg.de (ma15106.Chemie.Uni-Marburg.DE
	[137.248.150.142]) (authenticated bits=0)
	by vhrz24.HRZ.Uni-Marburg.DE (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP
	id v3DD5p5p044734
	(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); 
	Thu, 13 Apr 2017 15:05:52 +0200
Subject: Re: Feature Request: du command - add option to report only on file
	objects owned by user/group
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Content-Type: multipart/signed;
	boundary="Apple-Mail=_20EFF6C7-2005-4BE8-9626-FA45919BB35D";
	protocol="application/pgp-signature"; micalg=pgp-sha1
X-Pgp-Agent: GPGMail
From: Reuti <reuti@staff.uni-marburg.de>
In-Reply-To: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
Date: Thu, 13 Apr 2017 15:05:51 +0200
Cc: coreutils@gnu.org
Message-Id: <015AC5BD-8470-479F-8EB7-FA2CFA02AC60@staff.uni-marburg.de>
References: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
To: Scott L Fields <slfields@us.ibm.com>
X-Mailer: Apple Mail (2.2104)
X-Null-Tag: 0edf384a1d6f8eb8f8f60adb4ecd6a31
X-UniMR-MailScanner-Information: see
	http://www.uni-marburg.de/hrz/internet/mail/spam/
X-UniMR-MailScanner-ID: v3DD5p5p044734
X-UniMR-MailScanner: Found to be clean
X-UniMR-MailScanner-From: reuti@staff.uni-marburg.de
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 137.248.1.34
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2017 13:06:14 -0000


--Apple-Mail=_20EFF6C7-2005-4BE8-9626-FA45919BB35D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> Am 13.04.2017 um 14:54 schrieb Scott L Fields <slfields@us.ibm.com>:
>=20
> I'm looking for a convenient way to see the total space a given user
> and/or group is using in a directory path.
>=20
> Currently, this can be achieved by options like "find <fsname> -user
> <user> -print0 | du --from0-files=3D1", but is not all that efficient =
for
> very large listings.
>=20
> I would like to request an option in "du" to allow only file objects =
owned
> by a specific user and/or group be shown.

You could use disk quotas for users or groups, without setting an actual =
limit. The output of `quota -v` shows the used up space anyway (or =
`repquota -av` as root).

-- Reuti

--Apple-Mail=_20EFF6C7-2005-4BE8-9626-FA45919BB35D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAljvd68ACgkQo/GbGkBRnRqRGgCfdg93S1fw7r1PQ+BXo5OO3O0v
vTEAoKTGOzGvX2+s4zSWkrZJcNp9BaVr
=zN9f
-----END PGP SIGNATURE-----

--Apple-Mail=_20EFF6C7-2005-4BE8-9626-FA45919BB35D--


From MAILER-DAEMON Thu Apr 13 10:12:53 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cyfUT-0008MA-EN
	for mharc-coreutils@gnu.org; Thu, 13 Apr 2017 10:12:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57605)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slfields@us.ibm.com>) id 1cyfUQ-0008Lm-RN
	for coreutils@gnu.org; Thu, 13 Apr 2017 10:12:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <slfields@us.ibm.com>) id 1cyfUM-0002D4-QZ
	for coreutils@gnu.org; Thu, 13 Apr 2017 10:12:50 -0400
Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53194
	helo=mx0a-001b2d01.pphosted.com)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <slfields@us.ibm.com>) id 1cyfUM-0002Cq-Lj
	for coreutils@gnu.org; Thu, 13 Apr 2017 10:12:46 -0400
Received: from pps.filterd (m0098420.ppops.net [127.0.0.1])
	by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id
	v3DE9PUu079853
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 10:12:46 -0400
Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202])
	by mx0b-001b2d01.pphosted.com with ESMTP id 29t6qvchqm-1
	(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 10:12:45 -0400
Received: from localhost
	by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only!
	Violators will be prosecuted
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 10:12:45 -0400
Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25)
	by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway:
	Authorized Use Only! Violators will be prosecuted; 
	Thu, 13 Apr 2017 10:12:43 -0400
Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com
	[9.57.199.107])
	by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id
	v3DECh1760030976
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 14:12:43 GMT
Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id F1BDE124058
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 10:12:37 -0400 (EDT)
Received: from d50lp02.ny.us.ibm.com (unknown [146.89.104.208])
	by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTPS id E4DE812405A
	for <coreutils@gnu.org>; Thu, 13 Apr 2017 10:12:37 -0400 (EDT)
Received: from localhost
	by d50lp02.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use
	Only! Violators will be prosecuted
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 10:12:42 -0400
Received: from smtp.notes.na.collabserv.com (192.155.248.75)
	by d50lp02.ny.us.ibm.com (158.87.18.21) with IBM ESMTP SMTP Gateway:
	Authorized Use Only! Violators will be prosecuted; 
	(version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128)
	Thu, 13 Apr 2017 10:12:40 -0400
Received: from localhost
	by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP
	for <coreutils@gnu.org> from <slfields@us.ibm.com>;
	Thu, 13 Apr 2017 14:12:39 -0000
Received: from us1a3-smtp02.a3.dal06.isc4sb.com (10.106.154.159)
	by smtp.notes.na.collabserv.com (10.106.227.123) with
	smtp.notes.na.collabserv.com ESMTP; Thu, 13 Apr 2017 14:12:37 -0000
Received: from us1a3-mail102.a3.dal06.isc4sb.com ([10.146.21.228])
	by us1a3-smtp02.a3.dal06.isc4sb.com
	with ESMTP id 2017041314123691-265783 ;
	Thu, 13 Apr 2017 14:12:36 +0000 
In-Reply-To: <75a60d87-9975-4db1-8681-22114c9366c1@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: coreutils@gnu.org
Subject: Re: Feature Request: du command - add option to report only on file
	objects owned by user/group
From: "Scott L Fields" <slfields@us.ibm.com>
Date: Thu, 13 Apr 2017 09:12:36 -0500
References: <OF07B8A8EC.E625E8EC-ON86258101.004662D7-86258101.0046DF96@notes.na.collabserv.com>
	<75a60d87-9975-4db1-8681-22114c9366c1@redhat.com>
MIME-Version: 1.0
X-KeepSent: BEB80729:EAFC73B5-86258101:004DC3F9;
 type=4; name=$KeepSent
X-Mailer: IBM Notes Release 9.0.1FP2 SHF37 August 25, 2014
X-LLNOutbound: False
X-Disclaimed: 42371
X-TNEFEvaluated: 1
x-cbid: 17041314-0048-0000-0000-00000159968F
X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0;
	SC=0.417846; ST=0; TS=0; UL=0; ISC=; MB=0.006190
X-IBM-SpamModules-Versions: BY=3.00006929; HX=3.00000240; KW=3.00000007;
	PH=3.00000004; SC=3.00000208; SDB=6.00847014; UDB=6.00417854;
	IPR=6.00625448; 
	BA=6.00005288; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;
	ZB=6.00000000; 
	ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015032;
	XFM=3.00000013; UTC=2017-04-13 14:12:39
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2017-04-13 07:52:52 - 6.00006596
x-cbparentid: 17041314-3816-0000-0000-00000EF8B9D5
X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused
X-TM-AS-GCONF: 00
X-IBM-SpamModules-Scores: 
X-IBM-SpamModules-Versions: BY=3.00006929; HX=3.00000240; KW=3.00000007;
	PH=3.00000004; SC=3.00000208; SDB=6.00847014; UDB=6.00417854;
	IPR=6.00625447; 
	BA=6.00005288; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;
	ZB=6.00000000; 
	ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015032;
	XFM=3.00000013; UTC=2017-04-13 14:12:44
X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused
Message-Id: <OFBEB80729.EAFC73B5-ON86258101.004DC3F9-86258101.004E1107@notes.na.collabserv.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, ,
	definitions=2017-04-13_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
	spamscore=0 suspectscore=0
	malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam
	adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001
	definitions=main-1704130119
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-Received-From: 148.163.158.5
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2017 14:12:52 -0000

Primarily because you're doing a file name comparison for every entry=20
reported entry from "find", versus just checking the UID/GID.

When you're involving a list of several thousand files, that is a=20
significant increase of resource usage (memory and CPU).

Thanks



From:   Eric Blake <eblake@redhat.com>
To:     Scott L Fields/Fort Worth/IBM@IBMUS, coreutils@gnu.org
Date:   04/13/2017 08:05 AM
Subject:        Re: Feature Request: du command - add option to report=20
only on file objects owned by user/group



On 04/13/2017 07:54 AM, Scott L Fields wrote:
> I'm looking for a convenient way to see the total space a given user=20
> and/or group is using in a directory path.
>=20
> Currently, this can be achieved by options like "find <fsname> -user=20
> <user> -print0 | du --from0-files=3D1", but is not all that efficient for=
=20
> very large listings.

Why not? It's exactly two processes running, and nicely combines the
existing behavior of two tools each doing one thing well (find doing the
filtering, du doing the summing on the list).

>=20
> I would like to request an option in "du" to allow only file objects=20
owned=20
> by a specific user and/or group be shown.

I don't see how this would be any more efficient than the find|du
invocation you are already using.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

[attachment "signature.asc" deleted by Scott L Fields/Fort Worth/IBM]=20



From MAILER-DAEMON Sat Apr 15 09:52:49 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1czO89-0001ga-KP
	for mharc-coreutils@gnu.org; Sat, 15 Apr 2017 09:52:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52438)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lestofante88@gmail.com>) id 1czKgI-0006FH-JV
	for coreutils@gnu.org; Sat, 15 Apr 2017 06:11:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <lestofante88@gmail.com>) id 1czKgH-0000dk-PN
	for coreutils@gnu.org; Sat, 15 Apr 2017 06:11:50 -0400
Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:36723)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <lestofante88@gmail.com>)
	id 1czKgH-0000ct-KJ
	for coreutils@gnu.org; Sat, 15 Apr 2017 06:11:49 -0400
Received: by mail-vk0-x22b.google.com with SMTP id q78so15949982vke.3
	for <coreutils@gnu.org>; Sat, 15 Apr 2017 03:11:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:from:date:message-id:subject:to;
	bh=7FxMb9domNplCIilYHH85t4XJTUWrc5FpDULflDG2uk=;
	b=NkKVty+p33ogRDbd3jlGX5c3CV2nmG0j5CgqZIEQn07ZwUX4J6aq+6VKeDJcnPTmu+
	8EZ1VELBN/8l3cqKtO9jmqqZyDr2ympTHISBZfWH7HBSy14tsdCEnMLJyiMHMNMKMHEE
	Ix+HpkrmT1E7Yur3sPcOisVxE0BY6fD9EbgU9Z0i+gfVQ6qNzrg1F/vQ/8inIQ/q5Uo+
	VDZCf6auY/zqeyWUqqOeNkEhrDA9AEAw5o9Nhg+jar0/3cFPOlzwzgIEzbSzSw3V6Op4
	FD8yRZdmJDLRfiU0izx9Ipx4AzH7Hqw9uQ+wvads7CRnEO6DhIjzhqMG6Ra9Xp2KHwWb
	mBEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=7FxMb9domNplCIilYHH85t4XJTUWrc5FpDULflDG2uk=;
	b=uKio7QRWTHaP0Qhzvyaph5+r4BAMrDulDmU4tYa0XLWgey59XKlSjBBbnK093P91Ji
	o+cCSN3tbNt9zbR8rzOntxmiFOru1xltXArI835I6MHMbWOMr6JFm3l8Tfkr1/iHfFV1
	x/p8H3zeE5rXKCT2HkeDiTh4kUqzn/IzTew8+/tQzg23xK3AYwMJxayoT71EnrYkRY8D
	4FyS9iitFIGD53DcITSGrUEr5YJ73BSOUjYsnBdZ7nRB7Ff20ZjanCQ6npgZUFMaAp/c
	rRAGbtnQnIVZKUdb4vKzSO7S5kxJdeacLEXYp0LYgmYS3qSF8ivtq+JVmpGWnx6ZRCYQ
	B6pg==
X-Gm-Message-State: AN3rC/4QK769NHhdiNa2C3wkLhqq7GmuEoiTbKAEDRNIqgMviRnpv2nQ
	pziisNRi3uqS07ujXcvGSad9SzrjKA==
X-Received: by 10.31.99.67 with SMTP id x64mr5188423vkb.65.1492251107237; Sat,
	15 Apr 2017 03:11:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.4.164 with HTTP; Sat, 15 Apr 2017 03:11:46 -0700 (PDT)
From: lesto fante <lestofante88@gmail.com>
Date: Sat, 15 Apr 2017 12:11:46 +0200
Message-ID: <CAJx=tWM07JqOrDp+DiTfZmykgCCeAP6a9vMtr1H7-JDamUzTJQ@mail.gmail.com>
Subject: STTY arbitraty baudrate
To: coreutils@gnu.org
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400c:c05::22b
X-Mailman-Approved-At: Sat, 15 Apr 2017 09:52:48 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Apr 2017 10:11:51 -0000

Hello,

i'm working on some MCU and i need to set arbitrary baudrate; looking
at the code of stty seems like I can only use a baudrate from a
specific list.

I undertstand those are standard and non-standard things can make
issue, but could it possible to use a flag to say "look stty, i know
waht im doing, give me my 250.000 baud thanks."

>From what I seen ospeed and ispeed seems to bypass the check, maybe
the solution would be to set this in a manual?


From MAILER-DAEMON Sun Apr 16 22:56:29 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1czwq5-0007i6-Nr
	for mharc-coreutils@gnu.org; Sun, 16 Apr 2017 22:56:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43876)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1czwq3-0007hr-Ni
	for coreutils@gnu.org; Sun, 16 Apr 2017 22:56:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1czwpz-0007fx-Qp
	for coreutils@gnu.org; Sun, 16 Apr 2017 22:56:27 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:37382
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1czwpz-0007fh-KP
	for coreutils@gnu.org; Sun, 16 Apr 2017 22:56:23 -0400
Received: from localhost.localdomain (unknown [166.170.41.148])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 1D3879783;
	Mon, 17 Apr 2017 03:56:19 +0100 (IST)
Subject: Re: STTY arbitraty baudrate
To: lesto fante <lestofante88@gmail.com>, coreutils@gnu.org
References: <CAJx=tWM07JqOrDp+DiTfZmykgCCeAP6a9vMtr1H7-JDamUzTJQ@mail.gmail.com>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <62c0688c-03d9-4781-0a6e-21973b14e6dc@draigBrady.com>
Date: Sun, 16 Apr 2017 19:56:16 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAJx=tWM07JqOrDp+DiTfZmykgCCeAP6a9vMtr1H7-JDamUzTJQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Apr 2017 02:56:28 -0000

On 15/04/17 03:11, lesto fante wrote:
> Hello,
>=20
> i'm working on some MCU and i need to set arbitrary baudrate; looking
> at the code of stty seems like I can only use a baudrate from a
> specific list.
>=20
> I undertstand those are standard and non-standard things can make
> issue, but could it possible to use a flag to say "look stty, i know
> waht im doing, give me my 250.000 baud thanks."
>=20
>>From what I seen ospeed and ispeed seems to bypass the check, maybe
> the solution would be to set this in a manual?

Yes this is confusing.
Currently unmatched values get converted to -1 when passed to cfsetospeed=
().
To determine if the setting is actually support you must read back:

On my linux system here B250000 is not supported for example:

$ stty speed
38400
$ stty ospeed 250000
$ stty speed
38400

POSIX is quite vague about acceptable inputs to:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/cfsetospeed.htm=
l

The Linux man pages specify certain B... constants must be specified:
http://man7.org/linux/man-pages/man3/cfsetospeed.3.html

If you use one of those constants you get different results than above

$ stty ospeed 230400
stty: 'standard input': unable to perform all requested operations
$ stty speed
230400

As for relaxing to specify arbitrary numbers, that wouldn't work
on Linux at least as there isn't a direct mapping between B... and value:

$ find /usr/include/ -type f | xargs grep -F B230400
/usr/include/bits/termios.h:#define  B230400  0010003

Perhaps low level serial control like this is best supported
with the setserial command on Linux at least.

cheers,
P=C3=A1draig.


From MAILER-DAEMON Sat Apr 22 05:52:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d1riq-0000js-JN
	for mharc-coreutils@gnu.org; Sat, 22 Apr 2017 05:52:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45944)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1rio-0000jg-Tx
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1rim-0000Pw-BL
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:54 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42472)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eggert@cs.ucla.edu>) id 1d1rim-0000Pi-55
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:52 -0400
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2BFF9160077
	for <coreutils@gnu.org>; Sat, 22 Apr 2017 02:52:51 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id aMyWkMxlD0Da; Sat, 22 Apr 2017 02:52:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4BACE160072;
	Sat, 22 Apr 2017 02:52:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id seiGjYwIeCVy; Sat, 22 Apr 2017 02:52:50 -0700 (PDT)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2001B160062;
	Sat, 22 Apr 2017 02:52:50 -0700 (PDT)
From: Paul Eggert <eggert@cs.ucla.edu>
To: coreutils@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [INSTALLED 3/3] maint: remove unused functions and constants
Date: Sat, 22 Apr 2017 02:52:34 -0700
Message-Id: <20170422095234.27758-3-eggert@cs.ucla.edu>
X-Mailer: git-send-email 2.9.3
In-Reply-To: <20170422095234.27758-1-eggert@cs.ucla.edu>
References: <20170422095234.27758-1-eggert@cs.ucla.edu>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 131.179.128.68
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Apr 2017 09:52:56 -0000

These were found by clang.
* gl/lib/rand-isaac.c (min):
* gl/lib/randint.c (shift_right):
* src/md5sum.c (algorithm):
Remove; unused.
---
 gl/lib/rand-isaac.c |  7 -------
 gl/lib/randint.c    | 13 +++----------
 src/md5sum.c        |  8 ++------
 3 files changed, 5 insertions(+), 23 deletions(-)

diff --git a/gl/lib/rand-isaac.c b/gl/lib/rand-isaac.c
index 3e36063..88640ae 100644
--- a/gl/lib/rand-isaac.c
+++ b/gl/lib/rand-isaac.c
@@ -48,13 +48,6 @@
   __attribute__ ((__no_sanitize_undefined__))
 #endif
 
-/* The minimum of two sizes A and B.  */
-static inline size_t
-min (size_t a, size_t b)
-{
-  return (a < b ? a : b);
-}
-
 /* A if 32-bit ISAAC, B if 64-bit.  This is a macro, not an inline
    function, to prevent undefined behavior if the unused argument
    shifts by more than a word width.  */
diff --git a/gl/lib/randint.c b/gl/lib/randint.c
index e3ec841..4561067 100644
--- a/gl/lib/randint.c
+++ b/gl/lib/randint.c
@@ -106,13 +106,6 @@ static inline randint shift_left (randint x)
   return HUGE_BYTES ? 0 : x << CHAR_BIT;
 }
 
-/* Return X shifted right by CHAR_BIT bits.  */
-static inline randint
-shift_right (randint x)
-{
-  return HUGE_BYTES ? 0 : x >> CHAR_BIT;
-}
-
 
 /* Consume random data from *S to generate a random number in the range
    0 .. GENMAX.  */
@@ -148,9 +141,9 @@ randint_genmax (struct randint_source *s, randint genmax)
           /* Increase RANDMAX by appending random bytes to RANDNUM and
              UCHAR_MAX to RANDMAX until RANDMAX is no less than
              GENMAX.  This may lose up to CHAR_BIT bits of information
-             if shift_right (RANDINT_MAX) < GENMAX, but it is not
-             worth the programming hassle of saving these bits since
-             GENMAX is rarely that large in practice.  */
+             if (HUGE_BYTES ? 0 : RANDINT_MAX >> CHAR_BIT) < GENMAX,
+             but it is not worth the programming hassle of saving
+             these bits since GENMAX is rarely that large in practice.  */
 
           i = 0;
 
diff --git a/src/md5sum.c b/src/md5sum.c
index 91cdfb2..9de0eb9 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -170,12 +170,8 @@ enum Algorithm
 {
   BLAKE2b
 };
-static enum Algorithm const algorithm[] =
-{
-  BLAKE2b
-};
-ARGMATCH_VERIFY (algorithm_in_string, algorithm);
-ARGMATCH_VERIFY (algorithm_out_string, algorithm);
+verify (ARRAY_CARDINALITY (algorithm_in_string) == 2);
+verify (ARRAY_CARDINALITY (algorithm_out_string) == 2);
 
 static enum Algorithm b2_algorithm;
 static uintmax_t b2_length;
-- 
2.9.3



From MAILER-DAEMON Sat Apr 22 05:52:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d1riq-0000k4-Ml
	for mharc-coreutils@gnu.org; Sat, 22 Apr 2017 05:52:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45943)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1rio-0000jf-Tv
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1ril-0000Pm-Rx
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:54 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42454)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eggert@cs.ucla.edu>) id 1d1ril-0000Pg-LH
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:51 -0400
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id C0CE816006B
	for <coreutils@gnu.org>; Sat, 22 Apr 2017 02:52:48 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id 03hDsx-i32S2; Sat, 22 Apr 2017 02:52:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 032E3160064;
	Sat, 22 Apr 2017 02:52:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id OKk2QV9TCjSK; Sat, 22 Apr 2017 02:52:47 -0700 (PDT)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D730C160062;
	Sat, 22 Apr 2017 02:52:47 -0700 (PDT)
From: Paul Eggert <eggert@cs.ucla.edu>
To: coreutils@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [INSTALLED 1/3] build: update gnulib submodule to latest
Date: Sat, 22 Apr 2017 02:52:32 -0700
Message-Id: <20170422095234.27758-1-eggert@cs.ucla.edu>
X-Mailer: git-send-email 2.9.3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 131.179.128.68
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Apr 2017 09:52:56 -0000

* gl/modules/tempname.diff: Update to match current Gnulib.
---
 gl/modules/tempname.diff | 11 ++---------
 gnulib                   |  2 +-
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/gl/modules/tempname.diff b/gl/modules/tempname.diff
index 05725c5..4aee47c 100644
--- a/gl/modules/tempname.diff
+++ b/gl/modules/tempname.diff
@@ -1,15 +1,8 @@
 diff --git a/modules/tempname b/modules/tempname
-index 7fafd72..4703517 100644
+index 570ea54..f1be8ff 100644
 --- a/modules/tempname
 +++ b/modules/tempname
-@@ -1,5 +1,5 @@
- Description:
--gen_tempname() and try_tempname(): create a private temporary file or directory.
-+{gen,try}_tempname{,_len}(): create a private temporary file or directory.
-
- Files:
- lib/tempname.c
-@@ -11,7 +11,9 @@ extensions
+@@ -12,7 +12,9 @@ extensions
  fcntl-h
  gettimeofday
  lstat
diff --git a/gnulib b/gnulib
index 405cd67..30784c4 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 405cd675384221b541b460c43de26d159914fe0a
+Subproject commit 30784c47105573c213cda1b3c4f397c8df837966
-- 
2.9.3



From MAILER-DAEMON Sat Apr 22 05:52:59 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d1ris-0000lX-Uj
	for mharc-coreutils@gnu.org; Sat, 22 Apr 2017 05:52:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45947)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1rip-0000jh-4b
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1d1rin-0000Q3-02
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:55 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42478)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eggert@cs.ucla.edu>) id 1d1rim-0000Ps-N3
	for coreutils@gnu.org; Sat, 22 Apr 2017 05:52:52 -0400
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id B3D9116006B
	for <coreutils@gnu.org>; Sat, 22 Apr 2017 02:52:51 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id BJq5blzoggAj; Sat, 22 Apr 2017 02:52:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6B9BF160064;
	Sat, 22 Apr 2017 02:52:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id Fc-IKQgpu4sX; Sat, 22 Apr 2017 02:52:49 -0700 (PDT)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3B5E7160062;
	Sat, 22 Apr 2017 02:52:49 -0700 (PDT)
From: Paul Eggert <eggert@cs.ucla.edu>
To: coreutils@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [INSTALLED 2/3] date: adjust to gnulib parse-datetime changes
Date: Sat, 22 Apr 2017 02:52:33 -0700
Message-Id: <20170422095234.27758-2-eggert@cs.ucla.edu>
X-Mailer: git-send-email 2.9.3
In-Reply-To: <20170422095234.27758-1-eggert@cs.ucla.edu>
References: <20170422095234.27758-1-eggert@cs.ucla.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 131.179.128.68
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Apr 2017 09:52:57 -0000

* doc/coreutils.texi (Options for date): Capitalize a sentence.
* tests/misc/date-debug.sh: Adjust --debug output to match
recent changes to Gnulib=E2=80=99s parse-datetime module.
---
 doc/coreutils.texi       |   2 +-
 tests/misc/date-debug.sh | 132 +++++++++++++++++++++++------------------=
------
 2 files changed, 66 insertions(+), 68 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0bbb9e9..1834e92 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -15835,7 +15835,7 @@ date -d "$(LC_TIME=3DC date)"
 @cindex debugging date strings
 @cindex date strings, debugging
 @cindex arbitrary date strings, debugging
-annotate the parsed date, display the effective time zone, and warn abou=
t
+Annotate the parsed date, display the effective time zone, and warn abou=
t
 potential misuse.
=20
 @item -f @var{datefile}
diff --git a/tests/misc/date-debug.sh b/tests/misc/date-debug.sh
index 8e0b2af..8ff34ae 100755
--- a/tests/misc/date-debug.sh
+++ b/tests/misc/date-debug.sh
@@ -37,21 +37,21 @@ date: parsed day part: Sun (day ordinal=3D0 number=3D=
0)
 date: parsed date part: (Y-M-D) 0090-12-11
 date: parsed relative part: +3 day(s)
 date: parsed relative part: +3 day(s) -90 minutes
-date: input timezone: +09:00 (set from TZ=3D"Asia/Tokyo" in date string)
+date: input timezone: TZ=3D"Asia/Tokyo" in date string
 date: warning: adjusting year value 90 to 1990
 date: warning: using midnight as starting time: 00:00:00
 date: warning: day (Sun) ignored when explicit dates are given
-date: starting date/time: '(Y-M-D) 1990-12-11 00:00:00 TZ=3D+09:00'
-date: warning: when adding relative days, it is recommended to specify 1=
2:00pm
+date: starting date/time: '(Y-M-D) 1990-12-11 00:00:00'
+date: warning: when adding relative days, it is recommended to specify n=
oon
 date: after date adjustment (+0 years, +0 months, +3 days),
-date:     new date/time =3D '(Y-M-D) 1990-12-14 00:00:00 TZ=3D+09:00'
-date: '(Y-M-D) 1990-12-14 00:00:00 TZ=3D+09:00' =3D 661100400 epoch-seco=
nds
+date:     new date/time =3D '(Y-M-D) 1990-12-14 00:00:00'
+date: '(Y-M-D) 1990-12-14 00:00:00' =3D 661100400 epoch-seconds
 date: after time adjustment (+0 hours, -90 minutes, +0 seconds, +0 ns),
 date:     new time =3D 661095000 epoch-seconds
-date: output timezone: +09:00 (set from TZ=3D"Asia/Tokyo" environment va=
lue)
+date: timezone: TZ=3D"Asia/Tokyo" environment value
 date: final: 661095000.000000000 (epoch-seconds)
-date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC0)
-date: final: (Y-M-D) 1990-12-13 22:30:00 (output timezone TZ=3D+09:00)
+date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC)
+date: final: (Y-M-D) 1990-12-13 22:30:00 (UTC+09)
 Thu Dec 13 07:30:00 -0600 1990
 EOF
=20
@@ -67,11 +67,11 @@ in2=3D'TZ=3D"America/Edmonton" 2006-04-02 02:30:00'
 cat<<EOF>exp2
 date: parsed date part: (Y-M-D) 2006-04-02
 date: parsed time part: 02:30:00
-date: input timezone: -07:00 (set from TZ=3D"America/Edmonton" in date s=
tring)
+date: input timezone: TZ=3D"America/Edmonton" in date string
 date: using specified time as starting value: '02:30:00'
 date: error: invalid date/time value:
-date:     user provided time: '(Y-M-D) 2006-04-02 02:30:00 TZ=3D-07:00'
-date:        normalized time: '(Y-M-D) 2006-04-02 03:30:00 TZ=3D-07:00'
+date:     user provided time: '(Y-M-D) 2006-04-02 02:30:00'
+date:        normalized time: '(Y-M-D) 2006-04-02 03:30:00'
 date:                                             --
 date:      possible reasons:
 date:        non-existing due to daylight-saving time;
@@ -90,11 +90,11 @@ compare exp2 out2 || fail=3D1
 in3=3D'@1'
 cat<<EOF>exp3
 date: parsed number of seconds part: number of seconds: 1
-date: input timezone: +00:00 (set from '@timespec' - always UTC0)
-date: output timezone: -05:00 (set from TZ=3D"America/Lima" environment =
value)
+date: input timezone: '@timespec' - always UTC
+date: timezone: TZ=3D"America/Lima" environment value
 date: final: 1.000000000 (epoch-seconds)
-date: final: (Y-M-D) 1970-01-01 00:00:01 (UTC0)
-date: final: (Y-M-D) 1969-12-31 19:00:01 (output timezone TZ=3D-05:00)
+date: final: (Y-M-D) 1970-01-01 00:00:01 (UTC)
+date: final: (Y-M-D) 1969-12-31 19:00:01 (UTC-05)
 Wed Dec 31 19:00:01 -0500 1969
 EOF
=20
@@ -107,14 +107,14 @@ compare exp3 out3 || fail=3D1
 ## http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3Df2d4b5caa
 cat<<EOF>exp4
 date: parsed number part: (Y-M-D) 2013-01-01
-date: input timezone: +00:00 (set from TZ=3DUTC0 environment value or -u=
)
+date: input timezone: TZ=3D"UTC0" environment value or -u
 date: warning: using midnight as starting time: 00:00:00
-date: starting date/time: '(Y-M-D) 2013-01-01 00:00:00 TZ=3D+00:00'
-date: '(Y-M-D) 2013-01-01 00:00:00 TZ=3D+00:00' =3D 1356998400 epoch-sec=
onds
-date: output timezone: +00:00 (set from TZ=3DUTC0 environment value or -=
u)
+date: starting date/time: '(Y-M-D) 2013-01-01 00:00:00'
+date: '(Y-M-D) 2013-01-01 00:00:00' =3D 1356998400 epoch-seconds
+date: timezone: Universal Time
 date: final: 1356998400.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2013-01-01 00:00:00 (UTC0)
-date: final: (Y-M-D) 2013-01-01 00:00:00 (output timezone TZ=3D+00:00)
+date: final: (Y-M-D) 2013-01-01 00:00:00 (UTC)
+date: final: (Y-M-D) 2013-01-01 00:00:00 (UTC+00)
 Tue Jan  1 00:00:00 UTC 2013
 EOF
=20
@@ -130,18 +130,18 @@ cat<<EOF>exp5
 date: parsed date part: (Y-M-D) 2013-10-30
 date: parsed time part: 00:00:00
 date: parsed relative part: -8 day(s)
-date: parsed zone part: TZ=3D+00:00
-date: input timezone: +00:00 (set from parsed date/time string)
+date: parsed zone part: UTC+00
+date: input timezone: parsed date/time string (+00)
 date: using specified time as starting value: '00:00:00'
-date: starting date/time: '(Y-M-D) 2013-10-30 00:00:00 TZ=3D+00:00'
-date: warning: when adding relative days, it is recommended to specify 1=
2:00pm
+date: starting date/time: '(Y-M-D) 2013-10-30 00:00:00 TZ=3D+00'
+date: warning: when adding relative days, it is recommended to specify n=
oon
 date: after date adjustment (+0 years, +0 months, -8 days),
-date:     new date/time =3D '(Y-M-D) 2013-10-22 00:00:00 TZ=3D+00:00'
-date: '(Y-M-D) 2013-10-22 00:00:00 TZ=3D+00:00' =3D 1382400000 epoch-sec=
onds
-date: output timezone: +00:00 (set from TZ=3DUTC0 environment value or -=
u)
+date:     new date/time =3D '(Y-M-D) 2013-10-22 00:00:00 TZ=3D+00'
+date: '(Y-M-D) 2013-10-22 00:00:00 TZ=3D+00' =3D 1382400000 epoch-second=
s
+date: timezone: Universal Time
 date: final: 1382400000.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2013-10-22 00:00:00 (UTC0)
-date: final: (Y-M-D) 2013-10-22 00:00:00 (output timezone TZ=3D+00:00)
+date: final: (Y-M-D) 2013-10-22 00:00:00 (UTC)
+date: final: (Y-M-D) 2013-10-22 00:00:00 (UTC+00)
 2013-10-22
 EOF
=20
@@ -157,20 +157,20 @@ TOOLONG=3D'it is recommended to specify the 15th of=
 the months'
 cat<<EOF>exp6
 date: parsed date part: (Y-M-D) 2016-10-31
 date: parsed relative part: -1 month(s)
-date: input timezone: +00:00 (set from TZ=3DUTC0 environment value or -u=
)
+date: input timezone: TZ=3D"UTC0" environment value or -u
 date: warning: using midnight as starting time: 00:00:00
-date: starting date/time: '(Y-M-D) 2016-10-31 00:00:00 TZ=3D+00:00'
+date: starting date/time: '(Y-M-D) 2016-10-31 00:00:00'
 date: warning: when adding relative months/years, $TOOLONG
 date: after date adjustment (+0 years, -1 months, +0 days),
-date:     new date/time =3D '(Y-M-D) 2016-10-01 00:00:00 TZ=3D+00:00'
+date:     new date/time =3D '(Y-M-D) 2016-10-01 00:00:00'
 date: warning: month/year adjustment resulted in shifted dates:
 date:      adjusted Y M D: 2016 09 31
 date:    normalized Y M D: 2016 10 01
-date: '(Y-M-D) 2016-10-01 00:00:00 TZ=3D+00:00' =3D 1475280000 epoch-sec=
onds
-date: output timezone: +00:00 (set from TZ=3DUTC0 environment value or -=
u)
+date: '(Y-M-D) 2016-10-01 00:00:00' =3D 1475280000 epoch-seconds
+date: timezone: Universal Time
 date: final: 1475280000.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2016-10-01 00:00:00 (UTC0)
-date: final: (Y-M-D) 2016-10-01 00:00:00 (output timezone TZ=3D+00:00)
+date: final: (Y-M-D) 2016-10-01 00:00:00 (UTC)
+date: final: (Y-M-D) 2016-10-01 00:00:00 (UTC+00)
 Sat Oct  1 00:00:00 UTC 2016
 EOF
=20
@@ -182,27 +182,26 @@ compare exp6 out6 || fail=3D1
 ## Explicitly warn about crossing DST boundaries.
 ## added in gnulib v0.1-1102-g30a55dd
 ## http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D30a55dd72dad=
2
-TOOLONG1=3D'(set from TZ=3D"America/New_York" environment value, dst)'
 TOOLONG2=3D'it is recommended to specify the 15th of the months'
 cat<<EOF>exp7
 date: parsed date part: (Y-M-D) 2016-06-01
-date: parsed local_zone part: DST changed: is-dst=3D1
+date: parsed local_zone part: isdst=3D1
 date: parsed relative part: +6 month(s)
-date: input timezone: -04:00 $TOOLONG1
+date: input timezone: TZ=3D"America/New_York" environment value, dst
 date: warning: using midnight as starting time: 00:00:00
-date: starting date/time: '(Y-M-D) 2016-06-01 00:00:00 TZ=3D-04:00'
+date: starting date/time: '(Y-M-D) 2016-06-01 00:00:00'
 date: warning: when adding relative months/years, $TOOLONG2
 date: after date adjustment (+0 years, +6 months, +0 days),
-date:     new date/time =3D '(Y-M-D) 2016-11-30 23:00:00 TZ=3D-04:00'
+date:     new date/time =3D '(Y-M-D) 2016-11-30 23:00:00'
 date: warning: daylight saving time changed after date adjustment
 date: warning: month/year adjustment resulted in shifted dates:
 date:      adjusted Y M D: 2016 12 01
 date:    normalized Y M D: 2016 11 30
-date: '(Y-M-D) 2016-11-30 23:00:00 TZ=3D-04:00' =3D 1480564800 epoch-sec=
onds
-date: output timezone: -05:00 (set from TZ=3D"America/New_York" environm=
ent value)
+date: '(Y-M-D) 2016-11-30 23:00:00' =3D 1480564800 epoch-seconds
+date: timezone: TZ=3D"America/New_York" environment value
 date: final: 1480564800.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2016-12-01 04:00:00 (UTC0)
-date: final: (Y-M-D) 2016-11-30 23:00:00 (output timezone TZ=3D-05:00)
+date: final: (Y-M-D) 2016-12-01 04:00:00 (UTC)
+date: final: (Y-M-D) 2016-11-30 23:00:00 (UTC-05)
 2016-11-30
 EOF
=20
@@ -217,33 +216,32 @@ compare exp7 out7 || fail=3D1
=20
 cat<<EOF>exp8_1
 date: parsed date part: (Y-M-D) 2011-12-11
-date: parsed local_zone part: DST unchanged
-date: input timezone: +02:00 (set from TZ=3D"Europe/Helsinki" environmen=
t value)
+date: parsed local_zone part: isdst=3D0
+date: input timezone: TZ=3D"Europe/Helsinki" environment value
 date: warning: using midnight as starting time: 00:00:00
-date: starting date/time: '(Y-M-D) 2011-12-11 00:00:00 TZ=3D+02:00'
-date: '(Y-M-D) 2011-12-11 00:00:00 TZ=3D+02:00' =3D 1323554400 epoch-sec=
onds
-date: output timezone: +02:00 (set from TZ=3D"Europe/Helsinki" environme=
nt value)
+date: starting date/time: '(Y-M-D) 2011-12-11 00:00:00'
+date: '(Y-M-D) 2011-12-11 00:00:00' =3D 1323554400 epoch-seconds
+date: timezone: TZ=3D"Europe/Helsinki" environment value
 date: final: 1323554400.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2011-12-10 22:00:00 (UTC0)
-date: final: (Y-M-D) 2011-12-11 00:00:00 (output timezone TZ=3D+02:00)
+date: final: (Y-M-D) 2011-12-10 22:00:00 (UTC)
+date: final: (Y-M-D) 2011-12-11 00:00:00 (UTC+02)
 Sun Dec 11 00:00:00 EET 2011
 EOF
=20
 TZ=3DEurope/Helsinki date --debug -d '2011-12-11 EET' >out8_1 2>&1 || fa=
il=3D1
 compare exp8_1 out8_1 || fail=3D1
=20
-TOOLONG=3D'(set from TZ=3D"Europe/Helsinki" environment value, dst)'
 cat<<EOF>exp8_2
 date: parsed date part: (Y-M-D) 2011-06-11
-date: parsed local_zone part: DST changed: is-dst=3D1
-date: input timezone: +03:00 $TOOLONG
+date: parsed local_zone part: isdst=3D1
+date: input timezone: TZ=3D"Europe/Helsinki" environment value, dst
 date: warning: using midnight as starting time: 00:00:00
-date: starting date/time: '(Y-M-D) 2011-06-11 00:00:00 TZ=3D+03:00'
-date: '(Y-M-D) 2011-06-11 00:00:00 TZ=3D+03:00' =3D 1307739600 epoch-sec=
onds
-date: output timezone: +02:00 (set from TZ=3D"Europe/Helsinki" environme=
nt value)
+date: starting date/time: '(Y-M-D) 2011-06-11 00:00:00'
+date: '(Y-M-D) 2011-06-11 00:00:00' =3D 1307739600 epoch-seconds
+date: timezone: TZ=3D"Europe/Helsinki" environment value
 date: final: 1307739600.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2011-06-10 21:00:00 (UTC0)
-date: final: (Y-M-D) 2011-06-11 00:00:00 (output timezone TZ=3D+02:00)
+date: final: (Y-M-D) 2011-06-10 21:00:00 (UTC)
+date: final: (Y-M-D) 2011-06-11 00:00:00 (UTC+03)
 Sat Jun 11 00:00:00 EEST 2011
 EOF
=20
@@ -264,14 +262,14 @@ cat<<EOF>exp9
 date: parsed date part: (Y-M-D) XXXX-04-11
 date: parsed time part: 22:59:00
 date: parsed number part: year: 2011
-date: input timezone: +00:00 (set from TZ=3DUTC0 environment value or -u=
)
+date: input timezone: TZ=3D"UTC0" environment value or -u
 date: using specified time as starting value: '22:59:00'
-date: starting date/time: '(Y-M-D) 2011-04-11 22:59:00 TZ=3D+00:00'
-date: '(Y-M-D) 2011-04-11 22:59:00 TZ=3D+00:00' =3D 1302562740 epoch-sec=
onds
-date: output timezone: +00:00 (set from TZ=3DUTC0 environment value or -=
u)
+date: starting date/time: '(Y-M-D) 2011-04-11 22:59:00'
+date: '(Y-M-D) 2011-04-11 22:59:00' =3D 1302562740 epoch-seconds
+date: timezone: Universal Time
 date: final: 1302562740.000000000 (epoch-seconds)
-date: final: (Y-M-D) 2011-04-11 22:59:00 (UTC0)
-date: final: (Y-M-D) 2011-04-11 22:59:00 (output timezone TZ=3D+00:00)
+date: final: (Y-M-D) 2011-04-11 22:59:00 (UTC)
+date: final: (Y-M-D) 2011-04-11 22:59:00 (UTC+00)
 Mon Apr 11 22:59:00 UTC 2011
 EOF
=20
--=20
2.9.3



From MAILER-DAEMON Mon Apr 24 04:42:06 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d2ZZO-0000aR-5Q
	for mharc-coreutils@gnu.org; Mon, 24 Apr 2017 04:42:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54447)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mathias.froehlich@f-i.de>) id 1d2YSG-00078B-7g
	for coreutils@gnu.org; Mon, 24 Apr 2017 03:30:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mathias.froehlich@f-i.de>) id 1d2YSC-0007bA-AN
	for coreutils@gnu.org; Mon, 24 Apr 2017 03:30:40 -0400
Received: from relay285.mail.s-web.de ([195.140.44.180]:10160)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <mathias.froehlich@f-i.de>)
	id 1d2YSB-0007ZN-UZ
	for coreutils@gnu.org; Mon, 24 Apr 2017 03:30:36 -0400
Received: from unknown (HELO relay181.s-web.de) ([172.28.105.36])
	by relay285.mail.s-web.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
	24 Apr 2017 09:30:31 +0200
Received: from unknown (HELO V998SPWMVY2SK01.v998dpvy.v998.intern) () by
	relay182.s-web.de with ESMTP; 24 Apr 2017 09:30:11 +0200
Received: from v100apligs02.v100.intern () by
	V998SPWMVY2SK01.v998dpvy.v998.intern
	with ESMTP id 2017042409301173-112043 ; Mon, 24 Apr 2017 09:30:11 +0200 
To: coreutils@gnu.org
MIME-Version: 1.0
Subject: btrfs implementation status of GNU tools df & du
X-KeepSent: A34DC299:6F1691CD-C125810C:00276A9F;
	type=4; flags=0; name=$KeepSent
X-Mailer: IBM Notes Release 9.0.1FP6 April 21, 2016
Message-ID: <OFA34DC299.6F1691CD-ONC125810C.00276A9F-C125810C.002936D7@f-i.de>
From: mathias.froehlich@f-i.de
Date: Mon, 24 Apr 2017 09:30:09 +0200
X-MIMETrack: Serialize by Router on V100APLIGS02/SRV/FI/DE at 24.04.2017
	09:30:11, Serialize complete at 24.04.2017 09:30:11,
	Itemize by SMTP Server on V998SPWMVY2SK01/SRV/S-KOMM/DE at 24.04.2017
	09:30:11, 
	Serialize by Router on V998SPWMVY2SK01/SRV/S-KOMM/DE at 24.04.2017
	09:30:11
X-TNEFEvaluated: 1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 195.140.44.180
X-Mailman-Approved-At: Mon, 24 Apr 2017 04:42:04 -0400
Content-Type: text/plain; charset="US-ASCII"
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Apr 2017 07:30:41 -0000

Hello out there,

currently we are evaluating btrfs usage in our upcoming Linux Release 
(SLES12 based).

It seems that the commonly known GNU standard tools "df" and "du" are not 
fully supporting the btrfs filesystem.
The underlying kernel requests used by these tools are getting 
incomplete/wrong information about filesystem/metadata usage, furthermore 
the quota feature isn't recongized/displayed at all.

Is development regarding btrfs still ongoing?

kind regards
Mathias

From MAILER-DAEMON Tue Apr 25 05:50:25 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d2x73-0004vE-7v
	for mharc-coreutils@gnu.org; Tue, 25 Apr 2017 05:50:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58599)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <luc-coreutils-patch@lgms.nl>) id 1d2vDF-0006x2-FY
	for coreutils@gnu.org; Tue, 25 Apr 2017 03:48:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <luc-coreutils-patch@lgms.nl>) id 1d2vDC-0006Lm-CJ
	for coreutils@gnu.org; Tue, 25 Apr 2017 03:48:41 -0400
Received: from lucb1e.com ([80.100.131.150]:49800)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <luc-coreutils-patch@lgms.nl>)
	id 1d2vDC-0006Ij-2M
	for coreutils@gnu.org; Tue, 25 Apr 2017 03:48:38 -0400
Received: from SERVER02 (localhost [127.0.0.1]) by lucb1e.com with ESMTP
	; Tue, 25 Apr 2017 09:21:19 +0200
Message-ID: <8386824F-8D1D-4BB2-A920-526ADB5E0E12@lucb1e.com>
Date: Tue, 25 Apr 2017 09:21:19 +0200
Subject: dd: change default blocksize from 512 to 4096
To: coreutils@gnu.org
From: luc-coreutils-patch@lgms.nl
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 80.100.131.150
X-Mailman-Approved-At: Tue, 25 Apr 2017 05:50:24 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Apr 2017 07:48:42 -0000

>From 2c9f2ff2c7fd7dacd0131da6a37a9badc2fed62b Mon Sep 17 00:00:00 2001
From: Luc Gommans <git-client2@lgms.nl>
Date: Tue, 25 Apr 2017 07:31:05 +0200
Subject: [PATCH] dd: default blocksize 4096, not 512

In modern use, a block size of 512 bytes is almost never advantageous.
Never have I needed a block size lower than 4096. The speed difference
is often great, for example 30MB/s instead of 120MB/s is not uncommon.
---
 src/dd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/dd.c b/src/dd.c
index 119f3070e..830b83b79 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -89,7 +89,7 @@
   while (0)
 
 /* Default input and output blocksize. */
-#define DEFAULT_BLOCKSIZE 512
+#define DEFAULT_BLOCKSIZE 4096
 
 /* How many bytes to add to the input and output block sizes before invoking
    malloc.  See dd_copy for details.  INPUT_BLOCK_SLOP must be no less than
@@ -560,17 +560,17 @@ Usage: %s [OPERAND]...\n\
       fputs (_("\
 Copy a file, converting and formatting according to the operands.\n\
 \n\
-  bs=BYTES        read and write up to BYTES bytes at a time (default: 512);\n\
+  bs=BYTES        read and write up to BYTES bytes at a time (default: 4096);\n\
                   overrides ibs and obs\n\
   cbs=BYTES       convert BYTES bytes at a time\n\
   conv=CONVS      convert the file as per the comma separated symbol list\n\
   count=N         copy only N input blocks\n\
-  ibs=BYTES       read up to BYTES bytes at a time (default: 512)\n\
+  ibs=BYTES       read up to BYTES bytes at a time (default: 4096)\n\
 "), stdout);
       fputs (_("\
   if=FILE         read from FILE instead of stdin\n\
   iflag=FLAGS     read as per the comma separated symbol list\n\
-  obs=BYTES       write BYTES bytes at a time (default: 512)\n\
+  obs=BYTES       write BYTES bytes at a time (default: 4096)\n\
   of=FILE         write to FILE instead of stdout\n\
   oflag=FLAGS     write as per the comma separated symbol list\n\
   seek=N          skip N obs-sized blocks at start of output\n\
-- 
2.11.0




From MAILER-DAEMON Tue Apr 25 06:00:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d2xHE-00006I-KB
	for mharc-coreutils@gnu.org; Tue, 25 Apr 2017 06:00:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41576)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <addw@phcomp.co.uk>) id 1d2xHC-00006B-6x
	for coreutils@gnu.org; Tue, 25 Apr 2017 06:00:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <addw@phcomp.co.uk>) id 1d2xH6-0002co-Dc
	for coreutils@gnu.org; Tue, 25 Apr 2017 06:00:54 -0400
Received: from freshmint.phcomp.co.uk ([78.32.209.33]:48688
	helo=mint.phcomp.co.uk)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <addw@phcomp.co.uk>) id 1d2xH6-0002WB-7c
	for coreutils@gnu.org; Tue, 25 Apr 2017 06:00:48 -0400
Received: from addw by mint.phcomp.co.uk with local (Exim 4.89)
	(envelope-from <addw@phcomp.co.uk>) id 1d2xGY-0006pK-HL
	for coreutils@gnu.org; Tue, 25 Apr 2017 11:00:14 +0100
Date: Tue, 25 Apr 2017 11:00:14 +0100
From: Alain Williams <addw@phcomp.co.uk>
To: coreutils@gnu.org
Subject: Re: dd: change default blocksize from 512 to 4096
Message-ID: <20170425100014.GP5166@phcomp.co.uk>
References: <8386824F-8D1D-4BB2-A920-526ADB5E0E12@lucb1e.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <8386824F-8D1D-4BB2-A920-526ADB5E0E12@lucb1e.com>
Organization: Parliament Hill Computers Ltd
User-Agent: Mutt/1.5.20 (2009-12-10)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 78.32.209.33
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Apr 2017 10:00:55 -0000

On Tue, Apr 25, 2017 at 09:21:19AM +0200, luc-coreutils-patch@lgms.nl wrote:
> From 2c9f2ff2c7fd7dacd0131da6a37a9badc2fed62b Mon Sep 17 00:00:00 2001
> From: Luc Gommans <git-client2@lgms.nl>
> Date: Tue, 25 Apr 2017 07:31:05 +0200
> Subject: [PATCH] dd: default blocksize 4096, not 512
> 
> In modern use, a block size of 512 bytes is almost never advantageous.
> Never have I needed a block size lower than 4096. The speed difference
> is often great, for example 30MB/s instead of 120MB/s is not uncommon.

I agree and will often set the block size to something larger.

However: 512 has been the default for as long as I can remember - some 35 years.
Changing it could easily break scripts - then people would not love you!

The best that you can do is to add a paragraph talking about this in the man page.

Regards

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>


From MAILER-DAEMON Wed Apr 26 04:58:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3Imm-00021q-AR
	for mharc-coreutils@gnu.org; Wed, 26 Apr 2017 04:58:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58112)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1d3Imk-000209-FU
	for coreutils@gnu.org; Wed, 26 Apr 2017 04:58:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1d3Img-00045Z-KM
	for coreutils@gnu.org; Wed, 26 Apr 2017 04:58:54 -0400
Received: from mout.kundenserver.de ([212.227.126.130]:65285)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <mail@bernhard-voelker.de>)
	id 1d3Img-00044a-9t
	for coreutils@gnu.org; Wed, 26 Apr 2017 04:58:50 -0400
Received: from [10.0.2.15] ([62.153.148.194]) by mrelayeu.kundenserver.de
	(mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id
	0MZhco-1dOhFh0cRi-00LY37; Wed, 26 Apr 2017 10:58:47 +0200
Subject: Re: btrfs implementation status of GNU tools df & du
To: mathias.froehlich@f-i.de, coreutils@gnu.org
References: <OFA34DC299.6F1691CD-ONC125810C.00276A9F-C125810C.002936D7@f-i.de>
From: Bernhard Voelker <mail@bernhard-voelker.de>
Message-ID: <b23290b8-a653-0b3a-4ce4-4f44ddf17da7@bernhard-voelker.de>
Date: Wed, 26 Apr 2017 10:58:46 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <OFA34DC299.6F1691CD-ONC125810C.00276A9F-C125810C.002936D7@f-i.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:rnirMbW5J7X80eCeO07NZKH2NcNDv2Y4hdmQuppMx9BjnUwd5Ly
	ZOq7YDQSaNYy3Nkp0PRL18hwMWfOHemSsR4JMEwZX5dJ048Djq4llV3HBo+gls+P3PM+FdY
	M3Gq3jp53QM2z8MNzzcF12m921jIKG0HPR4lQbYKoHAp/HX8ff3mkX2jyXer1DPQnbcxmPN
	NkNwfbnkE0bdXPryGgm8w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:LcqUeVFZYk8=:oJ2R+UEKyGuNlDENBkIVuI
	FFH/IFplCIUivKn2GXMhdayKX9W+VQ9NgriC3Wr+hhKevXz/hdy3Zr/zRpQ2iSkAcWoJTSvDx
	s+geAtQql7rWmh600e7EMnirQi0qwjptuf3VeZ+pQeTVeAk4WO+oQ8tHjsRA4I7hYQqtOTYyO
	zpsfZlJ7saHnsmhoFkj0yxKs2FyLpAS5wsyLab2ELZpaz0WkgHHOBFeCKkMvy6l7VCnIrNRf8
	UjrbujsdBJezTuiQoGg9FcMuUuSZosVqeMxSadACrWqJGqM4b2xh25PeAJYoDYaEYQNiu5Z4A
	+wTXydh7e3DGN6X65FQK2zg1ZoMMbYQIpmmrmKYjFS06bS9g8D6PWGWl8u9Rd2RZBV6XDVz+t
	Cj89s9AhihYvwFSRfWgzDY/uIY2pswdL6N/X/w3M3lWjB37egzdo2YPlgpQWu+pl0DC8PmUjA
	PJz3zqlFkLbcXlGZpkgYnC4toApYBtkUcGo38NOxK0HtGf9xaw8pOrv+JnHP3V4N0wdUZbxMB
	I3Y/7xL2bUPkBNC4ODIVjhUcFbatBhY0jv2lIVDN4b1DmpYUUo5nKk6eX3KiUakmrY48P6HOa
	we4d3ivDZCWjIf1+17ChoIiE9O+AmBEmHnedpjEm2ZK20dZPVz3ef56M2vhsAIr+pRgsmjj6w
	wEkQdXj++usk9rL9GNS0AldGncGSv+5/OY0NgReMFPI9mEWc4TBtijddY2lTZG4qVwYIMQLUz
	XqLndiCfP1UlDST3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 212.227.126.130
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 08:58:55 -0000

On 04/24/2017 09:30 AM, mathias.froehlich@f-i.de wrote:
> Hello out there,
> 
> currently we are evaluating btrfs usage in our upcoming Linux Release 
> (SLES12 based).
> 
> It seems that the commonly known GNU standard tools "df" and "du" are not 
> fully supporting the btrfs filesystem.
> The underlying kernel requests used by these tools are getting 
> incomplete/wrong information about filesystem/metadata usage, furthermore 
> the quota feature isn't recongized/displayed at all.
> 
> Is development regarding btrfs still ongoing?
> 
> kind regards
> Mathias

Hi Mathias,

I don't think there is active work on this.
Additionally to the issues you mentioned above, stat() returns device IDs
for BTRFS subvolumes and BTRFS snapshots which are different from the parent
BTRFS mount point; e.g. also 'find -fstype btrfs' chokes on this [1].

[1] http://savannah.gnu.org/bugs/?50859

Therefore, I'm still using EXT4 and XFS on my SLES12 systems.

Have a nice day,
Berny


From MAILER-DAEMON Wed Apr 26 10:22:38 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3Nq1-0000P0-VN
	for mharc-coreutils@gnu.org; Wed, 26 Apr 2017 10:22:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52266)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <skisela@redhat.com>) id 1d3NRX-0000Jk-DU
	for coreutils@gnu.org; Wed, 26 Apr 2017 09:57:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <skisela@redhat.com>) id 1d3NRT-0006kk-H2
	for coreutils@gnu.org; Wed, 26 Apr 2017 09:57:19 -0400
Received: from mail-wm0-f43.google.com ([74.125.82.43]:36047)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <skisela@redhat.com>) id 1d3NRT-0006k8-6u
	for coreutils@gnu.org; Wed, 26 Apr 2017 09:57:15 -0400
Received: by mail-wm0-f43.google.com with SMTP id u65so51315010wmu.1
	for <coreutils@gnu.org>; Wed, 26 Apr 2017 06:57:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=RmHY2gwIgJpHDSVYo/l2RIODN23EWio+7yJypw1JWnk=;
	b=PGyXUQ7kkLGUXq6WZiAcW4RjcjwYX6GZ5n69iuomZwUp3ba1f0UWNXL3t7UhLor4B4
	AoQ8QKxlZSyP5EOA54LMB3uuIPaYUS2PxJlaUKgQ4pM33Uav5hbDmLB4iJAtLy50rNZZ
	EIsjpoNOTEx8C8oTNT85OTV6PE7HXAkxSV4UEa5QqJ+ioaq/bYxlHQEzrxGKvpppua2R
	A3bpN3DM1/ketMCb9w0op+OyVRyKWH2wRx7kKJGS9OWt4yOKaeQQDo59iztAK/l9DM8y
	9K6ZjVnAYVD/QetsqgBdb5+hx7p2tWBtpWtQpku5zLJIcR6n7UhxJrCvdjHIoUoM6lTo
	OYJA==
X-Gm-Message-State: AN3rC/6U2L38CFF+0yE3pIxpf3Zj0kzRm/lqTHGEpfiF5EZdcbqNhSfj
	2aDkyw0fa2wBczh5hHvt/JoLrrKB8QLQil0=
X-Received: by 10.28.178.17 with SMTP id b17mr958469wmf.23.1493215032770; Wed,
	26 Apr 2017 06:57:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.161.152 with HTTP; Wed, 26 Apr 2017 06:57:12 -0700 (PDT)
From: Sebastian Kisela <skisela@redhat.com>
Date: Wed, 26 Apr 2017 15:57:12 +0200
Message-ID: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
Subject: [PATCH] runcon: add --no-new-privs option
To: coreutils@gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 74.125.82.43
X-Mailman-Approved-At: Wed, 26 Apr 2017 10:22:34 -0400
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 13:57:21 -0000

* src/runcon.c: add --no-new-privs option to allow user to test
if given context grants more privileges to given command.
Uses no_new_privs bit introduced in Linux 3.5.
* tests/runcon/no-new-privs.sh: Add a test case.
* tests/local.mk: Reference the new test.
* NEWS: Mention the new feature
Discussed at https://bugzilla.redhat.com/1360903
---
 NEWS                         |  4 ++++
 src/runcon.c                 | 39 +++++++++++++++++++++++++++++++++++----
 tests/local.mk               |  1 +
 tests/runcon/no-new-privs.sh | 44
++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 84 insertions(+), 4 deletions(-)
 create mode 100755 tests/runcon/no-new-privs.sh

diff --git a/NEWS b/NEWS
index 72981b6..87d96cf 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,10 @@ GNU coreutils NEWS
-*- outline -*-
   split supports a new --hex-suffixes[=from] option to create files with
   lower case hexadecimal suffixes, similar to the --numeric-suffixes
option.

+  runcon --no-new-privs now added for testing purposes. If the option is
used
+  runcon will not run a process in a context which has additional
privileges.
+  [uses no_new_privs bit added in Linux 3.5]
+

 * Noteworthy changes in release 8.27 (2017-03-08) [stable]

diff --git a/src/runcon.c b/src/runcon.c
index 92f519d..9021614 100644
--- a/src/runcon.c
+++ b/src/runcon.c
@@ -50,12 +50,20 @@
 #include "die.h"
 #include "error.h"
 #include "quote.h"
+#include <sys/prctl.h>

 /* The official name of this program (e.g., no 'g' prefix).  */
 #define PROGRAM_NAME "runcon"

 #define AUTHORS proper_name ("Russell Coker")

+/* For long options that have no equivalent short option, use a
+   non-character as a pseudo short option, starting with CHAR_MAX + 1.  */
+enum
+{
+  NO_NEW_PRIVS_ARG = CHAR_MAX + 1,
+};
+
 static struct option const long_options[] =
 {
   {"role", required_argument, NULL, 'r'},
@@ -63,6 +71,7 @@ static struct option const long_options[] =
   {"user", required_argument, NULL, 'u'},
   {"range", required_argument, NULL, 'l'},
   {"compute", no_argument, NULL, 'c'},
+  {"no-new-privs", no_argument, NULL, NO_NEW_PRIVS_ARG},
   {GETOPT_HELP_OPTION_DECL},
   {GETOPT_VERSION_OPTION_DECL},
   {NULL, 0, NULL, 0}
@@ -76,8 +85,9 @@ usage (int status)
   else
     {
       printf (_("\
-Usage: %s CONTEXT COMMAND [args]\n\
-  or:  %s [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n\
+Usage: %s [OPTION] CONTEXT COMMAND [args]\n\
+  or:  %s [ --no-new-privs ] [ -c ] [-u USER] [-r ROLE] \
+  [-t TYPE] [-l RANGE] COMMAND [args]\n\
 "), program_name, program_name);
       fputs (_("\
 Run a program in a different SELinux security context.\n\
@@ -93,8 +103,10 @@ With neither CONTEXT nor COMMAND, print the current
security context.\n\
   -u, --user=USER    user identity\n\
   -r, --role=ROLE    role\n\
   -l, --range=RANGE  levelrange\n\
+  --no-new-privs     set NO_NEW_PRIVS bit to forbid additional
privileges\n\
 \n\
 "), stdout);
+
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_ancillary_info (PROGRAM_NAME);
@@ -114,6 +126,7 @@ main (int argc, char **argv)
   char *file_context = NULL;
   char *new_context = NULL;
   bool compute_trans = false;
+  bool no_new_privs = false;

   context_t con;

@@ -157,7 +170,15 @@ main (int argc, char **argv)
         case 'c':
           compute_trans = true;
           break;
-
+        case NO_NEW_PRIVS_ARG:
+#ifdef PR_SET_NO_NEW_PRIVS
+          no_new_privs = true;
+          break;
+#else
+          die (EXIT_FAILURE, 0,
+               _("--no-new-privs cannot be used in the cureutils version,\
+                 that is currently installed."));
+#endif
         case_GETOPT_HELP_CHAR;
         case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
         default:
@@ -253,11 +274,21 @@ main (int argc, char **argv)
   if (setexeccon (context_str (con)) != 0)
     die (EXIT_FAILURE, errno, _("unable to set security context %s"),
          quote (context_str (con)));
+
   if (cur_context != NULL)
     freecon (cur_context);

-  execvp (argv[optind], argv + optind);
+  /* do not allow more privileges than this process has */
+  if (no_new_privs)
+    {
+#ifdef PR_SET_NO_NEW_PRIVS
+      if (prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) != 0)
+        die (EXIT_FAILURE, errno, _("unable to set NO_NEW_PRIVS bit: %s"),
+             quote (context_str (con)));
+#endif
+    }

+  execvp (argv[optind], argv + optind);
   int exit_status = errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE;
   error (0, errno, "%s", quote (argv[optind]));
   return exit_status;
diff --git a/tests/local.mk b/tests/local.mk
index e890c9a..0e386ba 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -664,6 +664,7 @@ all_tests =                    \
   tests/rmdir/fail-perm.sh            \
   tests/rmdir/ignore.sh                \
   tests/rmdir/t-slash.sh            \
+    tests/runcon/no-new-privs.sh    \
   tests/tail-2/assert-2.sh            \
   tests/tail-2/big-4gb.sh            \
   tests/tail-2/flush-initial.sh            \
diff --git a/tests/runcon/no-new-privs.sh b/tests/runcon/no-new-privs.sh
new file mode 100755
index 0000000..1186f2e
--- /dev/null
+++ b/tests/runcon/no-new-privs.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Makes sure, inotify will switch to polling mode if directory
+# of the watched file was removed and recreated.
+# (...instead of getting stuck forever)
+
+# Copyright (C) 2006-2017 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ runcon
+
+_check_runcon_output ()
+{
+  pattern="$1"
+  file="$2"
+  grep -e "$pattern" "$file" > /dev/null ||
+    { return 1; }
+}
+
+# Run process with inappropriate context
+runcon --no-new-privs -t svirt_lxc_net_t /bin/sh &> out
+
+# Correct behaviour is to permit the operation.
+_check_runcon_output "Operation not permitted" "out" ||\
+# Systems without PR_SET_NO_NEW_PRIVS at the coreutils build time
+# should be sanitized with '...--no-new-privs cannot be used...' message.
+_check_runcon_output "--no-new-privs cannot be used." "out" ||\
+# Sanitize runcon if not run on a SELinux kernel
+_check_runcon_output "runcon may be used only on a SELinux kernel" "out"||\
+fail=1
+
+Exit $fail
-- 
2.9.3

From MAILER-DAEMON Wed Apr 26 11:31:17 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3OuS-00014U-Su
	for mharc-coreutils@gnu.org; Wed, 26 Apr 2017 11:31:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48323)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1d3OuP-00012E-U4
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:31:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1d3OuM-0004Xj-Rk
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:31:13 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:59134
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1d3OuM-0004Td-Lb
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:31:10 -0400
Received: from localhost.localdomain (mobile-166-170-41-62.mycingular.net
	[166.170.41.62])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 32FE1100;
	Wed, 26 Apr 2017 16:31:06 +0100 (IST)
Subject: Re: [PATCH] runcon: add --no-new-privs option
To: Sebastian Kisela <skisela@redhat.com>, coreutils@gnu.org
References: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@draigBrady.com>
Message-ID: <44bf3397-9e82-0ec6-0973-d95ee34d404c@draigBrady.com>
Date: Wed, 26 Apr 2017 08:31:02 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 15:31:15 -0000

On 26/04/17 06:57, Sebastian Kisela wrote:
> * src/runcon.c: add --no-new-privs option to allow user to test
> if given context grants more privileges to given command.
> Uses no_new_privs bit introduced in Linux 3.5.
> * tests/runcon/no-new-privs.sh: Add a test case.
> * tests/local.mk: Reference the new test.
> * NEWS: Mention the new feature
> Discussed at https://bugzilla.redhat.com/1360903

Looks like a useful feature and appropriate to add here.

thanks!



From MAILER-DAEMON Wed Apr 26 11:59:58 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3PME-00055V-9Q
	for mharc-coreutils@gnu.org; Wed, 26 Apr 2017 11:59:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55220)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1d3PMB-00054l-J4
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:59:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1d3PM7-0002Je-Nv
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:59:55 -0400
Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:34999)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <assafgordon@gmail.com>)
	id 1d3PM7-0002JW-Ja
	for coreutils@gnu.org; Wed, 26 Apr 2017 11:59:51 -0400
Received: by mail-qk0-x235.google.com with SMTP id f76so4639270qke.2
	for <coreutils@gnu.org>; Wed, 26 Apr 2017 08:59:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=date:from:to:cc:subject:message-id:references:mime-version
	:content-disposition:in-reply-to:user-agent;
	bh=q2Y8B/5QSa9iZ4nR0e4DzwhY+ENocdWigKdN8z8qRGw=;
	b=mmZ4ujEFftVSglHCEtV1O93j17cZYJKKYxtHk3RSCk3yemLcjSzggRGVIesGW1z8xA
	lzhhxr1eHmmhY2KZ3MljcMT1QZoseYkpzuf9WlZXl/vFr3GBVvd10vl2Nxl0+CHMPuka
	Nw+deNxh4ceS5kApinyNAx0595OtUS/ZQPg8krfm7Rv+hiB1EsRFuYf0ojjIzy47wBoT
	k9qVw/HVCdTnmmPa+mzLHdZUPqlDpZVXt0iylVD6IlfKWP4OwSgEdifsMRY3+SpUQz9i
	HCbQX9fl5ypx3BlNJDQBykMhtfERwVs22+f4IbRhtSU0Yk0hq6yREU1KJr5jShuXPQ8G
	AfqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-disposition:in-reply-to:user-agent;
	bh=q2Y8B/5QSa9iZ4nR0e4DzwhY+ENocdWigKdN8z8qRGw=;
	b=lv+3cth25iLWZLO6zbgL710GRTup+iOEYO0PXEzBhZZX+ziVmC/3PdCNUkFowHdGM7
	w2CeS0HwkENg8PsgYwhC8zOxZRF2G38y0Lvu4LkTj7obeHw9r+QpRG/NEsUtuXwk0LAR
	r7Yg3Oj6THxdwqPGyU6UvpZwJAdyN0an5G+TGmzaXU+rqLSEs1nRg4bXQD5GtZqSpcoA
	QEm+Z5w+4kqN9quAeiprSCY+MAeoCYeEPsCgyWsdKwuL1mUG6qzg3HA2iIOrNOYxniva
	z9IxXEbjmurhk/wvLhGvxJDhHrMKR3mqf2pYGjjaHQGyzyewZp7OXX4MhGiuszJbf6x8
	iP8Q==
X-Gm-Message-State: AN3rC/7XXo5VJCmTUq55EVgiht4bzswpyqCWIYWvrdLobKRtuPHRUXNJ
	VvuVWj7YcENgrQ==
X-Received: by 10.55.26.153 with SMTP id l25mr516271qkh.9.1493222390871;
	Wed, 26 Apr 2017 08:59:50 -0700 (PDT)
Received: from gmail.com (housegordon.org. [104.236.108.240])
	by smtp.gmail.com with ESMTPSA id m57sm429148qtb.23.2017.04.26.08.59.49
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 26 Apr 2017 08:59:50 -0700 (PDT)
Date: Wed, 26 Apr 2017 15:59:13 +0000
From: Assaf Gordon <assafgordon@gmail.com>
To: Sebastian Kisela <skisela@redhat.com>
Cc: coreutils@gnu.org
Subject: Re: [PATCH] runcon: add --no-new-privs option
Message-ID: <20170426155911.GA28815@gmail.com>
References: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400d:c09::235
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 15:59:56 -0000

Hello,

On Wed, Apr 26, 2017 at 03:57:12PM +0200, Sebastian Kisela wrote:
>* src/runcon.c: add --no-new-privs option to allow user to test
>if given context grants more privileges to given command.
[...]
>+  runcon --no-new-privs now added for testing purposes. If the option is used
>+  runcon will not run a process in a context which has additional privileges.
>+  [uses no_new_privs bit added in Linux 3.5]

If this feature is primarily for testing purposes,
wouldn't using setpriv from util-linux achieve the same
without adding code?

    setpriv --no-new-privs \
        runcon -t svirt_lxc_net_t /bin/sh

That is, add a new test (which skips if 'setpriv' is not available),
but no need to add new code to runcon ?
(I don't have an objection to adding it, I'm just wondering).



>+          die (EXIT_FAILURE, 0,
>+               _("--no-new-privs cannot be used in the cureutils version,\
>+                 that is currently installed."));

s/curetils/coreutils/


>+++ b/tests/runcon/no-new-privs.sh
[...]
>+# Run process with inappropriate context
>+runcon --no-new-privs -t svirt_lxc_net_t /bin/sh &> out

I'm not that familiar with SELinux, but would this test
work on all system with SELinux enabled, or only on systems
where 'svirt_lxc_net_t' is pre-defined ?


regards,
 - assaf




From MAILER-DAEMON Wed Apr 26 12:27:52 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3PnD-0006Ss-RD
	for mharc-coreutils@gnu.org; Wed, 26 Apr 2017 12:27:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60958)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <auerswal@unix-ag.uni-kl.de>) id 1d3PnA-0006Sj-Sc
	for coreutils@gnu.org; Wed, 26 Apr 2017 12:27:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <auerswal@unix-ag.uni-kl.de>) id 1d3PnA-0005uQ-5E
	for coreutils@gnu.org; Wed, 26 Apr 2017 12:27:48 -0400
Received: from mailgw1.uni-kl.de ([2001:638:208:120::220]:39340)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <auerswal@unix-ag.uni-kl.de>)
	id 1d3Pn9-0005rS-Ul
	for coreutils@gnu.org; Wed, 26 Apr 2017 12:27:48 -0400
Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de
	[IPv6:2001:638:208:ef34:0:ff:fe00:65])
	by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id
	v3QG6KJp009511
	(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <coreutils@gnu.org>; Wed, 26 Apr 2017 18:06:20 +0200
Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1])
	by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP
	id v3QG6KGe017544
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=NO) for <coreutils@gnu.org>; Wed, 26 Apr 2017 18:06:20 +0200
Received: (from auerswal@localhost)
	by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Submit) id v3QG6KnW017543
	for coreutils@gnu.org; Wed, 26 Apr 2017 18:06:20 +0200
Date: Wed, 26 Apr 2017 18:06:20 +0200
From: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
To: coreutils@gnu.org
Subject: Re: [PATCH] runcon: add --no-new-privs option
Message-ID: <20170426160620.GD31501@unix-ag.uni-kl.de>
References: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKsWQOpZa480BJRKxLmkD-7JpYxYDvatU17Rm7bYO0sND_jVQw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:638:208:120::220
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 16:27:49 -0000

Hi,

just a nit, there is a typo in an error message...

On Wed, Apr 26, 2017 at 03:57:12PM +0200, Sebastian Kisela wrote:
> [...]
> diff --git a/src/runcon.c b/src/runcon.c
> index 92f519d..9021614 100644
> --- a/src/runcon.c
> +++ b/src/runcon.c
> [...]
> @@ -157,7 +170,15 @@ main (int argc, char **argv)
>          case 'c':
>            compute_trans = true;
>            break;
> -
> +        case NO_NEW_PRIVS_ARG:
> +#ifdef PR_SET_NO_NEW_PRIVS
> +          no_new_privs = true;
> +          break;
> +#else
> +          die (EXIT_FAILURE, 0,
> +               _("--no-new-privs cannot be used in the cureutils version,\
> +                 that is currently installed."));

s/cure/core/

I am not sure how whitespace is handled inside _(). How many spaces are
shown in the output after the comma? Zero, one, or many?

A better wording for the error message might be:
"--no-new-privs support is missing from the currently installed runcon binary."

Thanks,
Erik
-- 
I think of math as a splendid way to learn to think straight.
                        -- Bjarne Stroustrup


From MAILER-DAEMON Thu Apr 27 00:21:45 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3aw5-0007AL-8C
	for mharc-coreutils@gnu.org; Thu, 27 Apr 2017 00:21:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47385)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1d3aw1-00078o-RE
	for coreutils@gnu.org; Thu, 27 Apr 2017 00:21:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1d3avy-0005jA-7c
	for coreutils@gnu.org; Thu, 27 Apr 2017 00:21:41 -0400
Received: from midir.magicbluesmoke.com ([82.195.144.46]:36430
	helo=mail.magicbluesmoke.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <P@draigBrady.com>) id 1d3avy-0005ig-24
	for coreutils@gnu.org; Thu, 27 Apr 2017 00:21:38 -0400
Received: from localhost.localdomain (mobile-166-170-41-62.mycingular.net
	[166.170.41.62])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id E540894B9;
	Thu, 27 Apr 2017 05:21:34 +0100 (IST)
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH] date,touch: test and document large TZ security issue
Date: Wed, 26 Apr 2017 21:21:20 -0700
Message-Id: <20170427042120.26877-1-P@draigBrady.com>
X-Mailer: git-send-email 2.9.3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 82.195.144.46
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Apr 2017 04:21:43 -0000

Add a test for CVE-2017-7476 which was fixed in gnulib at:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=94e01571

* tests/misc/date-tz.sh: Add a new test which overwrites enough
of the heap to trigger a segfault, even without ASAN enabled.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
---
 NEWS                  |  4 ++++
 tests/local.mk        |  1 +
 tests/misc/date-tz.sh | 26 ++++++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100755 tests/misc/date-tz.sh

diff --git a/NEWS b/NEWS
index 72981b6..b4614d5 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,10 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
+  date and touch no longer overwrite the heap with large
+  user specified TZ values (CVE-2017-7476).
+  [bug introduced in coreutils-8.27]
+
   dd status=progress now just counts seconds; e.g., it outputs "6 s"
   consistently rather than sometimes outputting "6.00001 s".
   [bug introduced in coreutils-8.24]
diff --git a/tests/local.mk b/tests/local.mk
index e890c9a..fdf3edf 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -283,6 +283,7 @@ all_tests =					\
   tests/misc/csplit-suppress-matched.pl		\
   tests/misc/date-debug.sh			\
   tests/misc/date-sec.sh			\
+  tests/misc/date-tz.sh				\
   tests/misc/dircolors.pl			\
   tests/misc/dirname.pl				\
   tests/misc/env-null.sh			\
diff --git a/tests/misc/date-tz.sh b/tests/misc/date-tz.sh
new file mode 100755
index 0000000..3fe1579
--- /dev/null
+++ b/tests/misc/date-tz.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+# Verify TZ processing.
+
+# Copyright (C) 2017 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ date
+
+# coreutils-8.27 would overwrite the heap with large TZ values
+tz_long=$(printf '%2000s' | tr ' ' a)
+date -d "TZ=\"${tz_long}0\" 2017" || fail=1
+
+Exit $fail
-- 
2.9.3



From MAILER-DAEMON Thu Apr 27 04:15:44 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d3eaW-0002Qh-H7
	for mharc-coreutils@gnu.org; Thu, 27 Apr 2017 04:15:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58653)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <meyering@gmail.com>) id 1d3eaU-0002PT-DC
	for coreutils@gnu.org; Thu, 27 Apr 2017 04:15:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <meyering@gmail.com>) id 1d3eaT-0003kF-6h
	for coreutils@gnu.org; Thu, 27 Apr 2017 04:15:42 -0400
Received: from mail-ua0-x232.google.com ([2607:f8b0:400c:c08::232]:36192)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <meyering@gmail.com>) id 1d3eaT-0003k3-2r
	for coreutils@gnu.org; Thu, 27 Apr 2017 04:15:41 -0400
Received: by mail-ua0-x232.google.com with SMTP id 110so14996458uas.3
	for <coreutils@gnu.org>; Thu, 27 Apr 2017 01:15:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-transfer-encoding;
	bh=/JnlZ+aMNW/PAkXwUyCOoePIFTSGAAaer4A4Nsqc9g0=;
	b=fuawf/g6w+Gx6cConlUbyJPU6X48iFq50Lh4rqdnMZtd/gxvVVAHO6cgC8t/EJda3e
	M1H67C2E4wtcF1waZK+hSVw6pE+jA/itqBrG2JiPkszwGzAVYjlKIShWGedBvkKHaP82
	sK4tmrF/6Czp3VTAIwQUrBFP5JwmHIfzgX6xqdhVB+6uzQRXW4FgWqVWmNdHTDYnHdNQ
	oTp57skZTDejeeiv5mlnd9cx5io2hcyEmydxkbEctiZdaN4CJd+IZ8ZOtZGcCBoW5rJO
	yaphsrN/cwc9k11UDDBumnFvFw0XA2SI5NYaYDhVRTS8rGDtMZtqzRejKPdxzsSTd+bK
	KDOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
	:date:message-id:subject:to:cc:content-transfer-encoding;
	bh=/JnlZ+aMNW/PAkXwUyCOoePIFTSGAAaer4A4Nsqc9g0=;
	b=nUZe0nS6iADgVvQmtDMRFcekCHM5d47QiEUATKO5EQv9n6OeuL6AXPtEspmpzoqUeo
	buoazhaZ29VNGB9wsCMsJAZRC6MS7CShYow3snXigCqWBgJRnPdglsOxOtiEwv9uFXCj
	5I3hpAdX+lga1pjXvcq9U3NHcbJOlhis2dz3aXupuC1RxraTkVmMfeZULDx3rY5CgoVL
	So41RxpXD8T0pUdeL0FcGQ5Cn/ygsJUvzn1R1dcTkIBmT6HS0PuFmXYo+LEoY+xqVJ/9
	SAeZwoXTNgvcrjRv7kqmkxumI0/sSemG3v2tNlfhxJrWy2lDv3SNAHo4uMxyykF0fusw
	KtxQ==
X-Gm-Message-State: AN3rC/5DuAYSLdRS6mp2pFvA9bCqXofOybR+QrYT5F792UR0cFv2SKKx
	MDhWTddeRWIFK9uIrEkW0qUs5RmCVg==
X-Received: by 10.176.16.90 with SMTP id g26mr2307002uab.32.1493280940315;
	Thu, 27 Apr 2017 01:15:40 -0700 (PDT)
MIME-Version: 1.0
Sender: meyering@gmail.com
Received: by 10.176.82.75 with HTTP; Thu, 27 Apr 2017 01:15:19 -0700 (PDT)
In-Reply-To: <20170427042120.26877-1-P@draigBrady.com>
References: <20170427042120.26877-1-P@draigBrady.com>
From: Jim Meyering <jim@meyering.net>
Date: Thu, 27 Apr 2017 17:15:19 +0900
X-Google-Sender-Auth: Y-YQ2J2es4Z2--UKq9w5KMtLToA
Message-ID: <CA+8g5KHobjTWzu4Uif5iYUh4-nktKPDx3xhgs6GiAKqoqcCk9w@mail.gmail.com>
Subject: Re: [PATCH] date,touch: test and document large TZ security issue
To: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@draigbrady.com>
Cc: Coreutils <coreutils@gnu.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400c:c08::232
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Apr 2017 08:15:43 -0000

On Thu, Apr 27, 2017 at 1:21 PM, P=C3=A1draig Brady <P@draigbrady.com> wrot=
e:
> Add a test for CVE-2017-7476 which was fixed in gnulib at:
> http://git.sv.gnu.org/gitweb/?p=3Dgnulib.git;a=3Dcommitdiff;h=3D94e01571
>
> * tests/misc/date-tz.sh: Add a new test which overwrites enough
> of the heap to trigger a segfault, even without ASAN enabled.
> * tests/local.mk: Reference the new test.
> * NEWS: Mention the bug fix.

Nice!


From MAILER-DAEMON Fri Apr 28 06:57:55 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d43b1-0006cj-Eu
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 06:57:55 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51685)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andrew.burgess@embecosm.com>) id 1d422l-00038q-6D
	for coreutils@gnu.org; Fri, 28 Apr 2017 05:18:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andrew.burgess@embecosm.com>) id 1d422h-0005ht-Ud
	for coreutils@gnu.org; Fri, 28 Apr 2017 05:18:27 -0400
Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]:35506)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <andrew.burgess@embecosm.com>)
	id 1d422h-0005gI-Ls
	for coreutils@gnu.org; Fri, 28 Apr 2017 05:18:23 -0400
Received: by mail-wr0-x235.google.com with SMTP id z52so30273784wrc.2
	for <coreutils@gnu.org>; Fri, 28 Apr 2017 02:18:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=embecosm-com.20150623.gappssmtp.com; s=20150623;
	h=date:from:to:subject:message-id:mime-version:content-disposition
	:user-agent; bh=kHvFYN9kf5VRIVYXRm9mUGMv8PXyJY93wbf2VSMWnlc=;
	b=Y5saPOUhDeIR2OPKIglsnXWk5FBDz8++XAIAUzNmMkVCH6tVZiIHOz6ir/ZyEUCOoT
	rmWaUzy/d5c5342fYjoPTqpO/K6ArBJA0CLbJazRAD/C+XkzhRbNrccB8uckBhVTXgE/
	cqGNmzE1BrFj+prnBYXPLh2kg/pYd0onS0DO2kjGlY2Oy9lgVKQKaR9/oVVlcfGyMOCF
	GDrNwVs2wWUdTwzU26jeckadHDCERj0eNOi/LKlbvXclD1nrpDAw9qVOKCdfBunX9kVv
	6vE9OGpgRZSIyTgT0J9zHcyLxwHRtMufvCK0/e7nzu7x8I3ZarRbbh9qMOZo38YipRnm
	UBVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:date:from:to:subject:message-id:mime-version
	:content-disposition:user-agent;
	bh=kHvFYN9kf5VRIVYXRm9mUGMv8PXyJY93wbf2VSMWnlc=;
	b=edohzz4BKEgg0kvtQqfh8h1J22Au52mKc6hCiP+tgcnvsSk6BVGIoVaLrLfsrYpl7E
	tjzRIZINhalE4+UXG/RJxpuFBwzW9a74Q51XXoyL4m8/F6tT5PR0ofV/ew2aD48Gya09
	NDpt5eD2KW3pSDpL0/wUDo8jWLT0OnursyL70EloN0eqPkjE2S8d4xG6wytYV6+BIX41
	XWlBDPm3mMZsQKxpU9h3RT80zwpRwihf4ygi+5XkMTmKSOPuvbuPmAxVD5EzFso+TJyD
	/fjutAF3P5WZBQqZaNt/N2ztXT1wsfkH/t0lvGqKCGyEgq8m4B4H72huH54BZyiS+4Hg
	V4EA==
X-Gm-Message-State: AN3rC/7w7PLz0RwPWH/qrmARf6U2nuG0gv0xMdZWHa4UZLyoEgLtr+rX
	ilblLmuMQT/cnI5L
X-Received: by 10.223.136.71 with SMTP id e7mr6361042wre.73.1493371102311;
	Fri, 28 Apr 2017 02:18:22 -0700 (PDT)
Received: from localhost (host81-148-252-23.range81-148.btcentralplus.com.
	[81.148.252.23]) by smtp.gmail.com with ESMTPSA id
	g90sm7058088wrd.11.2017.04.28.02.18.20 for <coreutils@gnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 28 Apr 2017 02:18:21 -0700 (PDT)
Date: Fri, 28 Apr 2017 10:18:20 +0100
From: Andrew Burgess <andrew.burgess@embecosm.com>
To: coreutils@gnu.org
Subject: Problems cloning git.sv.gnu.org/coreutils
Message-ID: <20170428091820.GT27726@embecosm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Linux/4.4.10-200.fc22.x86_64 (x86_64)
X-Uptime: 09:58:46 up 7 days,  9:31,
X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ]
User-Agent: Mutt/1.6.1 (2016-04-27)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2a00:1450:400c:c0c::235
X-Mailman-Approved-At: Fri, 28 Apr 2017 06:57:54 -0400
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 09:18:28 -0000

Hi,

When I follow the instructions from here:

  https://www.gnu.org/software/coreutils/coreutils.html

to clone the coreutils git repository I run into an error, here's my
terminal output:

  $ git --version
  git version 2.12.2
  $ git clone git://git.sv.gnu.org/coreutils
  Cloning into 'coreutils'...
  remote: Counting objects: 169874, done.
  remote: Compressing objects: 100% (40066/40066), done.
  remote: Total 169874 (delta 129539), reused 169765 (delta 129464)
  Receiving objects: 100% (169874/169874), 31.57 MiB | 4.35 MiB/s, done.
  error: object a6727941433ee1c91a20ede6cb381af1d18c566d: missingSpaceBeforeDate: invalid author/committer line - missing space before date
  fatal: Error in object
  fatal: index-pack failed
  $

I've tried the clone on 3 different machines all running different
versions of git so I'm reasonably confident that the repository
corruption is in the upstream repository.

I'm no git expert so wont even start to guess how this happened, or
how to fix it, but thought I should let you know.

Thanks,
Andrew


From MAILER-DAEMON Fri Apr 28 07:03:33 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d43gT-0001Sr-Lm
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 07:03:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51650)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <auerswal@unix-ag.uni-kl.de>) id 1d43gS-0001Rr-5h
	for coreutils@gnu.org; Fri, 28 Apr 2017 07:03:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <auerswal@unix-ag.uni-kl.de>) id 1d43gR-0000vt-9q
	for coreutils@gnu.org; Fri, 28 Apr 2017 07:03:32 -0400
Received: from mailgw1.uni-kl.de ([2001:638:208:120::220]:55877)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <auerswal@unix-ag.uni-kl.de>)
	id 1d43gR-0000tN-2i
	for coreutils@gnu.org; Fri, 28 Apr 2017 07:03:31 -0400
Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de
	[IPv6:2001:638:208:ef34:0:ff:fe00:65])
	by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id
	v3SB3IEI029590
	(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); 
	Fri, 28 Apr 2017 13:03:18 +0200
Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1])
	by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP
	id v3SB3ISa022594
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=NO); Fri, 28 Apr 2017 13:03:18 +0200
Received: (from auerswal@localhost)
	by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Submit) id v3SB3IOw022593;
	Fri, 28 Apr 2017 13:03:18 +0200
Date: Fri, 28 Apr 2017 13:03:18 +0200
From: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: coreutils@gnu.org
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
Message-ID: <20170428110318.GA8542@unix-ag.uni-kl.de>
References: <20170428091820.GT27726@embecosm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20170428091820.GT27726@embecosm.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:638:208:120::220
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 11:03:33 -0000

Hi Andrew,

On Fri, Apr 28, 2017 at 10:18:20AM +0100, Andrew Burgess wrote:
> When I follow the instructions from here:
> 
>   https://www.gnu.org/software/coreutils/coreutils.html
> 
> to clone the coreutils git repository I run into an error, here's my
> terminal output:
> 
>   $ git --version
>   git version 2.12.2
>   $ git clone git://git.sv.gnu.org/coreutils
>   Cloning into 'coreutils'...
>   remote: Counting objects: 169874, done.
>   remote: Compressing objects: 100% (40066/40066), done.
>   remote: Total 169874 (delta 129539), reused 169765 (delta 129464)
>   Receiving objects: 100% (169874/169874), 31.57 MiB | 4.35 MiB/s, done.
>   error: object a6727941433ee1c91a20ede6cb381af1d18c566d: missingSpaceBeforeDate: invalid author/committer line - missing space before date
>   fatal: Error in object
>   fatal: index-pack failed
>   $
> 
> I've tried the clone on 3 different machines all running different
> versions of git so I'm reasonably confident that the repository
> corruption is in the upstream repository.

Cloning the repository worked for me:

$ git --version
git version 1.9.1
$ git clone git://git.sv.gnu.org/coreutils
Cloning into 'coreutils'...
remote: Counting objects: 169874, done.
remote: Compressing objects: 100% (40066/40066), done.
remote: Total 169874 (delta 129539), reused 169765 (delta 129464)
Receiving objects: 100% (169874/169874), 31.57 MiB | 757.00 KiB/s, done.
Resolving deltas: 100% (129539/129539), done.
Checking connectivity... done.

The problem might only show itself with newer Git version?

Thanks,
Erik
-- 
Software is communication to other human beings as much, or more so,
than it is communication to computers.
                        -- Eric S. Raymond


From MAILER-DAEMON Fri Apr 28 09:36:50 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d464o-0000Us-2j
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 09:36:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58825)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d464m-0000TA-5S
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:36:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d464j-0002Jq-2S
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:36:48 -0400
Received: from mx1.redhat.com ([209.132.183.28]:59569)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1d464i-0002JG-PG
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:36:44 -0400
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
	[10.5.11.15])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id B772842BB3;
	Fri, 28 Apr 2017 13:36:43 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B772842BB3
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B772842BB3
Received: from [10.10.123.177] (ovpn-123-177.rdu2.redhat.com [10.10.123.177])
	by smtp.corp.redhat.com (Postfix) with ESMTP id 3DB248BC35;
	Fri, 28 Apr 2017 13:36:43 +0000 (UTC)
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
To: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org
References: <20170428091820.GT27726@embecosm.com>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
Date: Fri, 28 Apr 2017 08:36:42 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
	Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <20170428091820.GT27726@embecosm.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="MHdc1LmHt1UTBdEfC7UcWN33nhPbN4UlW"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.30]);
	Fri, 28 Apr 2017 13:36:43 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 13:36:49 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--MHdc1LmHt1UTBdEfC7UcWN33nhPbN4UlW
From: Eric Blake <eblake@redhat.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org
Message-ID: <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
References: <20170428091820.GT27726@embecosm.com>
In-Reply-To: <20170428091820.GT27726@embecosm.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/28/2017 04:18 AM, Andrew Burgess wrote:
> Hi,
>=20
> When I follow the instructions from here:
>=20
>   https://www.gnu.org/software/coreutils/coreutils.html
>=20
> to clone the coreutils git repository I run into an error, here's my
> terminal output:
>=20
>   $ git --version
>   git version 2.12.2
>   $ git clone git://git.sv.gnu.org/coreutils
>   Cloning into 'coreutils'...
>   remote: Counting objects: 169874, done.
>   remote: Compressing objects: 100% (40066/40066), done.
>   remote: Total 169874 (delta 129539), reused 169765 (delta 129464)
>   Receiving objects: 100% (169874/169874), 31.57 MiB | 4.35 MiB/s, done=
=2E
>   error: object a6727941433ee1c91a20ede6cb381af1d18c566d: missingSpaceB=
eforeDate: invalid author/committer line - missing space before date

a6727941 appears to be an old tag, COERUTILS-4_5_1, created ages ago
when we first converted coreutils from CVS to git.  git was much looser
back then.  If it really is just a broken tag, and newer git is
complaining about its brokenness, it should be possible to regenerate
the tag.  We've done similar things for other projects in the past:

https://lists.gnu.org/archive/html/findutils-patches/2016-10/msg00014.htm=
l

and in fact I thought I had already sorted it out for coreutils:

https://lists.gnu.org/archive/html/bug-coreutils/2016-10/msg00038.html

although this particular error message from git is new, so it may
represent something different than the case mentioned in that link.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--MHdc1LmHt1UTBdEfC7UcWN33nhPbN4UlW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJZA0VqAAoJEKeha0olJ0NqFzIH/RStV7fAE7tsd5OZoxa+y+p+
QmCtxvdza2vPC+8VplQJR11gNexAxJORsNWkID+NNV+ZcOjpEJwNn1gaMy4rp1eP
3BgXcn9IT5GRGnjK2RWnoKuwcPI8HCqGzpnPfE9zANPHQmdlvjtlbUCnacA59PsO
EAjTpUBkGuryomCWBo21paIn/1K0QbkmFw10hY4AU59aPjnm6nCYaFnOTeiDewiZ
SQbha3jNrCIoD/rIXctE0EL6P/B617V73eSgeMixnn3TYAA4kphwTWJzZ4ZFg7XY
MQiws6VHi2+3wJ3yk+KzLUr8ctuXv11MKNeJmjjYg6tELPNAHa5XHpsvpE4Z8kg=
=lazq
-----END PGP SIGNATURE-----

--MHdc1LmHt1UTBdEfC7UcWN33nhPbN4UlW--


From MAILER-DAEMON Fri Apr 28 09:50:43 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d46IE-0007TG-U5
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 09:50:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34579)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d46IC-0007T8-NO
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:50:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d46I8-0007nS-LI
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:50:40 -0400
Received: from mx1.redhat.com ([209.132.183.28]:50620)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1d46I8-0007mi-C7
	for coreutils@gnu.org; Fri, 28 Apr 2017 09:50:36 -0400
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com
	[10.5.11.12])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id BD37A25BF6E;
	Fri, 28 Apr 2017 13:50:34 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BD37A25BF6E
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com BD37A25BF6E
Received: from [10.10.123.177] (ovpn-123-177.rdu2.redhat.com [10.10.123.177])
	by smtp.corp.redhat.com (Postfix) with ESMTP id 024C39FFE9;
	Fri, 28 Apr 2017 13:50:33 +0000 (UTC)
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
To: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org,
	Jim Meyering <jim@meyering.net>, Assaf Gordon <assafgordon@gmail.com>
References: <20170428091820.GT27726@embecosm.com>
	<75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
Date: Fri, 28 Apr 2017 08:50:31 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
	Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="0nxPhWDCGuXB5T6WG842tAploM58BKGAx"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.29]);
	Fri, 28 Apr 2017 13:50:35 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 13:50:41 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0nxPhWDCGuXB5T6WG842tAploM58BKGAx
From: Eric Blake <eblake@redhat.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org,
 Jim Meyering <jim@meyering.net>, Assaf Gordon <assafgordon@gmail.com>
Message-ID: <dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
References: <20170428091820.GT27726@embecosm.com>
 <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
In-Reply-To: <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/28/2017 08:36 AM, Eric Blake wrote:

>>   error: object a6727941433ee1c91a20ede6cb381af1d18c566d: missingSpace=
BeforeDate: invalid author/committer line - missing space before date
>=20
> a6727941 appears to be an old tag, COERUTILS-4_5_1, created ages ago
> when we first converted coreutils from CVS to git.  git was much looser=

> back then.

> and in fact I thought I had already sorted it out for coreutils:
>=20
> https://lists.gnu.org/archive/html/bug-coreutils/2016-10/msg00038.html

On a fresh clone, I see that the tag COREUTILS-4_5_1 is object def0541,
not a6727941; but that a6727941 is still pulled in as part of the clone.
 I'll note that I'm using git 2.9.3 (older than your 2.12.2), and that I
don't have automatic fsck-on-pull turned on (which is why my clone
succeeded), but 'git fsck' after the clone does identify a6727941 as one
of the problematic objects.

I'm guessing that even though I recreated the bad tags several months
ago, that something about the bad tags is still packed server-side.
Maybe it's just a matter of running 'git prune' on the server side to
purge out the old reference from the pack file? But for that, we'll need
someone with server access. Jim or Assaf may be able to help.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--0nxPhWDCGuXB5T6WG842tAploM58BKGAx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJZA0inAAoJEKeha0olJ0Nqab0H/RvZROt6Aqx9txcX5sk+mCUX
kV5IFxDdPOuaCUEaq8bfdvNn+VzmOQqrP3pb9rJpXEvzaBis2GwhJfPrZddLS7Ri
DBshSKCDSzmK7BsKAwWD10+m3i9fI4C55VCVXvFpTH6LDJL6O/RpTugrgVRH+SAf
u8M3DXddRA79MxhoGnQflSwn9VouWzdX6tkK8mF/9XsjNqNEchDuDgyc7Tt07YDx
byf2rQNdBAZsa3C/iqum+lXXa6ifb07rKU60Zwx8SJGyzxkZ0ftpqmmzTiknfpga
Q8rxwqYqf57mbbWwbenI/FRJt9K6eoeWG87mMZNU+1m4LJaRE+jo06jdDHie6Q0=
=mkXi
-----END PGP SIGNATURE-----

--0nxPhWDCGuXB5T6WG842tAploM58BKGAx--


From MAILER-DAEMON Fri Apr 28 10:47:27 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d47B9-0007YI-Kn
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 10:47:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49779)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1d47B6-0007Ws-RP
	for coreutils@gnu.org; Fri, 28 Apr 2017 10:47:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1d47B3-0000w9-M7
	for coreutils@gnu.org; Fri, 28 Apr 2017 10:47:24 -0400
Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:35735)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <assafgordon@gmail.com>)
	id 1d47B3-0000vm-Hg
	for coreutils@gnu.org; Fri, 28 Apr 2017 10:47:21 -0400
Received: by mail-qk0-x244.google.com with SMTP id a19so9234151qkg.2
	for <coreutils@gnu.org>; Fri, 28 Apr 2017 07:47:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=date:from:to:cc:subject:message-id:references:mime-version
	:content-disposition:in-reply-to:user-agent;
	bh=AZ67ZLJmh0YBv8ucJ5uM/CWIxdr1s/ncizqSdBBlf8g=;
	b=s2lWVVBpmKq/nb2QTX3GZkiWWWXlLewenLIs1fOzis6RfqdEgKyW5lSutvJokuFx+p
	rYgh3WAuDxJRTrxogP7Nr2UbmxkVNytf9Fcp8KXV/ilemVqRkRti4civCPS8vXdE1uej
	0npMvdWpr1t+uPEYovRPsjm7xNKMGqAHp6c2zFHTdgRxUaw7Vthwr4hK8m1U6A/DhMMD
	AqGwVbz+y3zQj46kSM+3Q3vvrR79N/YV6s75dCI6sPrckbGQ9xFM/aJAzLZffvc4enEz
	mRjeiad2lMTcRX/dKdgJsAhJgXJdyGXBl8hdvhifo+xrQr6hVX8sQnF0r0SabwAQeRkR
	e6ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-disposition:in-reply-to:user-agent;
	bh=AZ67ZLJmh0YBv8ucJ5uM/CWIxdr1s/ncizqSdBBlf8g=;
	b=YuQEE6+LtekC++nnjvp7o3Url2CfoOHEZpvjOrRbVN5g3QoqtcOICUv3WJBckM9GG9
	rACbaW1BTGrmQeWMYZN9mbY3L9WXzNlZi3/OmahRhYxgRSQSMA4faqtte76xr6e8ager
	Rq9zYYcB/e4BpXsQNNuno9L/18L/eWJS/rci49pSPuTnZqhvQiJbSQlHWzzdNMvjATCd
	z142i2Y+F2+OF2Oeyl53nj0zURqGX8Jz+4NkEgT5crbf4T0BBdL1llo7j3Y96V9TmCL4
	CiBBkDWGeS3xx/i6nq3t6EuoT06sk/9Cdk6MvBMsFvrvDHN82MaSxzl42BWZsCT7TeEP
	DYzg==
X-Gm-Message-State: AN3rC/7XXU19k/pdfl4ebfR708YhlsIU1z5jd271LKyUiRVeZrLmuZGl
	BD9g1C7VolgHeQ==
X-Received: by 10.55.217.155 with SMTP id q27mr10934756qkl.217.1493390840483; 
	Fri, 28 Apr 2017 07:47:20 -0700 (PDT)
Received: from gmail.com (housegordon.org. [104.236.108.240])
	by smtp.gmail.com with ESMTPSA id
	z137sm3115936qkb.3.2017.04.28.07.47.19
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 28 Apr 2017 07:47:19 -0700 (PDT)
Date: Fri, 28 Apr 2017 14:46:42 +0000
From: Assaf Gordon <assafgordon@gmail.com>
To: Eric Blake <eblake@redhat.com>
Cc: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org,
	Jim Meyering <jim@meyering.net>
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
Message-ID: <20170428144641.GA17328@gmail.com>
References: <20170428091820.GT27726@embecosm.com>
	<75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
	<dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400d:c09::244
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 14:47:25 -0000

Hi,

On Fri, Apr 28, 2017 at 08:50:31AM -0500, Eric Blake wrote:
>[...]
>Maybe it's just a matter of running 'git prune' on the server side to
>purge out the old reference from the pack file?

I've run "git prune" on /srv/git/coreutils.git .
Let me know if that works, or if other things are needed.

-assaf


From MAILER-DAEMON Fri Apr 28 11:35:21 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1d47vV-000369-GK
	for mharc-coreutils@gnu.org; Fri, 28 Apr 2017 11:35:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35013)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d47vT-00035H-Qy
	for coreutils@gnu.org; Fri, 28 Apr 2017 11:35:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1d47vQ-00020r-Hm
	for coreutils@gnu.org; Fri, 28 Apr 2017 11:35:19 -0400
Received: from mx1.redhat.com ([209.132.183.28]:34240)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <eblake@redhat.com>) id 1d47vQ-0001zr-7s
	for coreutils@gnu.org; Fri, 28 Apr 2017 11:35:16 -0400
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com
	[10.5.11.16])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.redhat.com (Postfix) with ESMTPS id B5E2D3D965;
	Fri, 28 Apr 2017 15:35:14 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B5E2D3D965
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com;
	dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com;
	spf=pass smtp.mailfrom=eblake@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B5E2D3D965
Received: from [10.10.123.177] (ovpn-123-177.rdu2.redhat.com [10.10.123.177])
	by smtp.corp.redhat.com (Postfix) with ESMTP id C6EC61750F;
	Fri, 28 Apr 2017 15:35:13 +0000 (UTC)
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
To: Assaf Gordon <assafgordon@gmail.com>
Cc: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org,
	Jim Meyering <jim@meyering.net>
References: <20170428091820.GT27726@embecosm.com>
	<75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
	<dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
	<20170428144641.GA17328@gmail.com>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <76f1277b-2a34-98b5-60c4-2c03e406ec44@redhat.com>
Date: Fri, 28 Apr 2017 10:35:12 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
	Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <20170428144641.GA17328@gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="lVTMm4GxG1TRdSltwjWBL0b9RmG0SXNxi"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(mx1.redhat.com [10.5.110.30]);
	Fri, 28 Apr 2017 15:35:15 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 209.132.183.28
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils/>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Apr 2017 15:35:21 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lVTMm4GxG1TRdSltwjWBL0b9RmG0SXNxi
From: Eric Blake <eblake@redhat.com>
To: Assaf Gordon <assafgordon@gmail.com>
Cc: Andrew Burgess <andrew.burgess@embecosm.com>, coreutils@gnu.org,
 Jim Meyering <jim@meyering.net>
Message-ID: <76f1277b-2a34-98b5-60c4-2c03e406ec44@redhat.com>
Subject: Re: Problems cloning git.sv.gnu.org/coreutils
References: <20170428091820.GT27726@embecosm.com>
 <75b372e4-b730-bbc3-5c2a-947ebcf16376@redhat.com>
 <dee11601-cfc1-d6b4-1625-ec2bcc0fd876@redhat.com>
 <20170428144641.GA17328@gmail.com>
In-Reply-To: <20170428144641.GA17328@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/28/2017 09:46 AM, Assaf Gordon wrote:
> Hi,
>=20
> On Fri, Apr 28, 2017 at 08:50:31AM -0500, Eric Blake wrote:
>> [...]
>> Maybe it's just a matter of running 'git prune' on the server side to
>> purge out the old reference from the pack file?
>=20
> I've run "git prune" on /srv/git/coreutils.git .
> Let me know if that works, or if other things are needed.

I just did another fresh clone, and 'git fsck' is still complaining:

error in tag a6727941433ee1c91a20ede6cb381af1d18c566d:
missingSpaceBeforeDate: invalid author/committer line - missing space
before date

I honestly don't know what else to recommend; maybe it's time to turn to
the git developers to get their help.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--lVTMm4GxG1TRdSltwjWBL0b9RmG0SXNxi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJZA2EwAAoJEKeha0olJ0Nq/KQIAJO9IDz28xQQCCQ0hQb+DlTR
HIm7XxCHaqMU/0ps8FqfcZmQOi6aJcYIxgav7tIZidtXsdu9145CHqWEeeMbVrDj
VX6dxGnJSekkjSwiLo6i8WtXXKLHp4QRU5lVj8cuo0iB8ZAuGbyeg1Vty8Udvmrr
AJBiJuzgdE6zXU2cNVXG1Zi6lbIk3HwRCNn73Ce9/fgEb1ZR6+hLDk/54Ym/zkoX
C/XDBKwsA0kqZ7+gt5sI/UT3tEYyGYcZrLwV2t0iv26LZ7/eDO9vMliy4coIkGDX
kV62hIzZ75icL3dKqTWcuBy1Ja+j5YRiDjiEJ2KTOBDfmKshMQka6//l6RWtSPQ=
=n5Y8
-----END PGP SIGNATURE-----

--lVTMm4GxG1TRdSltwjWBL0b9RmG0SXNxi--


