<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:24:05 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-349] Unify LDAP and local UIDs and GIDs</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-349</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Local (&lt;tt&gt;/etc/{passwd,group&lt;/tt&gt;}) and LDAP UIDs and GIDs are different, which makes shared work difficult! Specifically, in a context where we care about the &lt;tt&gt;pfs&lt;/tt&gt; GID:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sh&quot;&gt;
cloomis@db-ics:~$ id -a
uid=10929(cloomis) gid=2046(coll) groups=2046(coll),992(vpnusers),2044(hsc),2085(pfs)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt; vs.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sh&quot;&gt;
pfs@db-ics:~$ id -a
uid=1000(pfs) gid=1000(pfs) groups=1000(pfs),20(dialout),27(sudo)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Not sure how this should be fixed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12321">INSTRM-349</key>
            <summary>Unify LDAP and local UIDs and GIDs</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>MCS</label>
                    </labels>
                <created>Tue, 1 May 2018 15:48:40 +0000</created>
                <updated>Fri, 12 Oct 2018 03:46:31 +0000</updated>
                            <resolved>Mon, 1 Oct 2018 18:21:31 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="13343" author="atsushi.shimono" created="Tue, 1 May 2018 16:13:07 +0000"  >&lt;p&gt;need to be checked, but &quot;passwd/user-gid&quot; could work on preseed.&lt;/p&gt;</comment>
                            <comment id="13344" author="cloomis" created="Tue, 1 May 2018 16:15:18 +0000"  >&lt;p&gt;At the very least, the LDAP and local &lt;tt&gt;pfs&lt;/tt&gt; groups should have different names unless they can have the same GID.&lt;/p&gt;

&lt;p&gt;The specific problem is temporary and there is a workaround. Development is done by individual users with pfs gid=2085, writing into &lt;tt&gt;/software&lt;/tt&gt;. The &lt;tt&gt;pfs&lt;/tt&gt; &lt;em&gt;user&lt;/em&gt; (with pfs gid=1000) will then run that software. This confusing, but the real problem comes when the actors write files. As long as those directories have gid=1000 we are ok for now.&lt;/p&gt;

&lt;p&gt;Until INSTRM=322 is done, actor write log files into $ICS_MHS_LOGS_ROOT, which is currently, ugh, &lt;tt&gt;/software/mhs/logs&lt;/tt&gt;. I can change that to &lt;tt&gt;/data/logs&lt;/tt&gt; and make sure that the &lt;tt&gt;/data&lt;/tt&gt; pfs GID is 1000.&lt;/p&gt;</comment>
                            <comment id="13357" author="cloomis" created="Tue, 1 May 2018 20:46:28 +0000"  >&lt;p&gt;OK, I linked &lt;tt&gt;/software/mhs/logs&lt;/tt&gt; to &lt;tt&gt;/data/logs&lt;/tt&gt;, and made all of &lt;tt&gt;/data&lt;/tt&gt; gid=1000. As long as only user &lt;tt&gt;pfs&lt;/tt&gt; runs actors and other MHS programs, this should work. &lt;/p&gt;

&lt;p&gt;We still need to unify the LDAP and local IDs.&lt;/p&gt;</comment>
                            <comment id="13478" author="cloomis" created="Fri, 8 Jun 2018 13:51:23 +0000"  >&lt;p&gt;We are going to go clean out of our minds if this does not get fixed. Ideally, the pfs group in the Subaru LDAP can be given gid=1000 (can &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt; or &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt; check?). But if that is not possible would a PAM solution work? Something like:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;rename the LDAP &lt;tt&gt;pfs&lt;/tt&gt; group to &lt;tt&gt;pfsldap&lt;/tt&gt; or something&lt;/li&gt;
	&lt;li&gt;add a &lt;tt&gt;pam_group&lt;/tt&gt; line which adds the &lt;tt&gt;pfs gid==1000&lt;/tt&gt; group to any member of the &lt;tt&gt;pfsldap&lt;/tt&gt; group?&lt;/li&gt;
&lt;/ul&gt;

