Your message dated Fri, 23 Oct 2015 16:29:10 +0000
with message-id <[email protected]>
and subject line Bug#791393: fixed in tor 0.2.7.4-rc-1
has caused the Debian Bug report #791393,
regarding add multi-instance systemd unit file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
791393: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791393
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tor
Severity: wishlist

For users or relay operators that run multiple tor instances on a
single host a multi-instance systemd service file is handy.

I'm using a similar systemd unit file in my ansible-relayor configuration:
https://github.com/nusenu/ansible-relayor/blob/master/templates/debian_tor%40.service

Fedora also ships a similar systemd unit file since tor 0.2.6.8:
https://bugzilla.redhat.com/show_bug.cgi?id=1210837

When updating the tor package, all tor instances should be restarted.

here it is (I removed some of systemd's hardening feature from this
version due to #787758)

[Unit]
Description = Anonymizing overlay network for TCP
After = syslog.target network.target nss-lookup.target
[Service]
Type = simple
ExecStartPre = /usr/bin/tor -f /etc/tor/enabled/%i.torrc --verify-config
ExecStart = /usr/bin/tor -f /etc/tor/enabled/%i.torrc --runasdaemon 0
ExecReload = /bin/kill -HUP ${MAINPID}
KillSignal = SIGINT
TimeoutSec = 30
Restart = on-failure

LimitNOFILE = 32768
## Hardening
PrivateTmp = yes
PrivateDevices = yes
ProtectHome = yes
ProtectSystem = full


NoNewPrivileges = yes

CapabilityBoundingSet = CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE
PermissionsStartOnly=yes

[Install]
WantedBy = multi-user.target

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: tor
Source-Version: 0.2.7.4-rc-1

We believe that the bug you reported is fixed in the latest version of
tor, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Palfrader <[email protected]> (supplier of updated tor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 23 Oct 2015 17:30:13 CEST
Source: tor
Binary: tor tor-dbg tor-geoipdb
Architecture: source all
Version: 0.2.7.4-rc-1
Distribution: experimental
Urgency: medium
Maintainer: Peter Palfrader <[email protected]>
Changed-By: Peter Palfrader <[email protected]>
Description: 
 tor - anonymizing overlay network for TCP
 tor-dbg - debugging symbols for Tor
 tor-geoipdb - GeoIP database for Tor
Closes: 791393
Changes: 
 tor (0.2.7.4-rc-1) experimental; urgency=medium
 .
   * New upstream version.
   * Include identity tag for syslog logging feature from master.  This is
     bug#17194 upstream.
   * Support multiple instances (closes: #791393).
   * Split systemd service timeout into start and stop timeout, and raise
     them to 120 and 60 seconds from 45 (closes: tor#16398).
   * Enable apparmor support for the default tor service (re: #761404).
     Apparmor is not yet being enabled for any other tor instance.
Checksums-Sha256: 
 8c1c96c7a293120ebdfa261279cacbe3998e0dc4d8f5d6313ac309fe163a75a8 1843 
tor_0.2.7.4-rc-1.dsc
 6741c3e6abfedb76be781b767b77f794ee1a0f554cc4ccf083e44d4d9dc8af67 4830972 
tor_0.2.7.4-rc.orig.tar.gz
 a70607a4b99460a8cfc20a9eab3a6032d744ea16fea90b44cf29020d39958cc1 41075 
tor_0.2.7.4-rc-1.diff.gz
 deccbc0d51635ec361ccabe03a153fa7cefaf5f52c1469c0f7d65103a4626711 859134 
tor-geoipdb_0.2.7.4-rc-1_all.deb
Checksums-Sha1: 
 78c60ebddcac0fa035324381e083d4614b90c9aa 1843 tor_0.2.7.4-rc-1.dsc
 4990b4d90dff2788f33a8cc9a98e6b722693e351 4830972 tor_0.2.7.4-rc.orig.tar.gz
 41eaa02a5bfda686ab99a1c2ce5453404f4d5af7 41075 tor_0.2.7.4-rc-1.diff.gz
 46165d36bf6966510c78c8ac0ae6f0d905d1d915 859134 
tor-geoipdb_0.2.7.4-rc-1_all.deb
Files: 
 18cb37844cdfaa2955ae88a991d20e9e 1843 net optional tor_0.2.7.4-rc-1.dsc
 56e6790bc037fc238604cfe364c9e12a 4830972 net optional 
tor_0.2.7.4-rc.orig.tar.gz
 e38e0eb744c9cdc0408c650a7e03d7f5 41075 net optional tor_0.2.7.4-rc-1.diff.gz
 5b6d6c360639b23fb1d2718680792349 859134 net extra 
tor-geoipdb_0.2.7.4-rc-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJWKlKXAAoJEIYCyCA4cjMft54H/1FqpMk1cD9rIrSexXZellHT
gxeVmSO4ke9nEX7oCQCucxK5bGBdNuNSwT/jhZWdsb+9omL7UhDlMeFoFWDWlzoj
SmVgQ8rbYTd/gt2NuI4hKZwDc8Ahw0U2w81E8G1DJ8ZvAZmjyxGElvYvDVeeXiFu
g/Npk3LyvYU0c8D6qJ8Y+NnYCFoLLm5vshohsx2yaLVy+xIemhOukZk0WSbq3m4v
oGTjNrCKWGCVBZX3SAHzCbf4E2d6/e1eefrt9bP3n/Nw8DBNCed4eCU5LVhXW1aI
iFaBYrkcEsv5BHnfoBcs1KxGx0Jjny6nQ3Hsr9RtusGMJh30IeWGhDYeoGuJnzc=
=65Tu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to