[INSTRM-592] Pin down pfs and pfs-data uid/gids before shipping to Subaru. Created: 11/Jan/19 Updated: 15/Jan/19 |
|
| Status: | Open |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I can think of four solutions:
I think that re-imaging is the right choice. If not that, renumbering. We still need to build a decent way to re-image the BEEs in any case, and being able to set the user ids dynamically would be a modest requirement. |
| Comments |
| Comment by fmadec [ 15/Jan/19 ] |
|
I do not have strong opinion. renumbering is bit painful but acceptable. As you said, only bee is concerned because we do not deliver computer to SUBARU (of course ids have to match on each site). why do you need to re-image the bees in any case? |
| Comment by cloomis [ 15/Jan/19 ] |
|
We do not need to re-image before delivery, but we do need to have/provide a good scheme to create/install an image in the first place. Currently we PXE boot to a rescue disk and tftp/dd a premade image right onto the disk device. Crude, and if I were at Subaru barely or not acceptable. If that were to be redone properly, allowing for specifying uid/gids would not be much extra work. If LAM and JHU were to renumber, we might have to renumber more than just the BEE ids, unless we used NFSv4 id mapping. Stuff in /software and /data, programs which are reading from /data, etc. Yes, we probably only need to renumber pfs-data everywhere, and to be careful on other machines, but it might leak: we would be writing into /data with pfs gid=2085. |