Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-6719 AutoFS support inside a Container
  3. OVZ-6725

[CRIU] Systemd unmounts AutoFS mounts after restore

    XMLWordPrintable

    Details

      Description

      After successfull restore of a container with /proc/sys/fs/binfmt_misc being mounted, systemd, due to some error, shut down unmonut both autofs and binfmt_misc mounts:

      [root@ ~]# vzctl enter 102
      entered into CT
      CT-102 /# systemctl status proc-sys-fs-binfmt_misc.automount
      proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point
         Loaded: loaded (/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount; static)
         Active: failed (Result: resources) since Thu 2015-12-03 15:45:30 MSK; 1h 47min ago
          Where: /proc/sys/fs/binfmt_misc
           Docs: https://www.kernel.org/doc/Documentation/binfmt_misc.txt
                 http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems

      Dec 03 15:38:44 centos-7-x86_64 systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
      Dec 03 15:44:41 centos-7-x86_64 systemd[1]: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 28711 (n/a)
      Dec 03 15:44:50 centos-7-x86_64 systemd[1]: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 28721 (n/a)
      Dec 03 15:45:03 centos-7-x86_64 systemd[1]: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 28742 (n/a)
      Dec 03 15:41:26 centos-7-x86_64 systemd[1]: Stopping Arbitrary Executable File Formats File System Automount Point.
      Dec 03 15:41:26 centos-7-x86_64 systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
      Dec 03 15:41:26 centos-7-x86_64 systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
      Dec 03 15:41:43 centos-7-x86_64 systemd[1]: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 27692 (n/a)
      Dec 03 15:41:54 centos-7-x86_64 systemd[1]: Stopping Arbitrary Executable File Formats File System Automount Point.
      Dec 03 15:41:54 centos-7-x86_64 systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skinsbursky@openvz.org Kinsbursky Stanislav
              Reporter:
              skinsbursky@openvz.org Kinsbursky Stanislav
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: