Hi, Am Montag, den 09.07.2007, 21:20 +0200 schrieb Peter Colberg: > Package: osdsh > Version: 0.7.0-9 > Severity: normal > Tags: patch > > While upgrading osdsh from a local version to 0.7.0-9, I noticed > that osdctl started to hang again when executed directly after > osdsh. Even with patch 09-process-running-checks.dpatch applied, > there remains a race condition. > > With the current design, the osdsh parent process forks a child > process, writes the child's pid to a file and exits. If osdctl is > started directly in succession, the fifo might not exist, as the > child process might not have created it yet. > > With my local version, I had tested a real fix for this problem > (and subsequently forgotten about the patch). The only way to know > for sure that the fifo exists after osdsh has exited is to simply > create the fifo *before* forking the child process.
Thanks for the patch. Does this make the patch 09-process-running-checks.dpatch obsolete? Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]