Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-874

Magic Symlinks Break on Catalog Creation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: CernVM-FS 2.1.20
    • Fix Version/s: CernVM-FS 2.2.0
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      x86_64-slc6-gcc48-opt

      Description

      CMS reported that a magic symlink (includes expandable environment variables) in their repository mysteriously became empty. Recreating the symlink's content worked fine and fixed the problem.

      Further investigation shows that the symlink must have been corrupted when it's parent directory was moved into a nested catalog. When a nested catalog is created from an existing directory structure, it needs to retain all this existing directory entry information. Unfortunately the sync routine tries to expand the magic symlink and thus corrupts it due to missing environment variables.

      This needs one or two regression tests (magic symlink handling in general and in connection with nested catalog mangling) and a proper fix.

        Attachments

          Activity

            People

            • Assignee:
              rmeusel Rene Meusel (Inactive)
              Reporter:
              rmeusel Rene Meusel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: