Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-738

/var/lock/openattic disappears after reboot on SLES12 and RHEL7

    XMLWordPrintable

    Details

      Description

      The directory /var/lock/openattic that gets created by the openattic-base RPM package disappears after a reboot, as /var/lock is a symbolic link to /run/lock, which is mounted on tmpfs and thus disappears after a reboot.

      Instead of using RPM to create the directory, the creation should be controlled using the tmpfiles.d mechanism.

      A file /usr/lib/tmpfiles.d/openattic.conf should be created, with the following content:

      d /var/lock/openattic apache apache -
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lgrimmer Grimmer, Lenz
              Reporter:
              lgrimmer Grimmer, Lenz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: