Bug 662
Summary: | passwd will run while vipw is running | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | fairlite |
Component: | passwd | Assignee: | Cristian Gafton <gafton> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 5.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-04-01 06:07:38 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: |
Description
fairlite
1998-12-31 21:55:37 UTC
Michael: Do you think we should add a quick check to passwd to look for the lockfile, and exit if it exists? glibc vs. vipw locking difference passed on to Cristian to resolve vipw can not lock the passwd file for an extended period of time. The locking mechanism has an algorithm that will make it avoid deadlocks from runaway processes (basically wait at most 10 sec before ignoring the lock and acquiring it for yourself) vipw will lock the database when it is updating it, checking that the timestamp was not modified in the meantime. |