X-Spam-Check-By: sourceware.org Message-ID: <44BE501D.30209@hotmail.com.INVALID> Date: Thu, 20 Jul 2006 01:30:37 +1000 From: Shaddy Baddah Reply-To: cygwin AT cygwin DOT com User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin services using uid 400, not SYSTEM. Why? References: <4460B3A7 DOT 8020201 AT cygwin DOT com> <447F175B DOT 8020505 AT hotmail DOT com> <44BE35F4 DOT 7080900 AT hotmail DOT com DOT INVALID> <44BE3756 DOT 4060509 AT hotmail DOT com DOT INVALID> In-Reply-To: <44BE3756.4060509@hotmail.com.INVALID> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Hi, AARRGGHH! I have solved the problem... bloody tunnel vision :-( The following will explain it in technocolor: shaddy AT bebop ~ $ ls -l /etc/inetd.conf -rwxr-x--- 1 shaddy None 2434 Jul 10 04:52 /etc/inetd.conf shaddy AT bebop ~ $ chmod a+r /etc/inetd.conf shaddy AT bebop ~ $ ls -l /etc/inetd.conf -rwxr-xr-- 1 shaddy None 2434 Jul 10 04:52 /etc/inetd.conf shaddy AT bebop ~ $ cygrunsrv -S inetd shaddy AT bebop ~ $ telnet localhost Trying 127.0.0.1... Connected to bebop. Escape character is '^]'. CYGWIN_NT-5.1 1.5.20(0.156/4/2) (bebop) (tty1) login: I'm so sorry I didn't pick up on this earlier. Thanks for your attention. If you have any ideas on the UID 400 problem, I'd still be very interested to hear what was happening on that. On 7/19/2006 11:44 PM, Shaddy Baddah wrote: > Hi again, > > On 7/19/2006 11:39 PM, Shaddy Baddah wrote: This has happened to me a few times now :-( I don't know why, but the original email on the line just above, did not make it to the list (or the archive). For completeness, I've in-line included it below. Regards, Shaddy -------- Original Message -------- Subject: Re: Cygwin services using uid 400, not SYSTEM. Why? Date: Wed, 19 Jul 2006 23:39:00 +1000 From: Shaddy Baddah Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com References: <4460B3A7 DOT 8020201 AT cygwin DOT com> <447F175B DOT 8020505 AT hotmail DOT com> Hi, On 6/2/2006 2:35 AM, Shaddy Baddah wrote: > > Here is a break-down of the bizarre behaviour I am experiencing: > 1. After installing the service, and starting it, the inetd (and its' > wrapping cygrunsrv) processes was listed with ps as having UID 400. ... > I'm at my wits end. Any advice would be greatly appreciated. Sorry for the trickle of emails on this subject, but I am still facing problems, and have been a little inundated with work recently. I have an update on this. The problem I described was not only a problem for inetd, but for ssh and exim as well. Well, after running cygserver-config, and before running the cygserver service itself, I was able to run the ssh and exim services (as before), and actually make valid connections to the servers (as was not happening before). I was also able to run the cygserver as well, and it did not interfere negatively with the aforementioned services. However, inetd service remains recalcitrant. I can run the service, but I can make absolutely no connections to any of the served ports. I can see the process in the process list. In a vain attempt to try and diagnose the problem, I tried to attach with strace -p, but that caused a deadlock situation. Running inetd outside of a cygrunsrv service works ok as described in my previous emails. I'm limping along in this way. I'm not complaining, because if I were on the other side of this correspondence, I could see that this might involve me a drawn out email exchange, and be hesitant to reply, as appears to have been the case. However, I am willing to try and work out the problem myself. I just need some guidance please. When it comes to working with service processes, things seem to be quite different. I can try to strace process to some effect (indeed, I wrapped the command-line in an strace... however, I am much better versed in truss under Solaris), but the whole service framework throws my technique. I've contemplated compiling inetd to put loads of logging, so that I can see where it's getting to. But that seems drastic. I'm willing to take the measure, but I hope this email my elicit a helpful preventative response. Thanks in advance, Shaddy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/