[Bug 1769848] Re: wodim no longer works from non-root accounts
Martin Heckenbach
1769848 at bugs.launchpad.net
Tue Dec 11 18:00:05 UTC 2018
I also see this problem in Ubuntu 18.10 cosmic:
$ wodim -prcap
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
wodim: Resource temporarily unavailable. Cannot get mmap for 12587008 Bytes on /dev/zero.
Kernel is:
Linux 4.18.0-12-generic #13-Ubuntu SMP Wed Nov 14 15:17:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cdrkit in Ubuntu.
https://bugs.launchpad.net/bugs/1769848
Title:
wodim no longer works from non-root accounts
Status in cdrkit package in Ubuntu:
Confirmed
Bug description:
With the upgrade from Artful to Bionic (18.04 LTS), wodim no longer
works for non-root users. Given that the cdrkit package itself has
not changed (version 9:1.1.11-3ubuntu2), the most likely culprit is in
the Linux kernel (Bionic, currently linux-image-4.15.0-20-generic
4.15.0-20.21).
In particular, running "wodim -v -dao -audio -copy *.wav" as a non-
root user under Bionic now generates the following; this previously
worked correctly in Artful and prior releases of Ubuntu:
TOC Type: 0 = CD-DA
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
wodim: Resource temporarily unavailable. Cannot get mmap for 12587008 Bytes on /dev/zero.
The exit code is 11.
Note that the user in question is a member of the cdrom group, and
running "ls -la /dev/sr0" gives:
brw-rw----+ 1 root cdrom 11, 0 May 8 18:39 /dev/sr0
Attached is an strace of running the above command line. I could not
find any workaround by a reasonably quick search of the Internet.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/1769848/+subscriptions
More information about the foundations-bugs
mailing list