[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #10734 [Onionoo]: Include a cron in the ooni deb, to run certain tests daily?
#10734: Include a cron in the ooni deb, to run certain tests daily?
-------------------------+---------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-------------------------+---------------------
My hope is to start with one very conservative, robust, and reasonably
harmless test, and have it run by default on as many ooni deb
installations as possible. As discussed with Arturo, the http header
manipulation test seems like a good candidate.
But once we have that test in mind, how can we get it to run
automatically? One idea is for the ooniprobe deb to install a cron entry.
To not surprise users too much, should we have the ooniprobe deb install
ask the user if they want to set it up to run the conservative tests
nightly? (For a noninteractive install, the answer can be an auto no, on
the principle of least surprise.)
weasel says
{{{
the crontab entry should probably be something like
@daily ooni [ -x /usr/bin/ooni-report ] && /usr/bin/ooni-report
}}}
and then he adds
{{{
and ooni-report reads /etc/default/ooni to find out what it should
and shouldn't do.
that file probably should be quite simple. maybe just a shell script
snippet setting REPORT to none|stable|all .
getting the debconf scripting right is a bit of a pain, and complex
formats or data structures increase the pain manyfold.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10734>
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