Public bug reported:

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.

** Affects: cdrkit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "strace output of wodim"
   
https://bugs.launchpad.net/bugs/1769848/+attachment/5135995/+files/wodim-strace

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769848

Title:
  wodim no longer works from non-root accounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/1769848/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to