Page MenuHomeDevCentral

Create ZFS datasets for /var/home-wwwroot
ClosedPublic

Authored by dereckson on Mon, Sep 30, 17:46.
Tags
None
Referenced Files
F3638489: D3473.id8957.diff
Wed, Oct 9, 04:34
Unknown Object (File)
Tue, Oct 8, 02:58
Unknown Object (File)
Mon, Oct 7, 21:05
Unknown Object (File)
Mon, Oct 7, 10:29
Unknown Object (File)
Mon, Oct 7, 10:28
Unknown Object (File)
Mon, Oct 7, 10:22
Unknown Object (File)
Mon, Oct 7, 10:20
Unknown Object (File)
Mon, Oct 7, 08:18
Subscribers
None

Details

Summary

UNIX server convention is to serve on HTTP /~<username>
from /home/<username>/public_html directories.

On the devserver role, to allow to use chmod 700 in /home, nginx is configured
to serve user directories from the /var/home-wwwroot directory.

That creates a difference:

  • home directories are ZFS datasets, with automatic snapshots
  • web directories were regular all in the arcology/var ZFS dataset

This change creates arcology/var/home-wwwroot/<username> datasets with the same
permissions than user directories. Users can so create and manage snapshots.

The automatic provisionning of public_html in /home allows also to directly
use the public_html folder, without any root configuration.

This is a follow-up for e85e5bbf14ee.

Test Plan

Deployed on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Mon, Sep 30, 17:50
This revision was landed with ongoing or failed builds.Mon, Sep 30, 17:51
This revision was automatically updated to reflect the committed changes.