OpenSolaris

Printable Version Enter a New Search
Bug ID 6765259
Synopsis multiple refreshes may not pick up most recent configuration
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:cifs
Keywords
Responsible Engineer Alan M Wright
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_106
Fixed In snv_106
Release Fixed solaris_nevada(snv_106)
Related Bugs 6617183 , 6673517 , 6736548 , 6762558 , 6764225 , 6764343 , 6793443
Submit Date 29-October-2008
Last Update Date 16-January-2009
Description
[wdp, 10/29/08]

The refresh method of the smb/server service waits for SIGHUP, then signals a condition variable to wake up the refresh thread.  The refresh thread then reloads the configuration and applies any changes.  However, when thread in main() is not blocking in sigsuspend(), any additional SIGHUPs will be missed, as the signal handler does not track how many SIGHUPs the process has seen.  If the process received SIGHUP while it is
refreshing (but before it has reentered sigsuspend()), it may miss that signal and not reload the most recent configuration data.
Sun Microsystems Inc.   SunOS 5.11      cifs-nightly-build-11-17-2008   Nov. 18, 2008
SunOS Internal Development:  jb150015 2008-11-18 [nightly-cifs-x86]
bfu'ed from /net/cifsgate.central/export/cifsnv/gate/archives/i386/nightly/ on 2008-11-18

See CR6762558
Work Around
N/A
Comments
N/A