Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156056 - /dev/nvidiactl incorrect permissions. (probably due to sys-auth/pam_console)
Summary: /dev/nvidiactl incorrect permissions. (probably due to sys-auth/pam_console)
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 156062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-23 12:53 UTC by Avuton Olrich
Modified: 2007-01-23 23:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a quick patch (pam_console-0.99.6.2.3.6.ebuild.diff,437 bytes, patch)
2006-11-23 13:49 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2006-11-23 12:53:34 UTC
Lately I've noticed my /dev/nvidiactl is getting permissions of

crw------- 1 root root 195, 255 Nov 15 14:19 /dev/nvidiactl

I believe this started happening after the pam pam_console updates. To try to troubleshoot the problem first I looked at: 

sbh@rocket ~ % grep '<dri>' /etc/security/console.perms.d/50-default.perms
<dri>=/dev/nvidia* /dev/3dfx* /dev/dri/card*
<console>  0600 <dri>        0600 root

I think this is the problem. I don't have any boxes that have the old default.perms file on it, but I believe it was different. 

After changing to:
crw-rw---- 1 root games 195, 255 Nov 15 14:19 /dev/nvidiactl

the game works fine. Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-23 13:49:56 UTC
Created attachment 102606 [details, diff]
a quick patch

(And yeah, I'm dead serious on this one)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-23 13:58:46 UTC
*** Bug 156062 has been marked as a duplicate of this bug. ***
Comment 3 Avuton Olrich 2006-11-23 14:10:50 UTC
I don't understand. If the package were broken it'd be one thing, but it's a default perms problem. Besides it worked before. And it's easily fixable. Why shouldn't it be fixed?

And if you're gonna apply that patch it should probably be something more like: 

"Do NOT report any permissions-related issues to Gentoo bugzilla."
to
"Do NOT report any permissions-related issues about this ebuild to Gentoo bugzilla."

Sorry about the dupe, it's related to the b.g.o deal today.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-23 07:10:35 UTC
I've added a similar disclaimer on 0.99.7.0.2.7 version.

If you want, you can ask RedHat to fix it, or gentopia to stop recommending to use the crap that pam_console is.

Hint: if you use your system to play, it's unlikely you actually need pam_console at all.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-01-23 13:54:45 UTC
Diego, we don't recommend pam_console. It's just necessary for some setups with HAL.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-23 14:12:35 UTC
Potato, potato.. rather you should be stating clearly _when_ it is needed, because for most of home setups it is not needed at all, but people still think there's a cool factor in it.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2007-01-23 23:55:45 UTC
And that's where you hit them with the *boom* stick... the one with 50,000 volts in it. Cool factor people need to get shot.