EPICS Controls Argonne National Laboratory

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: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: Timo Korhonen <Timo.Korhonen at ess.eu>
Cc: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Mon, 23 Mar 2020 15:48:32 -0700
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?

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

Navigate by Date:
Prev: reload of acf files Timo Korhonen via Core-talk
Next: Jenkins build is back to stable : epics-7.0 » linux64 #212 APS Jenkins 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: reload of acf files Timo Korhonen via Core-talk
Next: Re: reload of acf files Timo Korhonen 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 
ANJ, 24 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·