From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22720 invoked by alias); 4 Apr 2011 09:03:43 -0000 Received: (qmail 22712 invoked by uid 22791); 4 Apr 2011 09:03:42 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,RFC_ABUSE_POST,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: sourceware.org Received: from mxout34.expurgate.net (HELO mxout34.expurgate.net) (91.198.224.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Apr 2011 09:03:01 +0000 Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.71) (envelope-from ) id 1Q6fgZ-00045Z-1k; Mon, 04 Apr 2011 11:02:59 +0200 Received: from [212.6.96.243] (helo=server03.company.internal) by relay.expurgate.net with esmtp (Exim 4.71) (envelope-from ) id 1Q6fgY-0001f6-Lz; Mon, 04 Apr 2011 11:02:58 +0200 From: "DEWI - N. Zacharias" To: "cygwin@cygwin.com" Date: Mon, 04 Apr 2011 12:49:00 -0000 Subject: Additional Infos: Strange error during /etc/profile Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E603C19614B2@server03> References: <8CCC8F85C5F2784387A32FAD835FB4E603C19614B1@server03> In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E603C19614B1@server03> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-purgate-sourceid: 1Q6fgY-0001f6-Lz X-purgate-Ad: Checked for spam and viruses by eXpurgate(R), see www.eleven.de for details. X-purgate-ID: 151534::1301907779-000018DA-03B2FB1E/0-0/0-0 X-purgate: clean X-purgate-type: clean X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00052.txt.bz2 Hi all, the error only shows up if I start from a network drive.(Netware) If I modify /etc/profile like MYPWD=3D$(pwd); cd /cygdrive/c [.... do stuff...] cd $MYPWD everything works fine. Norbert > Gesendet: Montag, 4. April 2011 10:38 > Betreff: [bulk] - Strange error during /etc/profile > > > Hi all, > > After updating cygwin to the newest version after 3 Month I get a strange > error if I start the Xwindow with bash as usual > > /bin/find: `standard output': Bad file descriptor > /bin/find: Schreibfehler. > > I can trace that to the attempt of /etc/profile to read /etc/profile.d > > # Run all of the profile.d scripts > # Note that these are supplied by separate packages > # Ascending alphanumerical order enforced > > #next line for debugging > echo before trying to read /etc/profile > > if [ -d "/etc/profile.d" ]; then > while read f; do > if [ -f "${f}" ]; then > . "${f}" > fi > done <<- EOF > `/bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.= zsh' | > LC_ALL=3DC sort` > EOF > fi > #next line for debugging > echo after trying to read /etc/profile > > after adding the debugging lines I get > > before trying to read /etc/profile > /bin/find: `standard output': Bad file descriptor > /bin/find: Schreibfehler. > after trying to read /etc/profile > > but if I execute the /bin/find .... line from the xwindow everything work= s as > expected. > > So do someone has an idea what's going on here ?? > > Thanks > Norbert > > > -------------------------------------------------------------------------- > Dipl. Phys. > Norbert Zacharias > Wind Measurements & Power Curve Measurements > DEWI GmbH > Ebertstrasse 96 > 26382 Wilhelmshaven > Germany > > > Tel.: +49 4421 4808 876 > > Fax: +49 4421 4808 843 > > > Email: N.Zacharias@dewi.de > Home: http://www.dewi.de > > DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven > Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 > Managing Director: Jens Peter Molly > Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny > > P Please consider the environment before printing this email. > > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -------------------------------------------------------------------------- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI GmbH Ebertstrasse 96 26382 Wilhelmshaven Germany Tel.: +49 4421 4808 876 Fax: +49 4421 4808 843 Email: N.Zacharias@dewi.de Home: http://www.dewi.de DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 Managing Director: Jens Peter Molly Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny P Please consider the environment before printing this email. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple