From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1832D3858403; Tue, 26 Oct 2021 14:40:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1832D3858403 From: "drvignesh1992 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/28499] New: Couldn't export variable to sub process Date: Tue, 26 Oct 2021 14:40:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: drvignesh1992 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2021 14:40:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28499 Bug ID: 28499 Summary: Couldn't export variable to sub process Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: critical Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: drvignesh1992 at gmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Hi Team, I am migrating from glibc-2.31 to glibc-2.32 and couldn't export variable's= to child process Please look into below logs and example code ---- # cat export.sh=20 #!/bin/sh A=3D5 export A echo $A ./test.sh ---- ---- # cat test.sh=20 #!/bin/sh echo $A ---- Output with glibc-2.31: # ldd --version ldd (GNU libc) 2.31 $Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $Written by Roland McGrath and Ulrich Drepper. # # ./export.sh=20 5 5 # Output with glibc-2.32: # ldd --version ldd (GNU libc) 2.32 $Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $Written by Roland McGrath and Ulrich Drepper. # ./export.sh=20 5 #=20 You could see in glibc-2.31 exported variable is printing in the test.sh fi= le but in case of glibc-2.32 it is not. Note: all other packages with the rootfs is same, except glibc Tried using busybox and bash (latest version), but no improvement. Is there a particular commit which causes this issue, I couldn't found any release notes related to this. Thanks in advance. Regards, Vignesh --=20 You are receiving this mail because: You are on the CC list for the bug.=