[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RLIMIT_MEMLOCK prevents burning CDROM



On Sun, Dec 12, 2010 at 03:19:07PM -0500, Ken Heard wrote:
> On checking the debug file, I found the following:
> 
> cdrecord
> /usr/bin/wodim: Operation not permitted.
> 	Warning: Cannot raise RLIMIT_MEMLOCK limit.
> 
> I googled that term and found that it apparently has something to do
> with security, but if the limit is too low I should raise it.  To do so
> I was told to add these two lines to file /etc/security/limits.conf:
> 
> *               soft    memlock         unlimited
> *               hard    memlock         unlimited
> 
> I looked at that file, but there is no uncommented line in it, nor any
> commented line resembling those two.
> 
> Running the command "ulimit" however returns "unlimited".

Same here, but ... ?
 
> Next I was able successfully to burn a CDROM in a different computer
> which has the same K3B configuration as the first one, as far as I could
> see.  So it is a mystery to me why I could burn on the second computer
> but not the first.

Different CDROM drive? Missing software? ... ???

Try at the "bare-bones" level, i.e 

root@fischer:~# wodim -v speed=2 dev=/dev/hdX cdimage.raw

You may need to run "wodim --devices" to get the X value.

-- 
"Religion is excellent stuff for keeping common people quiet."
   -- Napoleon Bonaparte


Reply to: