Bug 28792

Summary: wodim fails in non-root mode
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, joequant, ouaurelien, paul.blackburn
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA8TOO
Source RPM: cdrkit-1.1.11-15.mga8.src.rpm CVE:
Status comment:

Description Frank Griffin 2021-04-16 21:53:33 CEST
I have an older backup application which invokes wodim to burn optical backups.  I haven't run it for a while, and when I tried now, wodim throws the following error:

Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits

and the burn aborts about halfway through.

Googling this, I find that this problem has been around for several years, and has to do with wodim not running as root.  Workarounds involving /etc/wodim.conf have been suggested, but I could not make them work.

The workaround that *does* work is to set the sticky bit on the wodim executable, e. g. :

       chmod +s /usr/bin/wodim

We might consider doing this as part of our wodim install.
Comment 1 Aurelien Oudelet 2021-04-18 20:50:58 CEST
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

CC: (none) => jani.valimaa, joequant, ouaurelien
Assignee: bugsquad => pkg-bugs
Source RPM: wodim => cdrkit-1.1.11-15.mga8.src.rpm
Whiteboard: (none) => MGA8TOO

Comment 2 Paul Blackburn 2024-01-16 00:26:56 CET
Saw the same bug in Mageia 9 today.

CC: (none) => paul.blackburn