Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153613 - net-misc/NetworkManager: unnecessary dependency on pam_console
Summary: net-misc/NetworkManager: unnecessary dependency on pam_console
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 14:28 UTC by Fabio Erculiani
Modified: 2006-11-05 01:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani 2006-10-31 14:28:16 UTC
Seriously, we have dbus, and NetworkManager from Gentopia used that to deploy a valid policy. Just use the "plugdev" group for that stuff. It's a nonsense???!
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2006-10-31 15:24:06 UTC
I am sorry you disagree with our decision to use pam_console rather than rely on people having to write files to /var/run/console/$username - we went for ease of use rather than for making sure you are in a specific group.  Patches are always welcome, but this is a design choice, and not a bug.
Comment 2 Fabio Erculiani 2006-10-31 15:39:18 UTC
this is an OLD and BAD design choice.
at_console is broken by definition. the RIGHT way is using dbus.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-03 13:33:16 UTC
I'm not much sure how NetworkManager works, but as far as I understand, it's possible to use an alternative method to give permission to users to change the configuration, that wouldn't involve pam_console.

Considering that them PAM team (that at the moment consists of... me? but that's not just me, I can tell) already told in the past that pam_console is barely supported, it's an hack, its implementation leave to desire and so on, if it would be possible to use the plugdev group for authentication (as it's done for pmount) rather than pam_console, it would be a good improvement.

The pam_console method, for who likes it, can be conditioned to a pam_console useflag as it was present in sys-libs/pam-0.78, and disabled by default.

Steev, is this feasible?
Comment 4 Fabio Erculiani 2006-11-03 14:42:28 UTC
thank you guys and don't worry to ask me to help you in that. I really want pam_console out of NetworkManager stuff.
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2006-11-04 16:58:02 UTC
Per metalgod this is fixed.
Comment 6 Fabio Erculiani 2006-11-05 01:06:50 UTC
great :) going to test that asap :)