Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
I have been running ypserv for several years without incident on a single server. A cron job is set to update the data every 10 minutes. I just noticed that the update process broke for me on Dec. 30th or at least that is the date on /var/yp/{domain}/passwd.byname file.
When I manually cd into /var/yp and run make I get the following error:
# make
gmake[1]: Entering directory `/var/yp/{domain}'
Updating passwd.byname...
makedbm: dbm_store: Success
gmake[1]: *** [passwd.byname] Error 1
gmake[1]: Leaving directory `/var/yp/{domain}'
make: *** [target] Error 2
I replaced my real domain name with {domain} above.
I moved my /var/yp/{domain} directory to a new name and created the directory again... and tried to initialize my domain from scratch by going into /var/yp and running:
/usr/lib64/yp/ypinit -m
I made sure the ypdomainname returned the correct value prior to running that... and the command just gives the same error... it attempts to generate the target files and fails immediately with two ~ files left behind in the attempt.
My source files are fine that is to say that the yp configuration has not changed and nothing else on the server has changed other than just keeping up with updates. Things like /etc/passwd, /etc/shadow, and /etc/group are in good working condition and users who ssh in can authenticate file using local auth. I did a vipw, vipw -s, vigr, etc... and the source files are valid. The system is still functioning because it keeps the old data files behind since it can't generate replacement files... leaving ~ files behind.
I tried stracing the make process and nothing jumped out at me. SELinux (due to a wide range of other factors) has been set to permissive for some time now... and nothing in the logs seems related / informative.
I'm in a big bind because of the service failure and plan on setting up OpenLDAP on the same server to see if that can get me by until I can figure it out.
Version-Release number of selected component (if applicable):
ypserv-2.19-26.el6_4.2.x86_64
How reproducible:
Run "cd /var/yp ; make" or "cd /var/yp ; /usr/lib64/yp/ypinit -m" and it fails.
Steps to Reproduce:
1. cd /var/yp
2. make
3.
Actual results:
Errors with error mentioned at the top of this report
Expected results:
It should rebuild all of the target files in /var/yp/{domain}
Additional info:
I discovered that this problem was caused by the update to gdbm-1.8.0-37.el6.x86_64.rpm
Reverting back to gdbm-1.8.0-36.el6.x86_64.rpm completely fixes the problem.
Description of problem: I have been running ypserv for several years without incident on a single server. A cron job is set to update the data every 10 minutes. I just noticed that the update process broke for me on Dec. 30th or at least that is the date on /var/yp/{domain}/passwd.byname file. When I manually cd into /var/yp and run make I get the following error: # make gmake[1]: Entering directory `/var/yp/{domain}' Updating passwd.byname... makedbm: dbm_store: Success gmake[1]: *** [passwd.byname] Error 1 gmake[1]: Leaving directory `/var/yp/{domain}' make: *** [target] Error 2 I replaced my real domain name with {domain} above. I moved my /var/yp/{domain} directory to a new name and created the directory again... and tried to initialize my domain from scratch by going into /var/yp and running: /usr/lib64/yp/ypinit -m I made sure the ypdomainname returned the correct value prior to running that... and the command just gives the same error... it attempts to generate the target files and fails immediately with two ~ files left behind in the attempt. My source files are fine that is to say that the yp configuration has not changed and nothing else on the server has changed other than just keeping up with updates. Things like /etc/passwd, /etc/shadow, and /etc/group are in good working condition and users who ssh in can authenticate file using local auth. I did a vipw, vipw -s, vigr, etc... and the source files are valid. The system is still functioning because it keeps the old data files behind since it can't generate replacement files... leaving ~ files behind. I tried stracing the make process and nothing jumped out at me. SELinux (due to a wide range of other factors) has been set to permissive for some time now... and nothing in the logs seems related / informative. I'm in a big bind because of the service failure and plan on setting up OpenLDAP on the same server to see if that can get me by until I can figure it out. Version-Release number of selected component (if applicable): ypserv-2.19-26.el6_4.2.x86_64 How reproducible: Run "cd /var/yp ; make" or "cd /var/yp ; /usr/lib64/yp/ypinit -m" and it fails. Steps to Reproduce: 1. cd /var/yp 2. make 3. Actual results: Errors with error mentioned at the top of this report Expected results: It should rebuild all of the target files in /var/yp/{domain} Additional info: