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

Re: [tor-bugs] #27539 [Applications/Tor Browser]: Create plan for releasing on F-Droid



#27539: Create plan for releasing on F-Droid
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  sysrqb
     Type:  enhancement                          |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, TorBrowserTeam201903,    |  Actual Points:
  tbb-8.5-must-alpha                             |
Parent ID:  #26318                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------

Comment (by gk):

 Replying to [comment:27 sysrqb]:
 > And now there is a merge request, too:
 https://gitlab.com/fdroid/fdroiddata/merge_requests/4676

 Looking over the comments I thought I could at least elaborate on the
 `sudo` requirement and do so here in the ticket as it does not only affect
 the "official" F-Droid setup but would affect any else, too (e.g. our
 own). The short story is: we have that requirement right now as we don't
 have fixes for #23631. boklm has written a bit about that issue in
 comment:2:ticket:23631 and I have still some hope in rootless containers
 but that's about it at the moment.

 The slightly longer answer is: the error is coming from `rbm`
 {{{
     if (project_config($project, "remote_exec", $options)) {
         my $cmd = project_config($project, "remote_start", {
                 %$options,
                 remote_srcdir => $srcdir,
             });
         if ($cmd) {
             my ($stdout, $stderr, $success, $exit_code)
                 = run_script($project, $cmd, \&capture_exec);
             if (!$success) {
                 $error = "Error starting remote:\n$stdout\n$stderr";
                 goto EXIT;
             }
 }}}
 and if you look at `rbm.conf` in `tor-browser-build` you see the `runc`
 section with the `remote_start`, `remote_exec` etc. scripts which in part
 require `sudo` to make the container ready for being used for building (no
 network access, etc.).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27539#comment:31>
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