[Bug 1769848] Re: wodim no longer works from non-root accounts
Comment #3 did not work for me. Comment #8 worked. Thank you everybody, especially Martin! -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
Comment #3 suggested to set CDR_FIFOSIZE=6m in /etc/wodim.conf. This did work for me. -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
Thanks Martin. #8 fixed it for me. -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
I found this solution, see https://bugzilla.redhat.com/show_bug.cgi?id=1580021 sudo chmod u+s /usr/bin/wodim ** Bug watch added: Red Hat Bugzilla #1580021 https://bugzilla.redhat.com/show_bug.cgi?id=1580021 -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
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 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
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@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 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
I was running into this same issue while trying to copy a CD in K3B (in Pop!_OS 18.04 LTS). Thank you for the tip about commenting out CDR_FIFOSIZE, @zaitseff; I'm now unblocked. 😹👍 -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cdrkit (Ubuntu) Status: New => Confirmed -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
Another comment: opening a shell and typing "ulimit -l" (max locked memory) gives 16384 (ie, 16MB). -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
The number of bytes being mmap()ed (12587008 bytes) may well be set in /etc/wodim.conf, where the following line appears by default: CDR_FIFOSIZE=12m Commenting out this line seems to solve the immediate problem, as only 8192 bytes are now mmap()ed--but I have not tested it with a read CD-R disc, as it seems to me that an 8kB FIFO buffer is a bit small! After some testing (without any blank CD-Rs), it seems that CDR_FIFOSIZE=7788k works, but 7789k does not. I don't have anything that looks relevant in /etc/sysctl.conf or /etc/sysctl.d/*. -- 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
[Bug 1769848] Re: wodim no longer works from non-root accounts
Further to my last comment, I'm wondering whether the actual number of bytes that can be successfully mmap()ed is determined by how many other pages are already mmap()ed. Therefore I've set CDR_FIFOSIZE=6m in my /etc/wodim.conf. Hopefully that will work--I'll test it next time I have a CD-R to burn! -- 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