Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-1000

Cannot install libcloud 2.3.0 inside ecryptfs: filename too long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Core
    • None
    • Ubuntu 18.04 with disk and home directory encryption enabled.

    Description

      1. Install Ubuntu with disk and folder encryption (as requested by my employer's policy)
      2. Within your home directory, attempt to install libcloud.
      $ python3 -m venv test
      $ source test/bin/activate
      $ python --version
      Python 3.6.5
      $ pip install apache-libcloud
      Collecting apache-libcloud
        Using cached https://files.pythonhosted.org/packages/56/28/45a9d3bba612fc3f47ef085a14446a4f68f45ce10070562edff1e9291150/apache_libcloud-2.3.0-py2.py3-none-any.whl
      Collecting requests (from apache-libcloud)
        Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
      Collecting urllib3<1.24,>=1.21.1 (from requests->apache-libcloud)
        Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
      Collecting idna<2.8,>=2.5 (from requests->apache-libcloud)
        Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
      Collecting chardet<3.1.0,>=3.0.2 (from requests->apache-libcloud)
        Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
      Collecting certifi>=2017.4.17 (from requests->apache-libcloud)
        Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
      Installing collected packages: urllib3, idna, chardet, certifi, requests, apache-libcloud
      Exception:
      Traceback (most recent call last):
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
          status = self.run(options, args)
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/commands/install.py", line 360, in run
          prefix=options.prefix_path,
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
          **kwargs
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/req/req_install.py", line 851, in install
          self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
          isolated=self.isolated,
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/wheel.py", line 345, in move_wheel_files
          clobber(source, lib_dir, True)
        File "/home/redacted/tmp/test/lib/python3.6/site-packages/pip/wheel.py", line 323, in clobber
          shutil.copyfile(srcfile, destfile)
        File "/usr/lib/python3.6/shutil.py", line 121, in copyfile
          with open(dst, 'wb') as fdst:
      OSError: [Errno 36] File name too long: '/home/redacted/tmp/test/lib/python3.6/site-packages/libcloud/test/compute/fixtures/azure_arm/_subscriptions_99999999_9999_9999_9999_999999999999_resourceGroups_000000_providers_Microsoft_Compute_virtualMachines_test_node_1_InstanceView.json'
      

      _subscriptions_99999999_9999_9999_9999_999999999999_resourceGroups_000000_providers_Microsoft_Compute_virtualMachines_test_node_1_InstanceView.json is 147 characters long. The filename limit for ecryptfs is 143 characters.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              badp Santi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: