1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Connection to PVA server fails despite server |
From: | "Wlodek, Jakub via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Michael Davidsaver <mdavidsaver at gmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 10 Nov 2020 19:29:38 +0000 |
Hi Michael,
Thanks for the quick response - I was able to figure out what the problem was based on a hint in your
message:
You mentioned that my user account name would be transmitted during the connection validation stage.
Since I am running the IOC inside of a docker container, the default account it runs under is root, however,
I wanted data saved by the container to be owned by the softioc user we use across all our IOC servers
at NSLS2. As a result I configured the container to run the IOC as the softioc user imported from
the host server. When I disabled this, and ran the IOC process as root, everything seemed to work.
When I connected to the container from the outside, it appeared that the `softioc` name was not retained, only the uid and gid,
and I got a prompt like this:
I have no name!@xf17bm-ioc2:/$
Ultimately, I added a command in the Dockerfile to add the softioc user and just manually matched the uid and gid with the
external user - and now everything seems to work, as the proper user. If you don't mind me asking, why is seemingly only
PVA affected by the no-name user issue, but not CA?
Thanks again,
Jakub
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Tuesday, November 10, 2020 1:44 PM To: Wlodek, Jakub <jwlodek at bnl.gov> Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: Connection to PVA server fails despite server On 11/10/20 9:28 AM, Wlodek, Jakub via Tech-talk wrote:
> Hi all, > > I am currently working with an areaDetector IOC I am running in a container, I should also ask for the usual information about software versions. Which version(s) of EPICS Base and other modules are involved? |