From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 10 11:20:11 2020 Received: (at submit) by debbugs.gnu.org; 10 Jun 2020 15:20:11 +0000 Received: from localhost ([127.0.0.1]:35115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj2WR-00017r-LF for submit@debbugs.gnu.org; Wed, 10 Jun 2020 11:20:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:47204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj2WQ-00017k-AA for submit@debbugs.gnu.org; Wed, 10 Jun 2020 11:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj2WP-0000z5-SI for bug-guix@gnu.org; Wed, 10 Jun 2020 11:20:10 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj2WO-0002UD-AY for bug-guix@gnu.org; Wed, 10 Jun 2020 11:20:09 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 411c8089 for ; Wed, 10 Jun 2020 15:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=/28TER5ikBR7zPLAOGLVV4Sx4DWHNYDOSDOLmnBCi6s=; b= grJUkVd6c+fmtM+iiwAGldTCYAogtcZJJqxfeZLEORDMjfOsIVhd9HEIGBr/RL8Y 21X3a6MIKT/zAuCTApgk1zCkjIzepMxfGPLxiYmHUPu4oSn9yyrx7KqToezBhpoW /wMCVfVsWMssGsO5YkNIB/wyIcEdQ2jtsPl2qZ1+ijO4oOklMVIwKRhilqjIx8zz 9J/dizJOr6nv241yGVAI89wO2umuo4VGrev2r9mgRNQenMsEE2CMUnccyS4fvEI+ ag4qhT5T4wuf4aUNpLIw6u1cUzO1ZT/OADQrBHVtnxUbHxEekh+TWv2JXuMCSO9n xIUH1NzXOnxak00EWPUfTw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1227893c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 10 Jun 2020 15:20:11 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: [Shepherd] loses track of Tor Date: Wed, 10 Jun 2020 17:20:01 +0200 Message-ID: <87v9jzq76m.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable All, =2D-8<---------------cut here---------------start------------->8--- ~ =CE=BB while :; do sudo herd restart tor; done Service tor is not running. Service tor has been started. Service tor has been stopped. Service tor could not be started. Service tor is not running. Service tor could not be started. ^C ~ =CE=BB pgrep tor 22926 23004 =2D-8<---------------cut here---------------end--------------->8--- This has (this year) happened to nginx in tight edit.conf/restart=20 loops too, but I can't say if the two are at all related. Here's the output of =E2=80=98herd status=E2=80=99 but it's not very useful= to me: =2D-8<---------------cut here---------------start------------->8--- =CE=BB sudo herd status Started: + dovecot + file-system-/dev/pts + file-system-/dev/shm + file-system-/gnu/store + file-systems + guix-daemon + loopback + mcron + networking + nginx + root + root-file-system + smtpd + ssh-daemon + syslogd + term-tty1 + udev + urandom-seed + user-file-systems + user-processes + virtual-terminal Stopped: - tor One-shot: * host-name * user-homes =2D-8<---------------cut here---------------end--------------->8--- He looks guilty: =2D-8<---------------cut here---------------start------------->8--- =CE=BB sudo cat /var/run/tor/tor.pid cat: /var/run/tor/tor.pid: No such file or directory =2D-8<---------------cut here---------------end--------------->8--- From=20ps auxwww: =2D-8<---------------cut here---------------start------------->8--- ~ =CE=BB head -n6 /gnu/store/5ivhkbd0pzhnnmk38yn7cygcyd02kkk5-torrc ### These lines were generated from your system configuration: User tor DataDirectory /var/lib/tor PidFile /var/run/tor/tor.pid Log notice syslog ### End of automatically generated lines. =2D-8<---------------cut here---------------end--------------->8--- No contradictory lines added. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXuD6IQAKCRANsP+IT1Vt eQedAP9vnibaH14h2+oarcF0SSwPnB4FhrWINmEPy/nPFKGmbQEAnFneLqmT+2xH XLqS9zVAT6F+S2VQjgoGzkZCEcXQAgY= =rThD -----END PGP SIGNATURE----- --=-=-=--