<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 03.02.2021 um 21:14 schrieb Patrice
      Bönig:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4abe0a6e-dea0-481a-149b-59212aae1985@pboenig.de">I am
      now compiling the new 0.4.4.7 version and by that I saw that the
      entry of "systemd support (--enable-systemd)" is is "no". So I
      assume that the systemd functionality is not on board, or am I
      wrong?<br>
      How do I enable for the compiling process?<br>
      <br>
      regards<br>
      Karl<br>
      <p><br>
      </p>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap=""><div class="moz-txt-sig">Permissions issue of /var/lib/tor / DataDirectory most likely, and Tor
can't fix it itself since it's likely owned by root, however the
systemd unit starts it under a separate user.

2021-01-22 12:03 GMT, Patrice B?nig <a class="moz-txt-link-rfc2396E" href="mailto:mailinglist@pboenig.de" moz-do-not-send="true"><mailinglist@pboenig.de></a>:
</div></pre>
        <blockquote type="cite" style="color: #007cff;">
          <pre class="moz-quote-pre" wrap="">Hi @ list,

I am operating a relay for several years and I really do like it and
will do it for more years.

My current relay residents on Pi 4. At first I installed it via apt but
now the 32 Bit sources are no longer available. So I thought I could
build the from source.

The building process went well but now I have a problem with the user
permissions. I can't get tor really running.

_My first attempt was:_

To start tor with "systemctl start tor". But tor won't start and "
journalctl -u tor" says only this:

Jan 22 09:06:23 rpi4tor systemd[1]: Starting LSB: Starts The Onion
Router daemon
Jan 22 09:06:23 rpi4tor systemd[1]: Started LSB: Starts The Onion Router
daemon
Jan 22 09:08:32 rpi4tor systemd[1]: Stopping LSB: Starts The Onion
Router daemon
Jan 22 09:08:32 rpi4tor systemd[1]: tor.service: Succeeded.
Jan 22 09:08:32 rpi4tor systemd[1]: Stopped LSB: Starts The Onion Router
daemon
lines 1-6/6 (END)...skipping...
-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Fri 2021-01-22
11:54:47 CET. --
Jan 22 09:06:23 rpi4tor systemd[1]: Starting LSB: Starts The Onion
Router daemon processes...
Jan 22 09:06:23 rpi4tor systemd[1]: Started LSB: Starts The Onion Router
daemon processes.
Jan 22 09:08:32 rpi4tor systemd[1]: Stopping LSB: Starts The Onion
Router daemon processes...
Jan 22 09:08:32 rpi4tor systemd[1]: tor.service: Succeeded.
Jan 22 09:08:32 rpi4tor systemd[1]: Stopped LSB: Starts The Onion Router
daemon processes.

_My second attempt was:_

I changed the user of all tor files to the current user "pi". After that
I was able to start tor with "tor --quiet" as user "pi". All went fine
until I rebooted the system and all my changes to "pi" where changed to
"debian-tor".

_My third attempt was:_

I did "sudo tor --quiet". It works, but in "notices.log" is the
information that I shouldn't do that.


So, now I am standing here and don't know what to do. I would like to
start tor via systemd but I don't know what's wrong (maybe the
permissions). Does someone has a hint for me?

regards,
Karl



</pre>
        </blockquote>
      </blockquote>
    </blockquote>
  </body>
</html>