[tor-bugs] #10734 [Ooni]: Include a cron in the ooni deb, to run certain tests daily?

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 15 21:02:08 UTC 2014


#10734: Include a cron in the ooni deb, to run certain tests daily?
-----------------------------+----------------------
     Reporter:  arma         |      Owner:  hellais
         Type:  enhancement  |     Status:  assigned
     Priority:  normal       |  Milestone:
    Component:  Ooni         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------

Comment (by hellais):

 From #raspbian on irc.freenode.net:

 {{{
 20:49 -!- vagrantc [~vagrant at freegeek/vagrantc] has joined #raspbian
 20:49 -!- mode/#raspbian [+o vagrantc] by ChanServ
 20:49 < diederik_> you got the most important part ... getting it into
 debian
 20:50 < diederik_> then to also get it into raspbian, is pinging the 'ftp-
 master' of it, which is plugwash
 20:50 < hellais> diederik_: I would also like it to have some additional
 behavior in the post.install script that is specific to raspberries
 20:50 < hellais> so that when you install it there it sets up a particular
 type of cronjob, as an example
 20:51 < diederik_> there is a specific section in the raspbian archive
 which (I think) could enable that. But you really have to ask plugwash
 about it
 20:51 < hellais> got it
 20:51 < hellais> diederik_: do you know when I am most likely to find this
 girl/guy?
 20:51 <@vagrantc> seems like that would be better done in a supplimentary
 package?
 20:52 <@vagrantc> the raspbian-specific cron jobs
 20:52 < hellais> vagrantc: that would be painful to push into debian since
 our current maintainer is on a leave
 20:52 < diederik_> he often comes online during EU evenings/night
 20:52 < hellais> in general if it's to add to the existing package it's ok
 20:52 < hellais> but add new ones is currently a bit complex
 20:52 -!- teran_ [~teran at 91.218.144.129] has joined #raspbian
 20:53 < hellais> unless we can add it to raspbian without adding it to
 debian
 20:53 < hellais> that is an option
 20:53  * vagrantc would find cron jobs only enabled on raspbian installs
 to be particularly annoying
 20:53 <@vagrantc> YMMV
 20:53 < hellais> vagrantc: the cronjob is enabled by means of a prompt in
 the post.install script
 20:53 < hellais> and will be part of debian also
 20:53 < hellais> the thing is that I want a different cronjob in raspbian
 than I do in debian
 20:54 <@vagrantc> prompts sound even uglier
 20:54 <@vagrantc> depending on how implemented, debian policy violations
 20:54 < hellais> vagrantc: your feedback on this ticket would be greatly
 appreciated: https://trac.torproject.org/projects/tor/ticket/10734
 20:55 < hellais> vagrantc: this is how it's done:
 https://github.com/TheTorProject/ooni-
 probe/commit/8983d370461b29f84d614f761fcad0cf7bb374b1
 20:55 < hellais> vagrantc: pull requests are also very welcome:
 https://github.com/TheTorProject/ooni-probe/pulls :)
 20:58 <@vagrantc> hellais: i'd recommend dropping a file in /etc/cron.d/
 as part of the package, and having a configuration option to disable it
 doing anything
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10734#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list