[tor-relays] Tor is starting without the -f /etc/tor/torrc option

Tim Wilson-Brown - teor teor2345 at gmail.com
Tue Sep 22 02:30:49 UTC 2015


> 
> On 21/09/2015 15:50, Sean Greenslade wrote:
> > On Sun, Sep 20, 2015 at 09:05:21PM +0100, Tor Stuff wrote:
> >> I am running tor on a new Ubuntu 14.04.3 LTS system. I have
> >> restarted tor a couple of times with
> >>
> >> service tor restart
> >>
> >> I noticed when I start arm that it is telling me that
> >>
> >> The torrc differs from what tor's using. You can issue sighup to
> >> reload ...
> >>
> >> It seems that tor is running with default values and is not
> >> reading /etc/tor/torrc as there is no ... -f /etc/tor/torrc
> >> option being used by the running tor when it is displayed with
> >> 'ps'.
> >>
> >> The 'ps' output for the tor instance is
> >>
> >> /usr/bin/tor --defaults-torrc
> >> /usr/share/tor/tor-service-defaults-torrc --hush
>> 
> > This isn't really a Tor issue, it's an Ubuntu one. But you need to
> > figure out how "service" is launching Tor and change it to point to
> > your /etc torrc.
> On 22 Sep 2015, at 02:15, Billy Humphreys <PokeAcer549 at outlook.com> wrote:
> 
> Signed PGP part
> It normally uses /usr/bin/<service name>

On Ubuntu, service starts /usr/bin/tor using the script in /etc/init.d/tor

Try editing the line that reads:
ARGS=“”
To read:
ARGS="-f /etc/tor/torrc”

This appears to have occurred as part of a recent package update, as I experienced exactly the same issue on Ubuntu 14.04.3 LTS (trusty), and tor was using /etc/tor/torrc a few weeks ago.

(Also, Billy, please don’t top-post, it makes the thread of conversation hard to read.
Instead, post after the paragraph you’re replying to, and edit the message down to the parts needed to understand your response.)

Tim

Tim Wilson-Brown (teor)

teor2345 at gmail dot com
PGP 968F094B

teor at blah dot im
OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150922/d86a2227/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150922/d86a2227/attachment.sig>


More information about the tor-relays mailing list