Bug 37946 - tor start request too quickly
Summary: tor start request too quickly
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: tor (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-28 13:49 MSK by ruslandh
Modified: 2020-01-28 17:30 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ruslandh 2020-01-28 13:49:22 MSK
При старте tor

Описано не только у нас, например здесь


https://bugzilla.redhat.com/show_bug.cgi?id=974477
Comment 1 ruslandh 2020-01-28 13:52:31 MSK
https://tor.stackovernet.com/ru/q/2909


As @Peter Gerber noted, that was an issue with systemd. What I've done:

Changed symlink /var/run to point to ../run instead of /run
Added ReadWriteDirectories=-/run to /lib/systemd/system/tor@default.service
After every change run systemctl daemon-reload
These two changes separately didn't help, but both of it combined resolved my problem. Thank you Peter once more!
Comment 2 ruslandh 2020-01-28 14:19:46 MSK
Не, не помогает. Помогает только переустановка tor 😉 как не странно
Comment 3 Владимир Диденко 2020-01-28 14:50:41 MSK
(In reply to ruslandh from comment #2)
> Не, не помогает. Помогает только переустановка tor 😉 как не странно

Как-то странно, очень похоже на локальный misconfiguration. Нужна либо процедура воспроизведения, либо подробные логи. Иначе тикет можно закрывать как бесполезный.
Comment 4 ruslandh 2020-01-28 17:30:45 MSK
Да, извините, мой косяк. Разобрался
/var/log/ был в ОЗУ (tmpfs) и не было каталога /var/log/top

PS Когда скрипт рукам /etc/rc.d/tor запустил, 
/etc/rc.d/tor start
он мне и выдал всё, что не так, а до этого systemd совсем в другую сторону
уводил. 
Временно решил упаковав каталог /var/log c пустыми директориями (из аналогичной системы, но без /var/log/ в tmpfs) в tar.bz2 и заставив /etc...rc.local его распавывать при старте.