Bug 1955722 - crond core dumps after updating /usr/lib64/libnss_winbind.so library
Summary: crond core dumps after updating /usr/lib64/libnss_winbind.so library
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cronie
Version: 7.9
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Staněk
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 17:33 UTC by jas
Modified: 2021-05-05 11:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description jas 2021-04-30 17:33:25 UTC
Description of problem:

We use nss module winbind as our Linux hosts are joined to AD. When a software upgrade is done on winbind, and winbind is replaced, we restart winbind, but if crond previously loaded the old nss-winbind library because it was executing user jobs, then when the new module is put into place, crond will segfault each time it tries to run user jobs. 

Version-Release number of selected component (if applicable):

1.4.11-23

Steps to Reproduce:
1. Start crond
2. Make crond execute a job for a user who is in AD
3. Update nss-winbind library
4. Wait for cron to execute the next cron job. It will segfault.

Expected results:

I would expect that crond would close and re-open the nss library between runs.

Additional info:

If I restart crond after replacing winbind, there is no problem.


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