Opened 8 years ago

Closed 2 years ago

#3790 closed defect (wontfix)

Debian package for torouter-tui is broken

Reported by: runa Owned by: ioerror
Priority: Immediate Milestone:
Component: Archived/Torouter Version:
Severity: Normal Keywords:
Cc: hellais, ioerror, ioioioio@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The Debian package for torouter-ui is broken. When installing the package, the process will hang right after printing the following two lines:

Setting up torouter-tui (0.0.1-1) ...
http://0.0.0.0:8080/

Jake suspects that the init.d script starts torouter-tui and it doesn't fork() or daemonize.

I'm not entirely sure where to start, but one way to debug would be to check the init.d script and see if running it by hand produces the same results.

Child Tickets

Change History (10)

comment:1 Changed 8 years ago by hellais

I haven't fully looked at how the debian package is being built, I can tell you however why it is hanging there.

When you launch runui.py it starts a web server, but it does not put the process in the background or daemonize. What we should do is either write a wrapper that properly daemonizes runui (maybe non trivial) or simply put it in the background with for example a &.

comment:2 Changed 8 years ago by hellais

See 2e645039c2ea7a7e0684e46799db2a901a5d3cae for a fix for this.

What I basically do is wrap runui around a daemonizing class, double fork magic happens and we have a tor web ui process running in the background.

comment:3 Changed 8 years ago by hellais

Resolution: fixed
Status: newclosed

comment:4 Changed 8 years ago by runa

Resolution: fixed
Status: closedreopened

Seems like something's still broken. When installing torouter-tui, I get the following message:

Setting up torouter-tui (0.0.1-1) ...
Traceback (most recent call last):
  File "/usr/bin/runui.py", line 7, in <module>
    from daemon import Daemon
ImportError: No module named daemon

comment:5 Changed 4 years ago by Linutux

Don't know if it's still broken or not, but if it's missing "module named daemon" we should add python-daemon to the package dependencies.

comment:6 Changed 3 years ago by irl

Severity: Normal

I can't find this package in Debian or in the deb.torproject.org repository. Where is it?

comment:7 Changed 3 years ago by barackobama

I purchase the Debian package. I need help. I visit here goo.gl/GHUVHc for solve my problem.

comment:8 Changed 3 years ago by ioioiola

Cc: ioioioio@… added

comment:9 Changed 3 years ago by arma

Sounds like we should close this ticket as no longer relevant? The 'torouter' idea is ancient history.

comment:10 Changed 2 years ago by irl

Resolution: wontfix
Status: reopenedclosed

Agreed. It's a bug on a package that doesn't exist, so even if it were to be revived then it would be a new ticket for "make a new package".

Note: See TracTickets for help on using tickets.