Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-833

Incubation: Proper file folder paths for system service

    Details

    • Type: Story
    • Status: Complete
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      13, 14, INDY 17.21, INDY 17.22, INDY 17.23

      Description

      We need to use proper file folder paths for system service: usr, var, etc, user-configuration vs system configuration, folders for network configuration so multiple networks can co-exist

      The most urgent task here is likely the file and folder location refactor, we will want to reorganize how things are laid out as soon as we can, before we pick up more production use cases and grow the network. I walked through this with Dan and Devin and have attached an outline of what we discussed (see attached image). Notice the paths under /var, /etc and $HOME/.indy. The variables at the top of the board could be used as potential substitutes. We also talked about having some sort of environment variable(s) so that system users can overwrite the home folder location to something more suitable. Notice that this was from a brainstorming session, there is nothing set in stone. Please add your thoughts and suggestions. Obviously some plan as to how we can migrate files from existing locations in the current network will be important. I look forward to hearing what tickets you think will be needed.

        Attachments

        1. 1.1.43-1.2.203.PNG
          1.1.43-1.2.203.PNG
          335 kB
        2. Image uploaded from iOS(1).jpg
          Image uploaded from iOS(1).jpg
          5.63 MB
        3. journalctl.txt
          18 kB
        4. manual_node_upgrade.PNG
          manual_node_upgrade.PNG
          58 kB
        5. Node1.log
          7 kB
        6. Node2.log
          6 kB
        7. Node3.log
          6 kB
        8. Node4.log
          9 kB
        9. Screenshot_2017-11-08_12-17-51.png
          Screenshot_2017-11-08_12-17-51.png
          311 kB
        10. screenshot-1.png
          screenshot-1.png
          133 kB
        11. upgrade_to_192.PNG
          upgrade_to_192.PNG
          148 kB

          Issue Links

            Activity

              People

              • Assignee:
                VladimirWork Vladimir Shishkin
                Reporter:
                gudkov Vyacheslav Gudkov
                Watchers:
                Alexander Shcherbakov, Andrey Goncharov, Daniel Hardman, Dong Wang, Nathan George, Olga Zheregelya, Sergey Shilov, Vladimir Shishkin, Vyacheslav Gudkov
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: