public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Issue with newly created shortcut to Mintty
@ 2013-06-29  0:05 Andrey Repin
  2013-06-29 13:47 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Repin @ 2013-06-29  0:05 UTC (permalink / raw)
  To: All

Greetings, All!

After some manipulations with a newly installed Cygwin, I've encountered an
issue similar to e.g. http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5532

What i did was that I've made %Cygwin%/home a directory junction of C:/Users

Basically, when a terminal is started, the screen is polluted by a lot of
errors similar to

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Error messages go away, when I set current working directory of a mintty
shortcut to %Cygwin% directory, or make an entry in /etc/fstab to match the
binding. In my case,

C:/Users /home ntfs binary,posix=0,noacl,nouser 0 0


-- 
WBR,
Andrey Repin (anrdaemon@freemail.ru) 29.06.2013, <01:40>

Sorry for my terrible english...


--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Issue with newly created shortcut to Mintty
  2013-06-29  0:05 Issue with newly created shortcut to Mintty Andrey Repin
@ 2013-06-29 13:47 ` Corinna Vinschen
  2013-06-29 15:43   ` Andrey Repin
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2013-06-29 13:47 UTC (permalink / raw)
  To: cygwin

On Jun 29 01:55, Andrey Repin wrote:
> Greetings, All!
> 
> After some manipulations with a newly installed Cygwin, I've encountered an
> issue similar to e.g. http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5532
> 
> What i did was that I've made %Cygwin%/home a directory junction of C:/Users
> 
> Basically, when a terminal is started, the screen is polluted by a lot of
> errors similar to
> 
> shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

I can't reproduce this behaviour.  Tried with bash and tcsh as
login shell.  No luck.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Issue with newly created shortcut to Mintty
  2013-06-29 13:47 ` Corinna Vinschen
@ 2013-06-29 15:43   ` Andrey Repin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Repin @ 2013-06-29 15:43 UTC (permalink / raw)
  To: Corinna Vinschen

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Greetings, Corinna Vinschen!

> On Jun 29 01:55, Andrey Repin wrote:
>> Greetings, All!
>> 
>> After some manipulations with a newly installed Cygwin, I've encountered an
>> issue similar to e.g. http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5532
>> 
>> What i did was that I've made %Cygwin%/home a directory junction of C:/Users
>> 
>> Basically, when a terminal is started, the screen is polluted by a lot of
>> errors similar to
>> 
>> shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

> I can't reproduce this behaviour.  Tried with bash and tcsh as
> login shell.  No luck.

I'm about to get a new VM running, I'll report back, if I get the same, or
different, behavior.
In meantime, please find cygcheck output from the system in question attached.
The box is ASUS X55A notebook with preinstalled W8.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 29.06.2013, <18:17>

Sorry for my terrible english...

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 13908 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Jun 29 16:07:20 2013

Windows 8 Professional with Media Center Ver 6.2 Build 9200 

Path:	C:\cygwin64\usr\local\bin
	C:\cygwin64\bin
	C:\Program Files (x86)\Intel\iCLS Client
	C:\Program Files\Intel\iCLS Client
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files (x86)\Windows Live\Shared
	C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86
	C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64
	C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT

Output from C:\cygwin64\bin\id.exe
UID: 1005(admin1)                 GID: 513(Отсутствует)
513(Отсутствует)       0(root)
544(Администраторы) 545(Пользователи)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'admin1'
PWD = '/home/admin1'
HOME = '/home/admin1'

USERDOMAIN_ROAMINGPROFILE = 'Asus'
HOMEPATH = '\Users\admin1'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Users\admin1\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'Asus'
SHELL = '/bin/bash'
TERM = 'xterm-256color'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 42 Stepping 7, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/'
USERDOMAIN = 'Asus'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
temp = 'C:\Users\admin1\AppData\Local\Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
TMP = '/tmp'
configsetroot = 'C:\Windows\ConfigSetRoot'
USERNAME = 'admin1'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
__COMPAT_LAYER = 'Installer'
LANG = 'C.CP866'
USERPROFILE = 'C:\Users\admin1'
TZ = 'Europe/Moscow'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\ASUS'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\admin1\AppData\Local'
HISTCONTROL = 'erasedups:ignoreboth'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\Windows\system32\cmd.exe'
SYSTEMROOT = 'C:\Windows'
PRINTER = 'Microsoft XPS Document Writer'
PROCESSOR_REVISION = '2a07'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
COMPUTERNAME = 'ASUS'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: e022582115c10879 Path: C:\cygwin64

c:  hd  NTFS    122097Mb  29% CP CS UN PA FC     OS
d:  hd  NTFS    161327Mb   1% CP CS UN PA FC     Data
e:  cd             N/A    N/A                    

