Page MenuHomeDevCentral

Use /srv/data instead of /data
ClosedPublic

Authored by dereckson on Oct 17 2017, 19:40.
Tags
None
Referenced Files
F3767274: D1065.id2726.diff
Fri, Nov 22, 23:19
F3767226: D1065.id2727.diff
Fri, Nov 22, 23:07
F3767209: D1065.id2725.diff
Fri, Nov 22, 23:01
Unknown Object (File)
Tue, Nov 19, 08:53
Unknown Object (File)
Mon, Nov 18, 14:26
Unknown Object (File)
Mon, Nov 18, 02:54
Unknown Object (File)
Mon, Nov 18, 02:20
Unknown Object (File)
Tue, Nov 12, 19:08
Subscribers
None

Details

Summary

Containerized OS or OS mounted as read-only don't allow to write
in every folder.

The new Docker Engine is a project atomic one, where it will be
more convenient to use /srv/data.

Fixes T1261.

Test Plan

salt dwellers.nasqueron.org state.apply hotfixes

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
SeverityLocationCodeMessage
Adviceroles/mailserver/certificates/files/update-smtp-certificates.sh:20SC2086SHELLCHECK
Unit
No Test Coverage
Branch
srv-data (branched from master)
Build Status
Buildable 1679
Build 1927: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Oct 17 2017, 19:55
Dwellers
$ ls /srv/data
ls: cannot access /srv/data: No such file or directory
$ salt-call state.apply hotfixes
local:
----------
          ID: /etc/modprobe.d/disable-dccp.conf
    Function: file.managed
      Result: True
     Comment: File /etc/modprobe.d/disable-dccp.conf is in the correct state
     Started: 22:01:55.389385
    Duration: 113.239 ms
     Changes:   
----------
          ID: srv_data_symlink
    Function: file.symlink
        Name: /srv/data
      Result: True
     Comment: Created new symlink /srv/data -> /data
     Started: 22:01:55.502816
    Duration: 116.329 ms
     Changes:   
              ----------
              new:
                  /srv/data

Summary for local
------------
Succeeded: 2 (changed=1)
Failed:    0
------------
Total states run:     2
Total run time: 229.568 ms
$ ls /srv/data
acquisitariat  devcentral  etherpad …
This revision was automatically updated to reflect the committed changes.