Description of problem: The %postinstall scriptlet fails while attempting to create a new initrd image. Version-Release number of selected component (if applicable): kernel-2.6.6-1.422 mkinitrd-3.5.23-1 module-init-tools-3.0-0.pre10.1 How reproducible: Always Steps to Reproduce: 1. rpm -ivh kernel-2.6.6-1.422.i686.rpm 2. 3. Actual results: # rpm -ivh kernel-2.6.6-1.422.i686.rpm Preparing... ########################################### [100%] 1:kernel ########################################### [100%] memlock: Cannot allocate memory Couldn't lock into memory, exiting. mkinitrd failed Expected results: Should install normally. Additional info: 2.6.6-1.414 (and earlier ones) worked fine
Executing the same commands manually results in the same thing. # [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install 2.6.6-1.422 memlock: Cannot allocate memory Couldn't lock into memory, exiting. mkinitrd failed #
this is actually a bug in 414 that you are running; ulimit -l unlimited before the rpm -i will fix it
Yup, that one does it. Thanks. Closing as WORKSFORME.