This is the mail archive of the cygwin-apps@cygwin.com 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: initscripts package available for review/upload


I borrowed a Win98 laptop for the night and am pleased
to say that initscripts and sysvinit worked (at least with
the /etc/rc.d/init.d/sshd script provided) with no configuration
necessary. This is very nice, thanks very much Sergey!
I was unable to track down a workable console cable so unfortunately
I still do not know if agetty works.

My only suggestion is that init-config might do a simple check
for Win9x/ME systems and bail out without doing anything (maybe
a message about getting a "real computer") since running init-config 
gives some ugly errors. Of course this is a stupid thing to do on Win98 
sincethere is no NT service, but the ssh-host-config script at least
just bails out:

$ ssh-host-config
Generating /etc/ssh_host_key
Generating /etc/ssh_host_rsa_key
Generating /etc/ssh_host_dsa_key
Generating /etc/ssh_config file
Generating /etc/sshd_config file
Added ssh to /c/WINDOWS/SERVICES

Host configuration finished. Have fun!

$
With init-config, this happens:

Do you want to set up init to run as NT service? (yes/no) yes
chown: `system.system': invalid user
chown: `system.system': invalid user
/bin/cygrunsrv: Error installing a service: OpenSCManager:  Win32 error 120:
This function is only valid in Win32 mode.

Error 2185: The service name is invalid. Make sure you are specifying a valid
service name, and then try again.

[and then there is a nice popup with this:]
SH caused an invalid page fault in
module KERNEL32.DLL at 0167:bff7d762.
Registers:
EAX=c1556f30 CS=0167 EIP=bff7d762 EFLGS=00010202
EBX=818fa320 SS=016f ESP=0074e600 EBP=0074e648
ECX=bff7d75b DS=016f ESI=00000001 FS=0daf
EDX=bffc9490 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 0f 3b ce 76 10 8d 47 10 83 38 00 74 28 83 c0 
Stack dump:
0074e648 818ff620 00000001 00000000 bff8dd46 818fa320 00000000 0074f320
00000000 c14fea20 818ff660 bff7ffff bff7dcc4 00000000 000000b8 00000000 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


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