EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: reload of acf files
From: Timo Korhonen via Core-talk <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Tue, 24 Mar 2020 08:10:39 +0000
Hi Michael,

Thank you for the quick reply. I see that you have already committed a fix. 
I created a ticket nevertheless, Bug #1868680 on LP.

Timo

On 23/03/20 23:48, "Michael Davidsaver" <mdavidsaver at gmail.com> wrote:

    On 3/23/20 3:18 PM, Timo Korhonen via Core-talk wrote:
    > Hi,
    > 
    >  
    > 
    > Recently we noticed that reloading the Access Security configuration (acf file) in 7.0.3.1 by calling asInit() from the IOC shell (after iocInit) causes the IOC shell to hang.
    > 
    > The reload seems to hang in the asCaStop routine, at epicsThreadMustJoin.
    > 
    >  
    > 
    > I remembered vaguely this discussion https://code.launchpad.net/~epics-core/epics-base/+git/Com/+merge/361379 which seems to be related but I cannot recall the reasons for this change.
    > 
    >  
    > 
    > My amnesia aside, can somebody either verify if  this is an issue/regression, is there some configuration to do, or if this is intentional? This is not hugely urgent, the security implementation works nicely, just that the reload does not work as it used to and as the documentation still claims.
    
    It's a bug.  It looks like I completely mis-read this code in asCa.c
    and thought that asCaStop() was actually causing the worker to break.
    It isn't.
    
    I think the fix is to revert afc31f2f064974e97ef61a9dc6cc58692a1b0a5f
    and then cleanup the indentation...
    
    Would you like to create a ticket for this?
    


References:
reload of acf files Timo Korhonen via Core-talk
Re: reload of acf files Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Jenkins build is still unstable: epics-base-7.0-win64s-test #148 APS Jenkins via Core-talk
Next: Build failed: EPICS Base base-7.0-564 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: reload of acf files Michael Davidsaver via Core-talk
Next: Build failed: EPICS Base base-7.0-564 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024