This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure in merging win-env vars into post-'login'...


Corinna Vinschen wrote:

- Can you please start inetd under strace, once under 1.7.33, once under
  the 1.7.34 test DLL and then log in as you usally do?  This requires
  some patience because under strace the whole process of logging in
  will become almost unbearably slow.
----
	~20 seconds?

  With the test DLL, you can stop
immediately after the password prompt shows up.
---
I trimmed both of the traces in gvim to the point when they
both first call "-bash".

I *was* able  to login *with* my password under the test release.
It placed me in the same home directory -- so I ran getent there
as well:
Bliss\law:unused:5013:201:L A Walsh, Trust Technologies, tlinx.org,U-Bliss\law,S-1-5-21-33333-77777-33333-5013:/Users/law.Bliss:/bin/bash

I think that is the same output as before.


   I take it you're
  starting inetd from the command line of a local session, right?
----
Usually from WIN-R (run) since I don't have a local window open yet
until I run inetd -- but that's still a local session, so should
be the same, just not the same as a startup from bash or a command line.



The setup is dead simple then: $ strace -o inetd-1.7.33.trace inetd [your inetd options] $ strace -o inetd-1.7.34.trace inetd [your inetd options]
---
No options are passed in.  The only file I think I needed to change
was '/etc/inetd.conf' (also attached).

Other than that the binaries need to be installed (doy!)...
Both traces are attached in xz format.





  Then send the traces, please, compressed and attached.
--
done



- Can you give me a short, concise description how you set up
  inetd/rlogin so I can try to reproduce this locally?
---
	Just the /etc/inetd.conf.. my 'terminal client'
then uses the rlogin protocol and feeds it my systemname
(localhost didn't work, but the shortname 'athenae' does)
and my Userid 'Bliss\law'.

If you want to try the same terminal client,
you can download it for a 30-day trial
from http://www.vandyke.com/products/securecrt/index.html

I am not running under the latest release as my
'free updates' expired (I'm running 7.1.1 x64 version,
current is 7.3).  Note: when you purchase, you get
free updates for some period after that, but the
client itself doesn't expire...so it's been a pretty
good value (you can set it for normal scrolling or
jump scrolling.. among many other configurables).

Hope this was everything ... ?




Thanks,
Corinna

Attachment: inet733.trc.xz
Description: Binary data

Attachment: inet-1.7.34.trc.xz
Description: Binary data

# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or restart
# inetd, so that it will re-read this file.
#   "net stop inetd"   /  "cygrunsrv -E inetd"  /  "telinit 1"
#   "net start inetd"  /  "cygrunsrv -S inetd"  /  "telinit 3"
# (depending on how the inetd service is installed on your machine. See
# /usr/share/doc/Cygwin/inetutils.README for more information)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#echo    stream  tcp     nowait  root    internal
#echo    dgram   udp     wait    root    internal
#discard stream  tcp     nowait  root    internal
#discard dgram   udp     wait    root    internal
#daytime stream  tcp     nowait  root    internal
#daytime dgram   udp     wait    root    internal
#chargen stream  tcp     nowait  root    internal
#chargen dgram   udp     wait    root    internal
#time    stream  tcp     nowait  root    internal
#time    dgram   udp     wait    root    internal
#
# The canonical method of calling external services is
# to specify them directly:
#   ftp     stream  tcp     nowait  root    /usr/sbin/ftpd ftpd
# However, by default on cygwin we call them instead via
# the 'tcpd' access-control wrapper for security reasons.
# tcpd is not part of the inetutils proper, but is provide
# by the tcp_wrappers package. If you enable (uncomment) any
# of the services below, you need to also configure your
# windows firewall AND /etc/hosts.allow to enable the affected
# ports. See /usr/share/doc/Cygwin/inetutils.README and
# 'man hosts_access' for more information.
#
# These are standard services.
#
#ftp     stream  tcp     nowait  root    /usr/sbin/tcpd ftpd
telnet  stream  tcp     nowait  root    /usr/sbin/telnetd telnetd
#
# Shell, login, exec and talk are BSD protocols.
#
shell   stream  tcp     nowait  root     /sbin/rshd -h
login   stream  tcp     nowait  root     /sbin/rlogind  -h
exec    stream  tcp     nowait  root     /sbin/rexecd -h
#shell   stream  tcp     nowait  root    /usr/sbin/tcpd rshd -L
#login   stream  tcp     nowait  root    /usr/sbin/tcpd rlogind
#exec    stream  tcp     nowait  root    /usr/sbin/tcpd rexecd
#talk    dgram   udp     wait    root    /usr/sbin/tcpd talkd
#ntalk   dgram   udp     wait    root    /usr/sbin/tcpd talkd
#
# The Internet UUCP service.
#
# uucp    stream  tcp     nowait  uucp    /usr/sbin/tcpd uucpd
--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]