Red Hat Bugzilla – Bug 172398
preinstall script runs adduser which does not exit
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 CentOS/1.7.12-1.4.1.centos4
Description of problem:
When upgrading to openssh-server-3.9p1-8.RHEL4.9 from an older version using yum, the preinstall script:
preinstall scriptlet (using /bin/sh):
/usr/sbin/useradd -c "Privilege-separated SSH" -u 74 \
-s /sbin/nologin -r -d /var/empty/sshd sshd 2> /dev/null || :
runs useradd which sits in a tight loop using up CPU. This process also cannot be killed even with a kill -9. This only happens on x86_64, and not i386.
I have duplicated this 3 times on 3 different x86_64 installations
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade RHEL from 4.1 to 4.2 on x86_64
Actual Results: useradd sits in a tight loop using cpu, and the yum upgrade will not continue.
Expected Results: the package should have been upgraded normally
1. Upgrading RHEL using yum is not supported.
2. This is definitely not a bug in openssh.
3. This is most probably some problem with kernel and upgrade of auditd.
4. Try to upgrade the kernel first.