Bug 62394
Summary: | uucico occassionally fails to call out | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | greg hosler <greg> | ||||
Component: | uucp | Assignee: | Jens Petersen <petersen> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-08-05 04:40:21 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
greg hosler
2002-03-31 02:56:00 UTC
Additional information. The ttylock() call to lockdev definately DOES happen. I put some syslogs into lockdev, to print out the call parameters, and the return value. At the times of failure, lockdev definately gets forked, definately runs successfully, and definately returns a success return (i.e. a zero). correction: error # -10 is not be ELOOP (I got confused by the list in baudboy.h), error #-10 is ECHILD (No child processes) - not sure if the ECHILD return value is from the forced return, or from errno. Will investigate this week. The waitpid occassionally returns -1, with errno set to 10 - checking the waitpid man page, I note language about threads (which I do not think applies in this case), but it also occured to me to mention that my systel is dual cpu (which also should not matter, but possibly does). This bug appears not to b euucp/uucico related, but instead appears to be lockdev/glibc/kernel related. attached is a simple c program which loops and does ttylock() / ttyunlock() will occassionally fail. to compile: cc -o foo foo.c then, as root: chown uucp.uucp foo; chmod 6555 foo then as normal user: ./foo Created attachment 51644 [details]
sample program to demonstrate problem
Problem still exists in Skipjack-2 (aka Hampton beta 4) The problem (after investigation) was due to an error in the signal handling within lockdev. The lockdev bug was reported as #63468, and I believe has been fixed (though I have not verified the fix yet). This bug is a dup of 63468. *** This bug has been marked as a duplicate of 63468 *** |