Delivery-Date: Sun, 29 Nov 2015 05:59:31 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_RP_MATCHES_RCVD
	autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 961121E0674;
	Sun, 29 Nov 2015 05:59:29 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 9B63737509;
	Sun, 29 Nov 2015 10:59:24 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id CEF9737371
 for <tor-talk@lists.torproject.org>; Sun, 29 Nov 2015 10:59:20 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id l73gmaul2Aje for <tor-talk@lists.torproject.org>;
 Sun, 29 Nov 2015 10:59:20 +0000 (UTC)
Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com
 [IPv6:2607:f8b0:400e:c03::230])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id A588A36712
 for <tor-talk@lists.torproject.org>; Sun, 29 Nov 2015 10:59:17 +0000 (UTC)
Received: by pacdm15 with SMTP id dm15so154756342pac.3
 for <tor-talk@lists.torproject.org>; Sun, 29 Nov 2015 02:59:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:user-agent:mime-version
 :content-type:content-transfer-encoding;
 bh=LrcxLlDx+WPCHPP2o3zNWceZXO07qky9DUhjYtojxmI=;
 b=zSuWIfhx9qdf/fRy3Ri3MOhFPvi0jvQdZozR+I++wTJ7mX6fvnSEA7R+TYwfcr6lun
 n9mktWx3uriHRkrWiL8psKiplRcRruhFzE0y+6r2/0a0JQ/d5iZsxrrdE2hSutfPa+2Q
 atbDFGv1228nxN3O0vb94abGRGtUxedwuU+tCLvqYVw6ApgXAYqcZwDHRr9HHOvJxU5O
 N7h57ka/4BNrcAKSjxSu/aGDNKxDmMNw4v9PaYRy+mHuVb+H5BvdXypokvU5+sps3Orr
 1R/su7RHmaaexXfte0PEF8fyfMdu3mF6uWsU67YoalRgN6VhBO/5Aq/ZvRM2KibL0pgL
 sBcQ==
X-Received: by 10.98.19.130 with SMTP id 2mr62211986pft.93.1448794754972;
 Sun, 29 Nov 2015 02:59:14 -0800 (PST)
Received: from mio ([2601:600:8400:d4d:d810:16df:42cb:7b22])
 by smtp.googlemail.com with ESMTPSA id n6sm45168185pap.24.2015.11.29.02.59.11
 for <tor-talk@lists.torproject.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 29 Nov 2015 02:59:12 -0800 (PST)
From: Hideki Saito <hidekis@gmail.com>
To: tor-talk@lists.torproject.org
X-Face: "3HUw9.IOodpv+K#u)Q`_i@UWBGq57{`_m4@+AjsLY7FNmUrR;
 Qct[|BvB4@h.fn33`g^B&XU)U)(9^oE.z+:2v's3FAR9ao{,*TRBrdxEh8JQdbh}L1<a^^}IH\U\f/a/,<V2[w95SFbChluaS?y5i:R=Cjw+3g
X-HS-Message-UUID: ac535335-43cf-48b3-a5e2-874207e7d07a
X-Hashcash: 1:20:151129:tor-talk@lists.torproject.org::oTUVTlwjTo1CClyB:00000000000000000000000000000000ATDE
Date: Sun, 29 Nov 2015 02:58:56 -0800
Message-ID: <87wpt1f4wf.fsf@mio-tsc-fdc940a9.scs.hidekisaito.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Subject: [tor-talk] Systemd error with v0.2.7.5 (git-6184c873e90d93b2)
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

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

Hi,
I might have spotted some issue on the latest update through apt-get on
Ubuntu 15.10. (I used source installation through apt-get because of the
OpenSSL version mismatch error.)

Basic symptom was that tor was restarting every two minutes or so. (I
have, after this update was performed, started noticing intermittent
disconnection from SSH session through hidden service, then I found that
it was getting terminated at some interval.)

I do see "[warn] Unable to send readiness to systemd: Unknown error
- -13." that seems to be indicating the root of this problem.

I am little puzzled as I could not find any further information on
debug.log but it looks like Tor is having problem communicating with
systemd, and it seems to be tor@default.service is killing the process,
hence "Interrupt: exiting normally" showing on the log. I have further
observed that tor@default.service never transition to "activating" to
"active" on systemctl status query.

I could work around the issue by changing Type=notify to Type=fork on
[Service] section of tor@default.service. But I wanted to drop a note
here to see if there's anything I can check or try as it seems to be
searching for this error doesn't really present much of information
about this particular issue.

Thank you!

- -- Here's the full log --
Nov 29 02:39:03.000 [notice] Tor 0.2.7.5 (git-6184c873e90d93b2) opening
log file.
Nov 29 02:39:03.336 [notice] Tor v0.2.7.5 (git-6184c873e90d93b2) running
on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2d and Zlib 1.2.8.
Nov 29 02:39:03.336 [notice] Tor can't help you if you use it wrong!
Learn how to be safe at
https://www.torproject.org/download/download#warning
Nov 29 02:39:03.336 [notice] Read configuration file
"/usr/share/tor/tor-service-defaults-torrc".
Nov 29 02:39:03.336 [notice] Read configuration file "/etc/tor/torrc".
Nov 29 02:39:03.340 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 29 02:39:03.340 [notice] Opening Control listener on
/var/run/tor/control
Nov 29 02:39:03.000 [notice] Parsing GEOIP IPv4 file
/usr/share/tor/geoip.
Nov 29 02:39:03.000 [notice] Parsing GEOIP IPv6 file
/usr/share/tor/geoip6.
Nov 29 02:39:03.000 [notice] Bootstrapped 0%: Starting
Nov 29 02:39:03.000 [notice] Bootstrapped 80%: Connecting to the Tor
network
Nov 29 02:39:03.000 [warn] Unable to send readiness to systemd: Unknown
error -13
Nov 29 02:39:04.000 [notice] Bootstrapped 85%: Finishing handshake with
first hop
Nov 29 02:39:04.000 [notice] Bootstrapped 90%: Establishing a Tor
circuit
Nov 29 02:39:06.000 [notice] Tor has successfully opened a
circuit. Looks like client functionality is working.
Nov 29 02:39:06.000 [notice] Bootstrapped 100%: Done
Nov 29 02:41:03.000 [notice] Interrupt: exiting cleanly.
Nov 29 02:41:03.000 [notice] Tor 0.2.7.5 (git-6184c873e90d93b2) opening
log file.
Nov 29 02:41:03.912 [notice] Tor v0.2.7.5 (git-6184c873e90d93b2) running
on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2d and Zlib 1.2.8.
Nov 29 02:41:03.912 [notice] Tor can't help you if you use it wrong!
Learn how to be safe at
https://www.torproject.org/download/download#warning
Nov 29 02:41:03.912 [notice] Read configuration file
"/usr/share/tor/tor-service-defaults-torrc".
Nov 29 02:41:03.912 [notice] Read configuration file "/etc/tor/torrc".
Nov 29 02:41:03.916 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 29 02:41:03.916 [notice] Opening Control listener on
/var/run/tor/control
Nov 29 02:41:03.000 [notice] Parsing GEOIP IPv4 file
/usr/share/tor/geoip.
Nov 29 02:41:04.000 [notice] Parsing GEOIP IPv6 file
/usr/share/tor/geoip6.
Nov 29 02:41:04.000 [notice] Bootstrapped 0%: Starting
Nov 29 02:41:04.000 [notice] Bootstrapped 80%: Connecting to the Tor
network
Nov 29 02:41:04.000 [warn] Unable to send readiness to systemd: Unknown
error -13
Nov 29 02:41:05.000 [notice] Bootstrapped 85%: Finishing handshake with
first hop
Nov 29 02:41:05.000 [notice] Bootstrapped 90%: Establishing a Tor
circuit
Nov 29 02:41:06.000 [notice] Tor has successfully opened a
circuit. Looks like client functionality is working.
Nov 29 02:41:06.000 [notice] Bootstrapped 100%: Done
Nov 29 02:41:33.000 [notice] Interrupt: exiting cleanly.

- -- 
Hideki Saito
OpenPGP Key: http://hidekisaito.com/aff2e40b.txt
1066 3928 7B0B E7CD A0CB  3686 1FDF D937 AFF2 E40B
http://hidekisaito.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWWtp6AAoJEOIIPMPrC7kZOpoP/jly/Ti2gLM74AF7mBBxZkMY
qw9La6G+UuI3FDMgn/2ZfW9ynOQ4e8NTxSn09s7XPKbB8Vy1H+Nrfwi2rqbTgOuc
IF8mATnlvEKoyYdPmv9w6wO5Jg7ylmF8775qUcI5gB4L6ghuop73TJLC/BwtvCr4
WU5PtZWECNWHSwwc8ZIPcnW7bDfKtK+IuIZ9PIBTuIPhzS9LF239BLmzBdNfwT1h
2sO6UWV1r6WH0NtA/x6zh696xW7U3MV9UBkiHjS/2vGojf4WrR0gR76rgXENVMtz
I2QOD8vv5LmWGWeaFTKshn4wCdowInmjmZrJ238ESK3hr/GpfxDgkKBpwyAOzWqD
hc92oeFLiBVJyzG56MC3d7FabcuxHY4ULeOew2PCshjHPUBWQs1ZoYkZ7e+uvDF7
Crtp63DkZKR+cSbi6QEuMmtlvC5w5YoCcoF/j2BN+RMAcKw0H5gFppk5/y3itg3W
tnG3a1E3VIaMpxmunyo1q0aDiPFMndnLRuF9l0n5PH00o2PMAIGKOazBSi0xtfLG
J9q6Giwtk40HPvH+PtqgzX7QzzbfVR05Uaak68etfejM3uCX7f/StLnPSSN0q+6Q
3vpI4INiSIa+Ht8rKy1HSjB3tOwUIvvQ5RpSmOLT83P8IkYjZ+KxFxJymusRXxwj
4sZXheJ7ZYCwHQvEHKeN
=NuT9
-----END PGP SIGNATURE-----
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

