Bug 1225646

Summary: change configuration of running bitlbee to ForkDaemon
Product: [Fedora] Fedora EPEL Reporter: Matěj Cepl <mcepl>
Component: bitlbeeAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: gholms, mcepl, mcepl, mgrepl, redhat-bugzilla
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.4.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-17 02:24:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
suggested patch none

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.