C:\cygwin64      /         system  binary,auto
C:\Users         /home     system  binary,noacl,posix=0
C:\cygwin64\bin  /usr/bin  system  binary,auto
C:\cygwin64\lib  /usr/lib  system  binary,auto
cygdrive prefix  /         user    binary,noacl,posix=0,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\Windows\system32\find.exe
Not Found: gcc
Found: C:\cygwin64\bin\gdb.exe
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\kill.exe
Not Found: ld
Found: C:\cygwin64\bin\ls.exe
Not Found: make
Found: C:\cygwin64\bin\mv.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\vi.exe
Not Found: vim

   16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2013-03-26 18:26
   64k 2013/03/07 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2013-03-07 02:54
    9k 2013/03/07 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-0.dll" v0.0 ts=2013-03-07 09:29
 1655k 2013/03/07 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2013-03-07 12:01
 1526k 2013/03/08 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2013-03-08 07:55
  111k 2013/03/08 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2013-03-08 07:56
  472k 2013/03/08 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2013-03-08 07:58
  155k 2013/03/15 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygedit-0.dll" v0.0 ts=2013-03-15 09:44
  146k 2013/04/16 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2013-04-16 15:24
   22k 2013/05/12 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2013-05-12 22:53
   53k 2013/05/06 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2013-05-06 08:10
   66k 2013/05/31 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2013-05-31 22:17
   29k 2013/03/11 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=2013-03-11 05:00
   12k 2013/03/11 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2013-03-11 05:01
  443k 2013/05/05 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2013-05-05 13:28
   29k 2013/03/14 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2013-03-14 11:14
  998k 2013/03/07 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2013-03-07 03:03
   39k 2013/03/08 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2013-03-08 05:50
    6k 2013/06/28 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
                  "cyglsa64.dll" v0.0 ts=2013-06-28 09:02
  129k 2013/03/07 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2013-03-07 10:20
  102k 2013/03/19 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2013-03-19 14:27
   28k 2013/05/06 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2013-05-06 08:10
  319k 2013/05/05 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-4.dll" v0.0 ts=2013-05-05 13:40
   52k 2013/05/06 C:\cygwin64\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncurses++w-10.dll" v0.0 ts=2013-05-06 08:14
  295k 2013/05/06 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2013-05-06 08:08
   13k 2013/05/06 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2013-05-06 08:09
 1580k 2013/03/11 C:\cygwin64\bin\cygperl5_14.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_14.dll" v0.0 ts=2013-03-12 00:25
   40k 2013/03/07 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2013-03-07 12:01
  193k 2013/03/14 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2013-03-14 11:14
  638k 2013/04/17 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2013-04-17 21:50
  377k 2013/03/07 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2013-03-07 12:01
   11k 2013/05/31 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssp-0.dll" v0.0 ts=2013-05-31 22:31
  892k 2013/05/31 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2013-05-31 22:23
   51k 2013/05/06 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2013-05-06 08:08
   79k 2013/05/09 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2013-05-09 22:20
 3070k 2013/06/28 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2013-06-28 09:03
    Cygwin DLL version info:
        DLL version: 1.7.21
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 267
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Service             : sshd
Display name        : CYGWIN sshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D
stdin path          : /dev/null
stdout path         : /var/log/sshd.log
stderr path         : /var/log/sshd.log
Environment         : CYGWIN="nodosfilewarning" 
Process Type        : Own Process
Startup             : Automatic
Dependencies        : tcpip
Account             : .\cyg_server


Cygwin Package Information
Last downloaded files to: D:\Reserv\Cygwin
Last downloaded files from: http://cygwin.cybermirror.org/

Package              Version                   Status
alternatives         1.3.30c-10                OK
base-cygwin          3.3-1                     OK
base-files           4.1-1                     OK
bash                 4.1.11-1                  OK
bzip2                1.0.6-2                   OK
coreutils            8.15-3                    OK
csih                 0.9.7-1                   OK
cygrunsrv            1.42-1                    OK
cygutils             1.4.12-2                  OK
cygwin               1.7.21-6                  OK
dash                 0.5.7-4                   OK
diffutils            3.3-1                     OK
editrights           1.02-1                    OK
file                 5.13-1                    OK
findutils            4.5.11-1                  OK
gawk                 4.1.0-1                   OK
gdb                  7.6.50.20130320-cvs-1     OK
grep                 2.14-1                    OK
groff                1.22.2-1                  OK
gzip                 1.4-1                     OK
hostname             3.12-1                    OK
ipc-utils            1.0-2                     OK
less                 458-1                     OK
libattr1             2.4.46-1                  OK
libbz2_1             1.0.6-2                   OK
libcrypt0            1.1-1                     OK
libdb5.3             5.3.21-1                  OK
libedit0             20120311-1                OK
libexpat1            2.1.0-2                   OK
libffi6              3.0.13-1                  OK
libgcc1              4.8.1-1                   OK
libgdbm4             1.10-2                    OK
libgmp10             5.1.1-2                   OK
libiconv2            1.14-1                    OK
libintl8             0.18.1.1-2                OK
liblzma5             5.0.4-1                   OK
libmpfr4             3.1.2-1                   OK
libncursesw10        5.9-4                     OK
libopenssl100        1.0.1e-1                  OK
libpopt0             1.16-1                    OK
libreadline7         6.2-1                     OK
libsqlite3_0         3.7.16.2-1                OK
libssp0              4.8.1-1                   OK
libstdc++6           4.8.1-1                   OK
man                  1.6g-2                    OK
mintty               1.2-beta1-1               OK
openssh              6.2p2-1                   OK
perl                 5.14.4-1                  OK
python               2.7.3-1                   OK
rebase               4.4.0.1-1                 OK
run                  1.2.0-1                   OK
sed                  4.2.2-3                   OK
tar                  1.26-1                    OK
terminfo             5.9-4                     OK
tzcode               2013c-1                   OK
vim-minimal          7.3.1152-1                OK
which                2.20-2                    OK
xz                   5.0.4-1                   OK
zlib0                1.2.8-1                   OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-29 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-29  0:05 Issue with newly created shortcut to Mintty Andrey Repin
2013-06-29 13:47 ` Corinna Vinschen
2013-06-29 15:43   ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).