Git Product home page Git Product logo

Comments (4)

paulmenzel avatar paulmenzel commented on August 27, 2024

But

Moreover ProtectSystem=strict and ProtectHome=read-only are implied, thus prohibiting the service to write to arbitrary file system locations.

where ProtectSystem=full currently. ProtectSystem=:

If set to "strict" the entire file system hierarchy is mounted read-only, except for the API file system subtrees /dev/, /proc/ and /sys/ (protect these directories using PrivateDevices=, ProtectKernelTunables=, ProtectControlGroups=).

from eturnal.

weiss avatar weiss commented on August 27, 2024

it might make sense to set DynamicUser= to true

We'd need to figure out how to handle the ~/.erlang.cookie file. Best solution would be to get rid of using it altogether, but there's no really nice alternative right now.

Apart from that, eturnal doesn't store any persistent data indeed, at least not yet.

ProtectSystem=strict

eturnal should work fine with strict, it's just not supported by older systemd versions, so I'm using full for compatibility with those.

from eturnal.

paulmenzel avatar paulmenzel commented on August 27, 2024

it might make sense to set DynamicUser= to true

We'd need to figure out how to handle the ~/.erlang.cookie file. Best solution would be to get rid of using it altogether, but there's no really nice alternative right now.

Apart from that, eturnal doesn't store any persistent data indeed, at least not yet.

Also, with LogsDirectory= removed – it is present in the upstream template –, and the log directory being part of the installation prefix, the log directory needs to be listed in ReadWritePaths=.

from eturnal.

weiss avatar weiss commented on August 27, 2024

Apart from that, eturnal doesn't store any persistent data indeed, at least not yet.

However, if we do set DynamicUser=true and then need persistent data storage later on, it might not be straightforward to revert that setting, as the systemd unit configuration isn't necessarily replaced on upgrade. Therefore, I think we should rather not apply this to the upstream unit file.

from eturnal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.