Changes between Initial Version and Version 9 of Ticket #25182


Ignore:
Timestamp:
Mar 12, 2018, 8:45:37 AM (3 years ago)
Author:
sjmurdoch
Comment:

I've updated the description to note that you need to copy the unit files out of /lib/systemd/system/ to /etc/systemd/system/ because otherwise upgrading Tor will overwrite your changes.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25182

    • Property Status changed from new to closed
    • Property Parent ID changed from to #24403
    • Property Milestone changed from to Tor: 0.3.4.x-final
    • Property Keywords ipv6 systemd added
    • Property Resolution changed from to invalid
  • Ticket #25182 – Description

    initial v9  
    11On Ubuntu xenial, systemd starts Tor before the IPv6 address is available and so Tor fails to assign an IPv6 address then exits. systemd tries to restart Tor (I think three times) but even by the last time there's still no IPv6 address assigned and hence Tor fails to start.
    22
    3 As a work-around I added `RestartSec=10` to the systemd unit file to slow down the restart such that by the second time tor starts, there is an IPv6 address available.
     3As a work-around I copied `/lib/systemd/system/tor*` to `/etc/systemd/system/` and added `RestartSec=10` to the `[Service]` section of `tor@default.service` and `tor@.service`. This slows down the restart such that by the second time tor starts, there is an IPv6 address available.
    44
    55See log file below.