From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18274 invoked by alias); 28 Oct 2014 06:09:34 -0000 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 Received: (qmail 18262 invoked by uid 89); 28 Oct 2014 06:09:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_20,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: Ishtar.hs.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.hs.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 28 Oct 2014 06:09:32 +0000 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.hs.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id s9S69Nml020148 for ; Mon, 27 Oct 2014 23:09:26 -0700 Message-ID: <544F3313.6050604@tlinx.org> Date: Tue, 28 Oct 2014 06:09:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin@cygwin.com" Subject: BUG: cygwin warning: barfs on domain-based-mboxes; env corrupted by login(-p disabled) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00474.txt.bz2 cygwin warning: MS-DOS style path detected: /usr/spool/mail/Bliss/law Preferred POSIX equivalent is: /usr/spool/mail/Bliss/law CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames law.Bliss> who Bliss\law pty0 2014-10-27 22:39 (Athenae) law.Bliss> id uid=5013(Bliss\law) gid=201(lawgroup) groups=201(lawgroup),544(Administrators),545(Users),\ 512(Bliss\Domain Admins),513(Bliss\Domain Users) ---- Upon starting a new cygwin console session -- the first time after boot, I get the above and I can't shut it off because 'login' clears all of the Windows environment (including USERPROFILE) when I use rlogin to login to my local host). I don't know if rlogin also clears the environment, but login pretty clearly does which causes all sorts problems trying to run many (any?) windows based programs. Note, the above mbox check in (all caps) /USR/SPOOL/MAIL/BLISS\LAW happens long before bash has opened it's first "rc" file, so nothing in bash can be set to disable this problem before it comes out (does Mbox processing before any rc processing). At the very least, "login -p" should be fixed to work (whereas now it has been explicitly patch to NOT WORK (man login:...) -p Used by getty(8) to tell login not to destroy the environment. This is disabled in the Cygwin version. Can login have the cygwin specific code that disables "-p" removed? Is there a reason why it is _needed_ (I know it may cause unpredictable results in a multi-user env -- but that can be documented -- otherwise, there is no reliable single-user workaround for the above (and a few other ENV-wiped-based problems). -- 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