</comment>
                            <comment id="13501" author="hiro" created="Fri, 8 Jun 2018 21:19:14 +0000"  >&lt;p&gt;Subaru CDM says 1000-1999 are reserved.&lt;/p&gt;</comment>
                            <comment id="13502" author="atsushi.shimono" created="Sun, 10 Jun 2018 22:18:41 +0000"  >&lt;p&gt;it seems we may be better to configure as:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;on installation, create the first normal account pfs (uid:1000) with its default group pfs (gid:2085) for all instances (incl. VM guest, NFS server)&lt;/li&gt;
	&lt;li&gt;just load ldap, which has pfs (gid:2085), but does not have pfs user&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;but this might need a system restart (or better to reinstall?). for short term operation, it might be easier just to add pfs user into gid:2085 ldap group (display will be confusing, but it could work, i think...)?&lt;/p&gt;</comment>
                            <comment id="13505" author="cloomis" created="Sun, 10 Jun 2018 23:03:46 +0000"  >&lt;p&gt;&lt;br/&gt;
  I agree: just use gid=2085 all over. If we can also get uid=2085 that might be clearer, but not essential. LAM and JHU can adapt.&lt;/p&gt;</comment>
                            <comment id="13508" author="cloomis" created="Mon, 11 Jun 2018 13:09:55 +0000"  >&lt;p&gt;There is a bit of a mess at Subaru right now. The &lt;tt&gt;pfs&lt;/tt&gt; accounts have pfs gid 1000, but the other accounts have gid 2085. Software was installed by users (me, mostly), so &lt;tt&gt;/software&lt;/tt&gt; is almost entirely gid=2085; the exception is &lt;tt&gt;/software/devel/pfs&lt;/tt&gt;, which is where &lt;tt&gt;ics_mcsActor&lt;/tt&gt; is currently running from. But &lt;tt&gt;/data&lt;/tt&gt; (notably &lt;tt&gt;/data/mcs/&lt;/tt&gt; and &lt;tt&gt;/data/logs/&lt;/tt&gt;) is all pfs gid=1000. You can use &lt;tt&gt;ls -ln&lt;/tt&gt; to determine what hides under the lying name.&lt;/p&gt;

&lt;p&gt;I suggest that &lt;b&gt;after&lt;/b&gt; this engineering run we fix up all pfs accounts (notably on &lt;tt&gt;mcs&lt;/tt&gt; and &lt;tt&gt;shell-ics&lt;/tt&gt;) to gid 2085, and &lt;tt&gt;chgrp -R 2085 /data&lt;/tt&gt;, etc. Until then be extra aware of which account you are working as.&lt;/p&gt;</comment>
                            <comment id="13529" author="atsushi.shimono" created="Tue, 12 Jun 2018 02:13:08 +0000"  >&lt;p&gt;it seems there is no option to set different group/gid from user/uid in debian installer for now. so, if we define pfs/uid=1000, default group will be pfs/gid=1000. or if we set pfs/uid=2085, default group will be pfs/gid=2085.&lt;br/&gt;
&lt;a href=&quot;https://salsa.debian.org/installer-team/user-setup/blob/master/user-setup-apply#L123&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://salsa.debian.org/installer-team/user-setup/blob/master/user-setup-apply#L123&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so, it seems we need to:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;change &apos;name&apos; between default local account and ldap group. (if so, uid/gid mismatch will not be an issue)&lt;/li&gt;
	&lt;li&gt;use the same &apos;name&apos; and &apos;id&apos; among default local account, default local group, and ldap group.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;so, this cannot be done at installation (even if we reinstall things), we may run groupmod carefully (like, with checking &apos;find / -nogroup&apos; or something).&lt;/p&gt;</comment>
                            <comment id="14015" author="cloomis" created="Tue, 4 Sep 2018 20:18:29 +0000"  >&lt;p&gt;Note also that since there is not LDAP &lt;tt&gt;pfs&lt;/tt&gt;&#160;&lt;em&gt;user&lt;/em&gt; (since there cannot be a uid=1000 LDAP user),&#160;there is no shared &lt;tt&gt;/home/pfs&lt;/tt&gt;: those are different on all the machines. This makes life more difficult.&lt;/p&gt;

