public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] No working "burning" cdrom
@ 2006-11-08 23:14 Luigi Pinna
  2006-11-09  1:04 ` Neil Bothwick
  2006-11-09  5:49 ` Mrugesh Karnik
  0 siblings, 2 replies; 10+ messages in thread
From: Luigi Pinna @ 2006-11-08 23:14 UTC (permalink / raw
  To: List Gentoo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I tried today to burn some backup data with k3b.
Until some days ago all worked perfectly, today I had that message:
growisofs
- -----------------------
:-( unable to anonymously mmap 33554432: Resource temporarily 
unavailable

growisofs command:
- -----------------------
/usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2169087 -dvd-compat -speed=8 -overburn -use-the-force-luke=bufsize:32m 

My dvd-burner is the floppy drive?????
How can I solve that problem? Since it I can't burn my data more...
Thanks,
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFUmTNHmkkjmM/hrcRAk0DAJ0UWT6aASmBYWZNitsn3yD7xDSRQgCeK1j5
ui4Q/zzfHCnaoXPGmVt+MXY=
=LtoW
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-08 23:14 [gentoo-user] No working "burning" cdrom Luigi Pinna
@ 2006-11-09  1:04 ` Neil Bothwick
  2006-11-09  5:49 ` Mrugesh Karnik
  1 sibling, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2006-11-09  1:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

On Thu, 9 Nov 2006 00:14:16 +0100, Luigi Pinna wrote:

> :-( unable to anonymously mmap 33554432: Resource temporarily 
> unavailable

Are you, or K3b, trying to run this as root? This looks like the message
that pops up when you run growisofs as root.

> growisofs command:
> - -----------------------
> /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray
> -use-the-force-luke=tty -use-the-force-luke=tracksize:2169087
> -dvd-compat -speed=8 -overburn -use-the-force-luke=bufsize:32m 
> 
> My dvd-burner is the floppy drive?????

/dev/fd/0 is stdin, /dev/fd0 is the floppy drive.


-- 
Neil Bothwick

Linux like wigwam. No windows, no gates, Apache inside.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-08 23:14 [gentoo-user] No working "burning" cdrom Luigi Pinna
  2006-11-09  1:04 ` Neil Bothwick
@ 2006-11-09  5:49 ` Mrugesh Karnik
  2006-11-09  7:27   ` Luigi Pinna
  1 sibling, 1 reply; 10+ messages in thread
From: Mrugesh Karnik @ 2006-11-09  5:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

On Thursday 09 November 2006 04:44, Luigi Pinna wrote:
> Hi!
> I tried today to burn some backup data with k3b.
> Until some days ago all worked perfectly, today I had that message:
> growisofs
> -----------------------
>
> :-( unable to anonymously mmap 33554432: Resource temporarily
>
> unavailable
>
> growisofs command:
> -----------------------
> /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray
> -use-the-force-luke=tty -use-the-force-luke=tracksize:2169087
> -dvd-compat -speed=8 -overburn -use-the-force-luke=bufsize:32m
>
> My dvd-burner is the floppy drive?????
> How can I solve that problem? Since it I can't burn my data more...
> Thanks,
> Luigi

Its to do with a kernel upgrade. Do a ulimit -l unlimited before 
starting k3b in the same session.


-- 
----------------------------------------
Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net
----------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09  5:49 ` Mrugesh Karnik
@ 2006-11-09  7:27   ` Luigi Pinna
  2006-11-09  8:00     ` Mrugesh Karnik
  0 siblings, 1 reply; 10+ messages in thread
From: Luigi Pinna @ 2006-11-09  7:27 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alle 06:49, giovedì 9 novembre 2006, Mrugesh Karnik ha scritto:
>[...]
> Its to do with a kernel upgrade. Do a ulimit -l unlimited before
> starting k3b in the same session.

As user:
$ ulimit -l unlimited
bash: ulimit: max locked memory: cannot modify limit: Operation not 
allowed

as root it is works!
Now the question is how can I rescue it as default and allow it to 
users?
What does it mean a kernel update?
Thanks, Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFUtiLHmkkjmM/hrcRAkhqAKCUzxKuNjyGWZr4IN3DukAlRFSYTgCeJWgt
DjM2ups9wxmzD5W3YzecTBA=
=WW7R
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09  7:27   ` Luigi Pinna
@ 2006-11-09  8:00     ` Mrugesh Karnik
  2006-11-09  9:40       ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Mrugesh Karnik @ 2006-11-09  8:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On Thursday 09 November 2006 12:57, Luigi Pinna wrote:
> Alle 06:49, giovedì 9 novembre 2006, Mrugesh Karnik ha scritto:
> >[...]
> > Its to do with a kernel upgrade. Do a ulimit -l unlimited before
> > starting k3b in the same session.
>
> As user:
> $ ulimit -l unlimited
> bash: ulimit: max locked memory: cannot modify limit: Operation not
> allowed
>
> as root it is works!
> Now the question is how can I rescue it as default and allow it to
> users?
> What does it mean a kernel update?
> Thanks, Luigi

Yes, it works as root. I was just investigating ways to set that only 
for growisofs. One way is to set it in /etc/profile, but that'll affect 
all processes. I'll let you know when I find the solution. One solution 
I can think of is to run ulimit followed by growisofs in a subshell.. 
but the issue is with being root. I'll let you know.

As for the kernel upgrade, this limit was imposed in 2.6.16 or something 
from what I read.

-- 
----------------------------------------
Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net
----------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09  8:00     ` Mrugesh Karnik
@ 2006-11-09  9:40       ` Neil Bothwick
  2006-11-09 10:01         ` Mrugesh Karnik
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2006-11-09  9:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On Thu, 9 Nov 2006 13:30:36 +0530, Mrugesh Karnik wrote:

> Yes, it works as root. I was just investigating ways to set that only 
> for growisofs. One way is to set it in /etc/profile, but that'll affect 
> all processes. I'll let you know when I find the solution. One solution 
> I can think of is to run ulimit followed by growisofs in a subshell.. 
> but the issue is with being root. I'll let you know.

This limit only applies to the root user, so the question becomes "why
is K3b running growisofs as root?".  Is growisofs suid?


-- 
Neil Bothwick

"Criminal Lawyer" is a redundancy.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09  9:40       ` Neil Bothwick
@ 2006-11-09 10:01         ` Mrugesh Karnik
  2006-11-09 10:16           ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Mrugesh Karnik @ 2006-11-09 10:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

On Thursday 09 November 2006 15:10, Neil Bothwick wrote:
> On Thu, 9 Nov 2006 13:30:36 +0530, Mrugesh Karnik wrote:
> > Yes, it works as root. I was just investigating ways to set that
> > only for growisofs. One way is to set it in /etc/profile, but
> > that'll affect all processes. I'll let you know when I find the
> > solution. One solution I can think of is to run ulimit followed by
> > growisofs in a subshell.. but the issue is with being root. I'll
> > let you know.
>
> This limit only applies to the root user, so the question becomes
> "why is K3b running growisofs as root?".  Is growisofs suid?

ls -l $(which growisofs)
-rws--x--- 1 root burning 71888 2006-10-19 11:33 /usr/bin/growisofs


Apparently, it is. I suppose it is to do with avoiding issues with users 
being in the proper group for burning the disks.

-- 
----------------------------------------
Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net
----------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09 10:01         ` Mrugesh Karnik
@ 2006-11-09 10:16           ` Neil Bothwick
  2006-11-09 22:30             ` Luigi Pinna
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2006-11-09 10:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

On Thu, 9 Nov 2006 15:31:25 +0530, Mrugesh Karnik wrote:

> > This limit only applies to the root user, so the question becomes
> > "why is K3b running growisofs as root?".  Is growisofs suid?  
> 
> ls -l $(which growisofs)
> -rws--x--- 1 root burning 71888 2006-10-19 11:33 /usr/bin/growisofs
> 
> 
> Apparently, it is. I suppose it is to do with avoiding issues with
> users being in the proper group for burning the disks.

Does the problem go away if you chmod 750 /usr/bin/growisofs?


-- 
Neil Bothwick

Windows isn't a virus -- viruses do something!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09 10:16           ` Neil Bothwick
@ 2006-11-09 22:30             ` Luigi Pinna
  2006-11-10  0:39               ` b.n.
  0 siblings, 1 reply; 10+ messages in thread
From: Luigi Pinna @ 2006-11-09 22:30 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alle 11:16, giovedì 9 novembre 2006, Neil Bothwick ha scritto:
> On Thu, 9 Nov 2006 15:31:25 +0530, Mrugesh Karnik wrote:
> > > This limit only applies to the root user, so the question becomes
> > > "why is K3b running growisofs as root?".  Is growisofs suid?
> >
> > ls -l $(which growisofs)
> > -rws--x--- 1 root burning 71888 2006-10-19 11:33 /usr/bin/growisofs
> >
> >
> > Apparently, it is. I suppose it is to do with avoiding issues with
> > users being in the proper group for burning the disks.
>
> Does the problem go away if you chmod 750 /usr/bin/growisofs?

It works again!
Question is why emerge/k3b installed/changed permission with suid bit.
It is a bug?
In everycase: thanks a lot at all of you!
Luigi

- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFU6wrHmkkjmM/hrcRAk8tAKCQ5QnaTzc+NRjMAsh26kHtre4dfgCbBuKw
XTayac918bKdDrSm0bGI++I=
=kJqr
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] No working "burning" cdrom
  2006-11-09 22:30             ` Luigi Pinna
@ 2006-11-10  0:39               ` b.n.
  0 siblings, 0 replies; 10+ messages in thread
From: b.n. @ 2006-11-10  0:39 UTC (permalink / raw
  To: gentoo-user

> It works again!
> Question is why emerge/k3b installed/changed permission with suid bit.
 > It is a bug?

AFAIK, K3b by default gives the suid bit to growisofs and other cd 
recording programs. It complains if it finds these programs without the 
suid bit and asks you to set it for you, however, so you should have 
seen it (It needs your root password to do it, so it's interactive :) )

m.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-11-09 23:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 23:14 [gentoo-user] No working "burning" cdrom Luigi Pinna
2006-11-09  1:04 ` Neil Bothwick
2006-11-09  5:49 ` Mrugesh Karnik
2006-11-09  7:27   ` Luigi Pinna
2006-11-09  8:00     ` Mrugesh Karnik
2006-11-09  9:40       ` Neil Bothwick
2006-11-09 10:01         ` Mrugesh Karnik
2006-11-09 10:16           ` Neil Bothwick
2006-11-09 22:30             ` Luigi Pinna
2006-11-10  0:39               ` b.n.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox