X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <34043774.post@talk.nabble.com> Date: Wed, 20 Jun 2012 08:43:18 -0700 (PDT) From: richw To: cygwin AT cygwin DOT com Subject: Re: /bin and /lib mount points occasionally lost In-Reply-To: <4FE176ED.8000803@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <34007108 DOT post AT talk DOT nabble DOT com> <34037768 DOT post AT talk DOT nabble DOT com> <87sjdryxpx DOT fsf AT Rainer DOT invalid> <34038496 DOT post AT talk DOT nabble DOT com> <87txy7xb7j DOT fsf AT Rainer DOT invalid> <34039888 DOT post AT talk DOT nabble DOT com> <4FE153DB DOT 1090200 AT gmail DOT com> <34040469 DOT post AT talk DOT nabble DOT com> <4FE176ED DOT 8000803 AT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com marco atzeri-4 wrote: > > On 6/20/2012 7:26 AM, richw wrote: >> >> >> marco atzeri-4 wrote: >>> >>> >>> cool down >>> your message of 19 Jun >>> http://cygwin.com/ml/cygwin/2012-06/msg00336.html >>> ... >>> has still an old one cygcheck.out as link. >>> so please so kind to provide us the right and updated info >>> >>> Regards >>> Marco >>> > >>> >>> >>> >> I apologize. I have apparently been bitten by uploading two different >> files >> with the same name. When I clicked on the link in the message of the >> 19th, I >> got the correct file. So, after a name change, we have: >> http://old.nabble.com/file/p34040469/cygcheck2.out cygcheck2.out >> > > I see nothing strange. > > On one of your previous post you mentioned > > "bash: id: command not found" > > this usually happens if the shell is not a login shell. > as the cygwin dir are not added to the path. > > Eg > from cmd.exe in c:\cygwin > ------------------------------ > C:\>cd cygwin > > C:\cygwin>bin\bash > > $ id > bash: id: command not found > ----------------------------- > > while > ----------------------------- > E:\cygwin>bin\bash -l > > $ id > uid=1008(marco) gid=544(Administrators) > groups=544(Administrators),0(root),545(U > sers),513(None) > ------------------------------ > > > However for cygcheck you have: > > Output from C:\cygwin\bin\id.exe > UID: 1000(rw) GID: 513(None) > 513(None) 0(root) 544(Administrators) 545(Users) > 1002(HomeUsers) > > Path: C:\cygwin\usr\local\bin > C:\cygwin\bin > [cut] > > > Is it possible that some of your shell are incorrectly called ? > Regards > MArco > > -- > 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 > > > Marco, I suspect that you are losing sight of the big picture. When you look at "bash: id: command not found" you are looking at one of the downstream consequences of the original problem. Or, that is, of the most upstream problem that I know of. When /bin isn't mounted on /usr/bin, of course id will not be found, since $PATH points to /usr/bin, and /usr/bin is empty. I believe what needs to be studied is why an access from a remote system to an nfs file system before opening a bash prompt causes the automatic mount of /usr/bin and /usr/lib to be skipped. When I open a bash prompt before accessing the nfs file system, everything works as it should. cygcheck2.out was created when the system was working correctly. I don't believe it's useful, but here is a cygcheck when the mount has been skipped: $ /bin/cygcheck -s -v -r > http://old.nabble.com/file/p34043774/cygcheck3.out cygcheck3.out It looks like it's mostly just missing stuff it couldn't find. -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp34007108p34043774.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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