&lt;p&gt;I am inclined to ask for pfs uid=2085 on the Subaru LDAP (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt;), then change all instances of pfs:pfs to 2085:2085 on all machines. Now: before the 2018-09 engineering run. As &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt; points out we still have to deal with ansible, either nicely or by force. &lt;/p&gt;</comment>
                            <comment id="14024" author="kyono" created="Thu, 6 Sep 2018 20:02:08 +0000"  >&lt;p&gt;For pfs user home, as we chatted on slack, we will keep how it works now.&lt;br/&gt;
(pfs user is meant for admin and needs to be available anytime.)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;For uid:gid issue, CDM will create pfs user with uid 2085 on our LDAP.&#160;We can modify pfs user&apos;s id on pfs ics. Could you(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;) confirm that it meets your requirements and fix issues we have now?&lt;/p&gt;



&lt;p&gt;(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiaina&quot; class=&quot;user-hover&quot; rel=&quot;kiaina&quot;&gt;Kiaina Schubert&lt;/a&gt;) (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt;) (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt;)&lt;/p&gt;</comment>
                            <comment id="14025" author="cloomis" created="Thu, 6 Sep 2018 20:20:37 +0000"  >&lt;p&gt;The important point is that all accounts on all machines look the same all the time. That was a problem because there were two definitions of the &lt;tt&gt;pfs&lt;/tt&gt; group: one with gid=1000 from the ansible builds, and one with gid=2085 from the Subaru LDAP. We decided to get rid of all traces of the gid=1000 version. And to keep the uid==gid convention, we decided to get rid of the uid=1000 &lt;tt&gt;pfs&lt;/tt&gt; user as well.&lt;/p&gt;

&lt;p&gt;To get rid of all traces of the 1000s, besides adding pads uid=2085 in the LDAP,  all the &lt;tt&gt;/etc/passwd&lt;/tt&gt; and &lt;tt&gt;/etc/group&lt;/tt&gt; files need to be edited (removing 1000s, adding 2085 &lt;em&gt;only&lt;/em&gt; if you do not trust your LDAP). Then &lt;tt&gt;find $everywhere -user 1000 -o -group 1000&lt;/tt&gt; and decide what to do &amp;#8211; being careful because chown/chgrp can clear g+s, I believe.&lt;/p&gt;

&lt;p&gt;And the ansible/pre-ansible Linux provisioning scripts need to be changed.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="14026" author="kyono" created="Thu, 6 Sep 2018 20:56:19 +0000"  >&lt;p&gt;Task-wise, for the most of part, I believe we are on the same page.&lt;/p&gt;



&lt;p&gt;&amp;gt;Then &lt;tt&gt;find $everywhere -user 1000 -o -group 1000&lt;/tt&gt; and decide what to do &#8211; being careful because chown/chgrp can clear g+s, I believe.&lt;/p&gt;

&lt;p&gt;&amp;gt;&lt;br/&gt;
Only this part, I may not have the same image to proceed this task. I can be wrong, but I believe Subaru/cdm can work on whatever VM guests/hosts we manage for PFS IT infra services.&lt;br/&gt;
However, for VM guests meant for application development, I prefer not to touch it because there is no way to confirm if we did ok...&#160;&lt;br/&gt;
Can you(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;) let us(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiaina&quot; class=&quot;user-hover&quot; rel=&quot;kiaina&quot;&gt;Kiaina Schubert&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt;) know how you think?&lt;/p&gt;

&lt;p&gt;&amp;gt;And the ansible/pre-ansible Linux provisioning scripts need to be changed.&lt;/p&gt;

&lt;p&gt;&amp;gt;&lt;br/&gt;
Yes, but not expecting this before Sep run, right?&#160;&lt;/p&gt;</comment>
                            <comment id="14027" author="cloomis" created="Fri, 7 Sep 2018 02:13:53 +0000"  >&lt;p&gt;I&#8217;ll deal with the VMs. Can you deal with ansible, etc after the Sept run? I&#8217;d start by looking at &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt;&#8217;s comments.&lt;/p&gt;</comment>
                            <comment id="14028" author="kyono" created="Fri, 7 Sep 2018 03:09:07 +0000"  >&lt;p&gt;Thank you. If you do not mind, can we confirm the VMs you are going to deal with?&lt;/p&gt;

