Bug 1225646 - change configuration of running bitlbee to ForkDaemon
Summary: change configuration of running bitlbee to ForkDaemon
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: bitlbee
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 21:19 UTC by Matěj Cepl
Modified: 2018-04-11 18:52 UTC (History)
5 users (show)

Fixed In Version: 3.4.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-17 02:24:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
suggested patch (1.72 KB, patch)
2015-05-27 21:19 UTC, Matěj Cepl
no flags Details | Diff

Description Matěj Cepl 2015-05-27 21:19:02 UTC
Created attachment 1030836 [details]
suggested patch

Description of problem:
Bitlbee can be run in the multiple modes:

* Inetd -- Run from inetd
* Daemon -- Run as a stand-alone daemon, serving all users from one process.  This saves memory if there are more users, the downside is that when one user hits a crash-bug, all other users will also lose their connection.
* ForkDaemon -- Run as a stand-alone daemon, but keep all clients in separate child processes. This should be pretty safe and reliable to use instead of inetd mode.

Many recent developments in bitlbee are limited only to the ForkedDaemon mode which is also recommended (https://github.com/bitlbee/bitlbee/blob/master/doc/README). Fedora/RHEL packages used to use the Daemon mode (because it used to be the most tested one and worked best with SELinux), but recently Rawhide packages switched to ForkedDaemon. However the daemon mode is deprecated now, and further support for it is limited at best. If we want to keep bitlbee in RHEL-7 in the more or less up-to-date state for some time, we should switch to ForkDaemon.

Package itself could be easily changed by the attached patch, but we need to backport also SELinux policy from Fedora to RHEL. I hope the change is in the commit http://pkgs.fedoraproject.org/cgit/selinux-policy.git/commit/?id=f6c1168684e38f13c6febb64c796099d24500fd9 but completely certain about it.

Should I make a clone for RHEL_7 selinux-policy package?


Version-Release number of selected component (if applicable):
bitlbee-3.4-1.el7.x86_64

Comment 1 Fedora Update System 2015-09-08 22:41:08 UTC
bitlbee-3.4.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8003

Comment 2 Fedora Update System 2015-09-09 23:50:43 UTC
bitlbee-3.4.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update bitlbee'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8003

Comment 3 Fedora Update System 2015-09-17 02:24:17 UTC
bitlbee-3.4.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.