error after btpd restart "btcli: cannot open connection"

Bug #275326 reported by Robert
4
Affects Status Importance Assigned to Milestone
btpd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: btpd

if i restart btpd using the following 2 commands in succession: (1) "btcli kill" (2) "btpd"

btpd restarts just fine, and seeds and leeches properly. however, btcli does not work anymore. i get the following error:

btcli: cannot open connection to btpd in /var/lib/btpd: Permission denied

Revision history for this message
Cesare Falco (c.falco) wrote :

This is not properly a bug, it's related to how btpd works in Ubuntu
(see /usr/share/doc/btpd/README.Debian).

btpd runs as a system daemon with its own user, you should use the init script to control it:

sudo /etc/init.d/btpd stop -> kill
sudo /etc/init.d/btpd start -> launch
sudo /etc/init.d/btpd restart -> first kill then launch again

However, I understand this is not very user-friendly. I'm thinking of a better way to force users to manage the daemon correctly. Any suggestion is welcome.

Cheers,
Cesare.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.