Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - btpd

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: btpd 0.16-5

Git Clone URL: https://aur-dev.archlinux.org/btpd.git (read-only)
Package Base: btpd
Description: BitTorrent client consisting of a daemon and client commands to control the daemon
Upstream URL: http://github.com/btpd/btpd
Licenses: custom
Submitter: qguv
Maintainer: qguv
Last Packager: qguv
Votes: 4
Popularity: 0.030453
First Submitted: 2016-01-31 17:52
Last Updated: 2016-07-01 15:11

Latest Comments

qguv commented on 2017-02-01 20:39

nobodyimportant: Like the message is telling you, you've installed a package (bluez-utils) that provides a binary (btinfo) that has the same name as one provided by btpd. You can change the name of the binary if that's causing issues for you.

nobodyimportant commented on 2017-02-01 17:50

error: failed to commit transaction (conflicting files)
btpd: /usr/bin/btinfo exists in filesystem
Errors occurred, no packages were upgraded.

/usr/bin/btinfo is owned by bluez-utils 5.43-2


qguv commented on 2016-07-01 15:15

alive4ever: I agree. Thank you for your patch; I've merged it and added you as a contributor. Your patch had a couple errors, but these are fixed. Check out the changes history if you're interested.

alive4ever commented on 2016-07-01 09:38

I've sent a patch. I hope it'll be useful.

alive4ever commented on 2016-07-01 07:28

The btpd daemon should run with its own uid/gid. A postinstall action should be available, to create a system user to run the daemon. Here is an example

post_install() {
printf "Creating btpd system user...\n"
getent passwd btpd >/dev/null || useradd -r -m -d /var/btpd -s /bin/nologin btpd 2>/dev/null
post_upgrade() {
post_remove() {
printf "Removing btpd system user...\n"
getent passwd btpd >/dev/null && userdel -r btpd 2>/dev/null

The btpd.service should also be modified to run under btpd's system user instead of root.

ExecStart=/usr/bin/btpd --no-daemon