Opened 10 years ago

Closed 3 years ago

#1133 closed defect (invalid)

fedora rpm doesn't log by default?

Reported by: arma Owned by: hiviah
Priority: Medium Milestone:
Component: Core Tor/RPM packaging Version: 0.2.1.19
Severity: Normal Keywords:
Cc: arma, erinn Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by arma)

It looks like the fedora rpm doesn't set any Log lines in the torrc,
but it does set RunAsDaemon 1 so it forks into the background. If you
don't set any Log lines in the torrc file, then Tor will log to stdout
by default. And the fork will close that log.

Are all the rpm users supposed to know to uncomment a Log line?

The deb patches the Tor code so Tor defaults to logging to a file rather
than stdout:
https://git.torproject.org/checkout/tor/master/debian/patches/07_log_to_file_by_default.dpatch

Or maybe the torrc on fedora rpm should just uncomment the 'log notice file ...'
line?

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (10)

comment:2 Changed 8 years ago by katmagic

Resolution: Nonewontfix
Status: assignedclosed

Enrico Scholz (the Fedora package maintainer) has stated that he will not fix this (https://bugzilla.redhat.com/show_bug.cgi?id=532373#c6). arma's response (https://bugzilla.redhat.com/show_bug.cgi?id=532373#c19) has received no reply, and the Fedora bug (#532373) has been closed.

comment:3 Changed 8 years ago by arma

Description: modified (diff)
Resolution: wontfix
Status: closedreopened

comment:4 Changed 8 years ago by arma

Priority: minornormal

This sucks. The packager for Fedora breaks our recommendations for no good reason?

He doesn't have to deal with users who don't have logs and don't realize that it's Fedora's fault, not our fault, that they don't have logs.

I guess we should add another clause to https://www.torproject.org/docs/faq#Logs saying "if you're using Fedora's RPM, you will have to set up your logs manually because the package doesn't do it for you"?

Bleah.

comment:5 Changed 7 years ago by Sebastian

Component: Tor bundles/installationRPM packaging

comment:6 Changed 7 years ago by erinn

Owner: changed from erinn to hiviah
Status: reopenedassigned

comment:7 Changed 7 years ago by hiviah

The line is still (0.2.3.22rc) commented out in rpm's torrc, but it currently has identical effect to:

Log notice file /var/log/tor/notices.log

I.e. logging of recommended "notice" level is on. Should the logging be explicitly enabled by uncommenting the line?

comment:8 Changed 7 years ago by rransom

This ticket is also about the RPM shipped by Fedora, which no one who would look at this bugtracker has any control over.

comment:9 Changed 7 years ago by arma

Is it still the case that the tor rpm that fedora ships is broken in this way? (Should we send fedora a cease-and-desist notice telling them to quit shipping broken tor rpms?)

comment:10 Changed 3 years ago by cypherpunks

Cc: arma,erinnarma, erinn
Resolution: invalid
Severity: Normal
Status: assignedclosed

The torproject does not longer provide RPMs.

Note: See TracTickets for help on using tickets.