[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #19556 [Core Tor/Tor]: Directory /var/lib/tor/stats cannot be read



#19556: Directory /var/lib/tor/stats cannot be read
------------------------------+--------------------------------
     Reporter:  weasel        |      Owner:
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:  Tor: 0.2.8.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.8.4-rc
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 {{{
 Jul 03 14:23:10.000 [warn] Directory /var/lib/tor/stats cannot be read:
 Permission denied
 Jul 03 14:23:10.000 [warn] Unable to create stats/ directory!
 }}}

 I get these once a second on tor26.

 I have sandboxing enabled, and systemd's limiting.  No apparmor, though.

 There is nothing obviously wrong with the file permissions.

 AFAICT, tor does not try anything before printing this error:
 {{{
 epoll_wait(3, {{EPOLLIN, {u32=2977, u64=2977}}}, 4096, 8) = 1
 read(2977, "", 5)                       = 0
 close(2977)                             = 0
 epoll_ctl(3, EPOLL_CTL_DEL, 2977, 7ffe878b2cd0) = -1 EBADF (Bad file
 descriptor)
 epoll_wait(3, {}, 4096, 7)              = 0
 write(42, "Jul 03 14:20:33.000 [warn] Directory /var/lib/tor/stats cannot
 be read: Permission denied\n", 90) = 90
 write(42, "Jul 03 14:20:33.000 [warn] Unable to create stats/
 directory!\n", 62) = 62

 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19556>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs