[Bug 1769848] Re: wodim no longer works from non-root accounts

Zaphod BIII maheinmuc at yahoo.de
Fri Nov 2 06:16:36 UTC 2018


K3b also does not work for none-root user any longer.
K3b (Format/Erase rewriteable disk..)-> wodim: Operation not permitted

System
-----------------------
K3b Version: 17.12.3
KDE Version: 5.44.0
Qt Version:  5.9.5
Kernel:      4.15.0-38-generic

Used versions
-----------------------
cdrecord: 1.1.11

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
/usr/bin/wodim: Resource temporarily unavailable. Cannot get mmap for 12587008 Bytes on /dev/zero.
TOC Type: 1 = CD-ROM

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=10 -tao driveropts=burnfree blank=fast


LSB Version:	core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
marcus at saturn:~$ 

Linux saturn 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 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