SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
|Anonymous | Login||2020-03-31 00:57 UTC|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000528||Endian Firewall||Network related (VPN, uplinks)||public||2008-01-28 19:16||2008-02-02 07:28|
|Priority||normal||Severity||block||Reproducibility||have not tried|
|Target Version||2.2-beta3||Fixed in Version||2.2-beta3|
|Summary||0000528: pppcall fifo syncorinsation blocking issue|
|Description||assume pppcall has been started by the uplinks script and pppcall started pppd.|
another process calls uplinks stop, which tears down the same uplink. The stop script kills the pppd process (TERM) and sends notifications to uplinksdaemon and pppcall (process A).
Since pppd has been terminated and should exit, it calls ip-down, which also sends notifications and writes to the fifo (process B).
In that moment it is not synchronized which process writes first to the pppcall fifo, therefore it happens that both processes (A and B) write to the fifo at the same time.
One process, let's say process A will successfully write to the fifo, which causes pppcall to exit.
after pppcall successfully get a notification message from the fifo it tries to destroy the fifo before exiting.
This will not work, because the fifo is open by process B, which tries to write to it.
Since pppcall exits there is no fifo reader and process B will wait infinitely during write.
Possible (?) solution: send the pppcall notification only if the PPID is that one of the pppd process.
|Tags||No tags attached.|
|2008-01-28 19:16||peter-endian||New Issue|
|2008-01-28 19:16||peter-endian||Status||new => assigned|
|2008-01-28 19:16||peter-endian||Assigned To||=> peter-endian|
|2008-01-28 19:17||peter-endian||Severity||minor => block|
|2008-01-28 19:17||peter-endian||Target Version||=> 2.2-beta3|
|2008-01-30 15:17||peter-endian||Status||assigned => resolved|
|2008-01-30 15:17||peter-endian||Fixed in Version||=> 2.2-beta3|
|2008-01-30 15:17||peter-endian||Resolution||open => fixed|
|2008-02-02 07:28||raphael-endian||Status||resolved => closed|
|Copyright © 2000 - 2012 MantisBT Group|