Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add policy for /usr/libexec/samba/samba-bgqd #2301

Draft
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Aug 7, 2024

samba-bgqd is an helper program added in samba v4.20.2 to be spawned by smbd or spoolssd to perform jobs like updating the printer list or other management tasks asynchronously on demand. It is not intended to be called by users or administrators.

samba-bgqd is an helper program added in samba v4.20.2 to be spawned by
smbd or spoolssd to perform jobs like updating the printer list or other
management tasks asynchronously on demand. It is not intended to be
called by users or administrators.

Resolves: RHEL-53124
@cryptomilk
Copy link

By default samba-bgqd is started on demand by samba-dcerpcd in Samba.

samba-bgqd is a deamon enumerating cups printers and storing the gathered information in a cache. The issue is that it takes ~1 second to get the information about a printer. There are print servers out there with 20 or 60 printers. So enumerating 60 printers takes ~60sec. The problem is that if samba-bgqd is started on demand and enumerating printers is taking too long, the process will get killed before it is ready.

Providing a way to start samba-bgqd as a systemd service and always having it running in the background solves this. The problem is sometimes that we are a very very small team for a very big software project. And something there are a few thing we don't test thoroughly.

I'm fine with creating a policy for RHEL 9.6 for this. It is not urgent to fix the issue, but we have to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants