Bug 28792 - wodim fails in non-root mode
Summary: wodim fails in non-root mode
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: MGA8TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-16 21:53 CEST by Frank Griffin
Modified: 2024-01-16 00:26 CET (History)
4 users (show)

See Also:
Source RPM: cdrkit-1.1.11-15.mga8.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.