From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040518 Firefox/0.8 Description of problem: Hi. I am running Core with 128 MB of RAM which is rather low, but I think sufficient. However, in lomount.c , part of losetup, this fails with ENOMEM: #ifdef MCL_FUTURE /* * Oh-oh, sensitive data coming up. Better lock into memory to prevent * passwd etc being swapped out and left somewhere on disk. */ if(mlockall(MCL_CURRENT | MCL_FUTURE)) { perror("memlock"); fprintf(stderr, _("Couldn't lock into memory, exiting.\n")); exit(1); } #endif causing this: [root@cobra mount]# free total used free shared buffers cached Mem: 127096 119556 7540 0 6416 53872 -/+ buffers/cache: 59268 67828 Swap: 512024 64616 447408 [root@cobra mount]# ./losetup /dev/loop0 /initrd2 memlock: Cannot allocate memory Couldn't lock into memory, exiting. [root@cobra mount]# ls causing mkinitrd to fail causing new-kernel-pkg to fail causing me to not be able to install a new kernel properly, which sucks, because I can't test SElinux :) So - what should be done. I hope the answer is not "get more RAM". Version-Release number of selected component (if applicable): util-linux-2.12-18 How reproducible: Always
Please help me out here - I can't install any new kernels properly... Some clue as to what can be done? Thanks for any help in advance. I.G.
Fixed in newer kernels.