Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48320 - [bitlbee] systemd runs bitlbee as root

Attached to Project: Arch Linux
Opened by archaurwiki (archaurwiki) - Wednesday, 24 February 2016, 10:10 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 24 February 2016, 14:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bitlbee.service will run bitlbee as root even though this package creates a bitlbee user/group. Running as root is unnecessary and bitlbee will only complain with "BitlBee is running with root privileges. Why?"

Additional info:
bitlbee 3.4.1-1

Solution:
Set correct user/group under [Service]

[Service]
User=bitlbee
Group=bitlbee
ExecStart=/usr/bin/bitlbee -F -n

Notes:
If bitlbee complains about being unable to write to .pid in /run/bitlbee after applying solution, then stop bitlbee and sudo rm -f /run/bitlbee/bitlbee.pid because it is lingering from when bitlbee was ran as root and now needs to write a new pid using bitlbee user permissions.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 24 February 2016, 14:42 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#39773 

Loading...