&lt;p&gt;Not doubt that we are on the same page, but I believe this change should be consistent on all PFS servers, at least, where Subaru is involved in management for now.&lt;/p&gt;

&lt;p&gt;So, I am assuming,&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;gw-ics&lt;/li&gt;
	&lt;li&gt;dnsmasq-ics&lt;/li&gt;
	&lt;li&gt;logger-ics&lt;/li&gt;
	&lt;li&gt;Three vm hosts&lt;/li&gt;
	&lt;li&gt;Four vm guests for monitoring&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;will be handled by Subaru, and&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;shell-ics&lt;/li&gt;
	&lt;li&gt;db-ics&lt;/li&gt;
	&lt;li&gt;gen2-ics&lt;/li&gt;
	&lt;li&gt;mhs-ics&lt;/li&gt;
	&lt;li&gt;alert-ics&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;will be handled by you(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;). Does this sound right?&lt;/p&gt;</comment>
                            <comment id="14034" author="cloomis" created="Tue, 11 Sep 2018 15:09:30 +0000"  >&lt;p&gt;Yes, finally started working on this. A couple of points. &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;In ldap, gid 1000 is &quot;gurus&quot;, so I imagine you are eager for me to change everything.&lt;/li&gt;
	&lt;li&gt;can you change the login shell for pfs to bash?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="14035" author="kyono" created="Tue, 11 Sep 2018 18:00:35 +0000"  >&lt;p&gt;&amp;gt;In ldap, gid 1000 is &quot;gurus&quot;, so I imagine you are eager for me to change everything.&lt;br/&gt;
&amp;gt;&lt;br/&gt;
Yes, on these VMs.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;shell-ics&lt;/li&gt;
	&lt;li&gt;db-ics&lt;/li&gt;
	&lt;li&gt;gen2-ics&lt;/li&gt;
	&lt;li&gt;mhs-ics&lt;/li&gt;
	&lt;li&gt;alert-ics&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I thought what we agreed was&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;CDM make pfs user id 2085 on our LDAP&lt;/li&gt;
	&lt;li&gt;update pfs user on PFS ICS VMs.&lt;/li&gt;
	&lt;li&gt;We do not touch gid/uid 1000 on LDAP. &#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Could you reconfirm what we agreed?&lt;/p&gt;

&lt;p&gt;&amp;gt;can you change the login shell for pfs to bash?&lt;br/&gt;
&amp;gt;&lt;br/&gt;
Yes, will do it. This requires interaction with Fujitsu. As soon as this gets done, i will let you know.&lt;/p&gt;</comment>
                            <comment id="14036" author="cloomis" created="Tue, 11 Sep 2018 20:30:03 +0000"  >&lt;p&gt;I confirm that we agreed on all those.&lt;/p&gt;

&lt;p&gt;And that I am responsible for fixing the system (/etc/&lt;/p&gt;
{group,password,shadow,gshadow}
&lt;p&gt; and user files on the shell/db/gen2/mhs/alert VMs. There will be no files owned by uid 1000 or gid 1000.&lt;/p&gt;</comment>
                            <comment id="14037" author="kyono" created="Tue, 11 Sep 2018 20:46:53 +0000"  >&lt;p&gt;pfs user&apos;s shell is changed to /bin/bash.&lt;/p&gt;</comment>
                            <comment id="14056" author="kyono" created="Wed, 19 Sep 2018 22:15:11 +0000"  >&lt;p&gt;I see db-ics and shell-ics do not have local pfs user on the VM guests. Since it is not what we agreed, can you (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;) put it back?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Ref&amp;#93;&lt;/span&gt;&lt;br/&gt;
pfs@db-ics:~$ grep pfs /etc/passwd&lt;br/&gt;
pfs@db-ics:~$ grep sudo /etc/group&lt;br/&gt;
sudo:x:27:cloomis&lt;br/&gt;
pfs@shell-ics:~$ grep pfs /etc/passwd&lt;br/&gt;
pfs@shell-ics:~$ grep sudo /etc/group&lt;br/&gt;
sudo:x:27:pfs,cloomis,rhl,hassans&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I appreciate and respect your work, but these changes are not what we expected.&#160;As we chatted on slack, we can consider how pfs/admin account should be. It requires farther consideration and agreement among us, i think.&#160;&lt;/p&gt;


&lt;p&gt;From admin perspective, it may cause big mess though..&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;i.e&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;LDAP client config messed up. Then, no login until we use run level 1 and fix it...&lt;/li&gt;
	&lt;li&gt;Network interface config messed up. Then, no login until we use run level 1 and fix issue...&lt;/li&gt;
	&lt;li&gt;etc...&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Let us know if you have any comments and questions.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiaina&quot; class=&quot;user-hover&quot; rel=&quot;kiaina&quot;&gt;Kiaina Schubert&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naoyuki.tamura&quot; class=&quot;user-hover&quot; rel=&quot;naoyuki.tamura&quot;&gt;naoyuki.tamura&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=atsushi.shimono&quot; class=&quot;user-hover&quot; rel=&quot;atsushi.shimono&quot;&gt;shimono&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="14057" author="cloomis" created="Wed, 19 Sep 2018 22:25:41 +0000"  >&lt;p&gt;I will put those back in. I had misunderstood what you wanted for the `pfs` user, sorry.&lt;/p&gt;

&lt;p&gt;I personally believe that you should allow (key-only) root ssh logins. That is the account you really want when things like LDAP or NFS go wrong. And I think it is less of a security risk than requiring password sudo.&lt;/p&gt;</comment>
                            <comment id="14101" author="cloomis" created="Mon, 1 Oct 2018 18:21:32 +0000"  >&lt;p&gt;I think this is done, except for extensions in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-501&quot; title=&quot;mcs host needs modified pfs user and group IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-501&quot;&gt;&lt;del&gt;INSTRM-501&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-502&quot; title=&quot;Settle on emergency and root access to pfs hosts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-502&quot;&gt;INSTRM-502&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="14106" author="kyono" created="Mon, 1 Oct 2018 19:25:02 +0000"  >&lt;p&gt;Craig (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;),&lt;/p&gt;

&lt;p&gt;Sorry to mention it now. Our part regarding this ticket is not done yet, and planning to do it after MCS run in this month.&lt;/p&gt;

&lt;p&gt;It is because to fully change UID:GID, we need to touch files stored on shared directory. At least, for MCS run, I believe this should not have negative impact on it.&lt;/p&gt;

&lt;p&gt;I would prefer to do it after MCS run and with all VMs shutdown to avoid unexpected negative impact on production environment.&#160;&lt;/p&gt;</comment>
                            <comment id="14111" author="cloomis" created="Mon, 1 Oct 2018 20:56:23 +0000"  >&lt;p&gt;For PFS operations, I felt it was important to make all instrument files correct, so fixed all the files in /software/ and /data/:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; 
root@shell-ics:/home/pfs# find /data \( -uid 1000 -o -gid 1000 \) -ls
root@shell-ics:/home/pfs# find /software \( -uid 1000 -o -gid 1000 \) -ls
root@shell-ics:/home/pfs# find /home/pfs \( -uid 1000 -o -gid 1000 \) -ls
root@shell-ics:/home/pfs# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And all the software was restarted after the changes.&lt;/p&gt;

&lt;p&gt;What other files are you worried about?&lt;/p&gt;</comment>
                            <comment id="14119" author="kyono" created="Wed, 3 Oct 2018 06:04:32 +0000"  >&lt;p&gt;Sorry for delay. I agree that it is important to have consistent owner:group on files.&lt;/p&gt;

&lt;p&gt;Not major, but /virt/pki for example. Also, I would prefer to have guest VMs shutdown before we touch UID:GID on VM hosts...&lt;/p&gt;

&lt;p&gt;Would you mind if we have 1 day downtime on 10/5, 10/9 or later?&lt;/p&gt;</comment>
                            <comment id="14139" author="chyan" created="Fri, 5 Oct 2018 03:36:07 +0000"  >&lt;p&gt;Hi&#160;&lt;/p&gt;

&lt;p&gt;I have changed the UID and GID of &quot;pfs&quot; account on mcs machine. &#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;pfs@mcs:~$ id&lt;br/&gt;
uid=2085(pfs) gid=2085(pfs) groups=2085(pfs),0(root),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),30(dip),46(plugdev),113(lpadmin),128(sambashare)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="14140" author="cloomis" created="Fri, 5 Oct 2018 10:05:38 +0000"  >&lt;p&gt;Sorry &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kyono&quot; class=&quot;user-hover&quot; rel=&quot;kyono&quot;&gt;kyono&lt;/a&gt;, I somehow missed your question. Since we have the MCS testing to do, can I ask that you wait until the 10th? If that is making you nervous, the 9th?&lt;/p&gt;</comment>
                            <comment id="14150" author="kyono" created="Mon, 8 Oct 2018 18:38:18 +0000"  >&lt;p&gt;Hi Craig(&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;)&lt;br/&gt;
No rush from our perspective. I even think, for next run, we should be ok with current configuration.&lt;br/&gt;
Sorry, but I plan to join PFS meeting on 10th but will be off on that day. How about 11th?&lt;/p&gt;</comment>
                            <comment id="14154" author="cloomis" created="Mon, 8 Oct 2018 19:18:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kyono&quot; class=&quot;user-hover&quot; rel=&quot;kyono&quot;&gt;kyono&lt;/a&gt; The situation is currently a bit confusing: the file and user ids are correct on the vm clients, but the group ids are not respected for NFS writes:&lt;/p&gt;

&lt;p&gt;Good for user pfs, in pfs group:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;pfs@shell-ics:/software$ id -a
uid=2085(pfs) gid=2085(pfs) groups=2085(pfs),20(dialout),27(sudo)
pfs@shell-ics:/software$ ls -ldn /software
drwxrwsr-x 6 2085 2085 89 Oct  8 09:09 /software
pfs@shell-ics:/software$ touch x
pfs@shell-ics:/software$ rm x
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Not good for user cloomis, in pfs group:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;cloomis@shell-ics:/software$ id -a
uid=10929(cloomis) gid=2046(coll) groups=2046(coll),27(sudo),992(vpnusers),2044(hsc),2085(pfs)
cloomis@shell-ics:/software$ ls -ldn /software
drwxrwsr-x 6 2085 2085 89 Oct  8 09:09 /software
cloomis@shell-ics:/software$ touch x
touch: cannot touch &apos;x&apos;: Permission denied
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I added cloomis to the local (non-LDAP) /etc/group pfs, but that did not help. &lt;/p&gt;</comment>
                            <comment id="14156" author="kyono" created="Mon, 8 Oct 2018 19:21:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;&lt;br/&gt;
Does 11th work?&lt;/p&gt;</comment>
                            <comment id="14157" author="cloomis" created="Mon, 8 Oct 2018 19:22:08 +0000"  >&lt;p&gt;Sure.&lt;/p&gt;</comment>
                            <comment id="14158" author="kyono" created="Mon, 8 Oct 2018 19:23:28 +0000"  >&lt;p&gt;OK. We will work on this 11th. As I mentioned before in this thread, PFS ISC@subaru summit will be down on 11th. Hope we are on the same page. If there is any miscommunication, let us know.&lt;/p&gt;</comment>
                            <comment id="14175" author="cloomis" created="Wed, 10 Oct 2018 18:28:37 +0000"  >&lt;p&gt;FWIW, the problem I reported about the pfs group not being respected for non-pfs accounts has been fixed by the reboot.&lt;/p&gt;</comment>
                            <comment id="14188" author="cloomis" created="Fri, 12 Oct 2018 03:46:31 +0000"  >&lt;p&gt;With today&apos;s work on the servers, we can now declare this zombie ticket properly and peacefully closed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12900">INSTRM-501</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11339">INSTRM-22</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|ii04fz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>