OK, Craig, try again.

It should work: I fixed it two different ways.  First, it was
inadvertently not using your credentials consistently, so the svn
update which fetched iclas.txt was done using the whimsysvn id.
Second, using the whimsysvn id wasn't working as the HOME environment
variable wasn't set correctly.  I fixed the HOME environment variable
(in wunderbar, so the next time he does a bundle update he shouldn't
need to have to set the HOME environment variable either in his apache
configuration).  And then I changed the script to consistently use the
caller's credentials.

- Sam Ruby

On Wed, Jul 5, 2017 at 11:50 AM, Sam Ruby <[email protected]> wrote:
> Current status: works on whimsy-vm3, fails on whimsy-vm4.
>
> Or rather: the commands as issued fail on whimsy-vm4 when run under
> Apache/CGI, but work when running on the command line (su - www-data
> -s /bin/bash).  Still investigating...
>
> - Sam Ruby
>
> On Wed, Jul 5, 2017 at 12:03 AM, Sam Ruby <[email protected]> wrote:
>> On Tue, Jul 4, 2017 at 11:53 PM, Craig Russell <[email protected]> wrote:
>>> Hi Sam,
>>>
>>> It failed very consistently for days. I'm afraid that I still can't change 
>>> things and you can.
>>>
>>> I'm trying an experiment now.
>>>
>>> The experiment shows that I cannot drag/drop LDAP cn to icla.txt public 
>>> name and commit.
>>>
>>> Internal Server Error
>>>
>>> #<Errno::ENOENT: No such file or directory @ rb_sysopen - 
>>> /tmp/d20170705-2382-brpw3t/iclas.txt>
>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `read'
>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `block in <main>'
>>
>> I'm now seeing it too.  Will investigate further in the morning.  I
>> suggest leaving your entry as it is.
>>
>>> Craig
>>
>> - Sam Ruby
>>
>>>> On Jul 4, 2017, at 10:43 AM, Sam Ruby <[email protected]> wrote:
>>>>
>>>> On Mon, Jul 3, 2017 at 4:04 PM, Craig Russell <[email protected]> wrote:
>>>>> Hi Sam,
>>>>>
>>>>> I know I can fix this myself by changing iclas.txt but this has worked 
>>>>> before and should work now.
>>>>>
>>>>> more below...
>>>>>
>>>>>> On Jul 2, 2017, at 12:41 PM, Sam Ruby <[email protected]> wrote:
>>>>>>
>>>>>> On Sun, Jul 2, 2017 at 3:34 PM, Craig Russell <[email protected]> 
>>>>>> wrote:
>>>>>>> It would be nice to see how the name arrived in LDAP.
>>>>>>
>>>>>> https://lists.apache.org/thread.html/fa1b624e3166c1366fa615e795289d078ee3dbd906a27504b663f485@%3Ccommits.infra.apache.org%3E
>>>>>>
>>>>>>> see below for bad news...
>>>>>>>
>>>>>>>> On Jul 2, 2017, at 12:27 PM, Sam Ruby <[email protected]> wrote:
>>>>>>>>
>>>>>>>> [dropping davor]
>>>>>>>>
>>>>>>>> On Sat, Jul 1, 2017 at 11:05 PM, Craig Russell <[email protected]> 
>>>>>>>> wrote:
>>>>>>>>> Hi Sebb,
>>>>>>>>>
>>>>>>>>> The name on the ICLA is Jingsong Li. The "from" name on the email is 
>>>>>>>>> JingsongLee. The JIRA account is Jingsong Lee.
>>>>>>>>>
>>>>>>>>> I filed the ICLA with the public name the same as the name on the 
>>>>>>>>> email. This is my way of handling public names that differ from 
>>>>>>>>> "official" names.
>>>>>>>>>
>>>>>>>>> The request looks fine. If need be we can later change the public 
>>>>>>>>> name to suit the committer.
>>>>>>>>
>>>>>>>> I'lll note that the public name in iclas.txt is "JingsongLee" (no
>>>>>>>> space), and the public name in LDAP is "Jingsong Lee" (with a space).
>>>>>>>> Shouldn't these two match?
>>>>>>>>
>>>>>>>> https://whimsy.apache.org/secretary/public-names
>>>>>>>
>>>>>>> Internal Server Error
>>>>>>>
>>>>>>> #<Errno::ENOENT: No such file or directory @ rb_sysopen - 
>>>>>>> /tmp/d20170702-32189-1wtyvgg/iclas.txt>
>>>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `read'
>>>>>>> /x1/srv/whimsy/www/secretary/public-names.cgi:63:in `block in <main>'
>>>>>>
>>>>>> Can you try again?  It might be a temporary svn hiccup.  If not, let
>>>>>> me know what steps I need to do to reproduce the problem.
>>>>>
>>>>> Go to public-names.
>>>>>
>>>>> drag/drop LDAP cn to icla.txt public name.
>>>>> Commit changes.
>>>>> boom
>>>>
>>>> I'm guessing it was a temporary SVN hickup as I just tried this and it 
>>>> worked.
>>>>
>>>>> Craig
>>>>
>>>> - Sam Ruby
>>>>
>>>>>>>>> Craig
>>>>>>
>>>>>> - Sam Ruby
>>>>>>
>>>>>>>> - Sam Ruby
>>>>>>>>
>>>>>>>>>> On Jul 1, 2017, at 6:45 PM, sebb <[email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> ---------- Forwarded message ----------
>>>>>>>>>> From:  <[email protected]>
>>>>>>>>>> Date: 22 June 2017 at 19:45
>>>>>>>>>> Subject: svn commit: r1014375 - 
>>>>>>>>>> /infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>> To: [email protected]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Author: acrequser
>>>>>>>>>> Date: Thu Jun 22 18:45:51 2017
>>>>>>>>>> New Revision: 1014375
>>>>>>>>>>
>>>>>>>>>> Log:
>>>>>>>>>> beam account request by davor
>>>>>>>>>>
>>>>>>>>>> Modified:
>>>>>>>>>> infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>>
>>>>>>>>>> Modified: infrastructure/trunk/acreq/new-account-reqs.txt
>>>>>>>>>> ==============================================================================
>>>>>>>>>> --- infrastructure/trunk/acreq/new-account-reqs.txt [utf-8] 
>>>>>>>>>> (original)
>>>>>>>>>> +++ infrastructure/trunk/acreq/new-account-reqs.txt [utf-8] Thu Jun 
>>>>>>>>>> 22
>>>>>>>>>> 18:45:51 2017
>>>>>>>>>> @@ -24,3 +24,4 @@
>>>>>>>>>> jfeng;Jeff 
>>>>>>>>>> Feng;[email protected];incubator;incubator;06-22-2017;yes;yes;no;
>>>>>>>>>> ptnapoleon;Philip
>>>>>>>>>> Thompson;[email protected];cassandra;cassandra;06-22-2017;yes;yes;no
>>>>>>>>>> fanningpj;PJ 
>>>>>>>>>> Fanning;[email protected];poi;poi;06-22-2017;yes;yes;no
>>>>>>>>>> +lzljs3620320;JingsongLee;[email protected];beam;beam;06-22-2017;yes;yes;no;
>>>>>>>>>>
>>>>>>>>>> According to the ICLA that was sent in, his name is Jingsong Li
>>>>>>>>>> Also the private mailing list includes several mails that use Li 
>>>>>>>>>> rather than Lee
>>>>>>>>>>
>>>>>>>>>> Did he ask to change name, or was the above account request a typo?
>>>>>>>>>
>>>>>>>>> Craig L Russell
>>>>>>>>> Secretary, Apache Software Foundation
>>>>>>>>> [email protected] http://db.apache.org/jdo
>>>>>>>>>
>>>>>>>
>>>>>>> Craig L Russell
>>>>>>> Secretary, Apache Software Foundation
>>>>>>> [email protected] http://db.apache.org/jdo
>>>>>
>>>>> Craig L Russell
>>>>> Secretary, Apache Software Foundation
>>>>> [email protected] http://db.apache.org/jdo
>>>
>>> Craig L Russell
>>> Architect
>>> [email protected]
>>> P.S. A good JDO? O, Gasp!
>>>
>>>
>>>
>>>

Reply via email to