[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-15 Thread Martin Pitt
Nobody sat down and designed the current behavior. Well, checking admin group membership long predates the advent of polkit. admin group members are still _the_ fundamental definition of an administrator in Ubuntu; sudo, polkit, etc. all define their privileges based on that in their default

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-13 Thread Gunnar Hjalmarsson
Okey, okey, I retreat. ;-) Thanks Thomas and Philipp for the additional input. @Martin: What's you thoughts on this? Should l-s be changed to query policykit instead of checking unix groups? ** Changed in: language-selector (Ubuntu) Status: Incomplete = Confirmed -- You received this

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Justin Meyer
PolicyKit's checks are mooted by line 145 of /usr/lib/python2.7/dist- packages/LanguageSelector/gtk/GtkLanguageSelector.py, which reads simply: 145 self.is_admin = (os.getuid() == 0 or in_grp_sudo or in_grp_admin) Later, on line 192: 192 if self.is_admin:

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Gunnar Hjalmarsson
I don't understand what kind of change is needed to address the above observations. The user who is created at a fresh 12.04 installation is initially included in the sudo Unix group, which gives him or her administrative privileges. If other users are made administrators via System Settings -

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Alec Warner
Other users are made 'administrators' via a custom pkla file. [Configuration] AdminIdentities=unix-netgroup:REDACTED_NETGROUP_NAME These users are not in the 'sudo' group, and are not UID 0. antarus@goats4 $ groups eng adm cdrom fuse ops guest ops-perm nonconf mrmagoo corp-kernel goobuntu

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Gunnar Hjalmarsson
On 2012-12-13 02:17, Alec Warner wrote: Other users are made 'administrators' via a custom pkla file. How would language-selector know about the existence of such files? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Gunnar Hjalmarsson
On 2012-12-13 02:17, Alec Warner wrote: if you are suggesting that we manually add (via the UI) all the administrators for the thousands of machines we run...I don't think that is really a workable solution. Maybe not. But I think it's reasonable to assume that those who grant admin privileges

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Thomas Bushnell, BSG
Gunnar, the point here is that the code is checking the wrong thing. Nobody sat down and designed the current behavior. I believe that, in fact policykit *is* the way Ubuntu handles these things. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-12-12 Thread Philipp Wendler
@Gunnar: As I said in the bug report, this is an installation which uses user accounts and groups from an LDAP directory. There is an LDAP group for all network-wide admins, and I am in this group. This group is enabled for sudo and policykit admin rights in the appropriate config files, and I

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-08-15 Thread Steve Atwell
I'm seeing the same problem as Philipp. There's some issue with how Language Selector uses PolicyKit. Adding additional admin identities to local authority doesn't authorize them to set system-wide settings in Language Selector. But adding users to the sudo group works. Here are steps to

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-08-15 Thread Steve Langasek
** Changed in: language-selector (Ubuntu) Status: Confirmed = Triaged ** Changed in: language-selector (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-08-13 Thread Philipp Wendler
Ok, so I added the group I am in as an AdminIdentity in this file. However, in the language selector, the relevant buttons are still grayed out. I am very confident that my change to /etc/polkit-1/localauthority.conf.d/ is right, because it actually changed something for the user account

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-08-10 Thread Steve Langasek
language-selector does not identify admins via sudo; like most desktop services, it uses policykit instead, which is configured via /etc/polkit-1/localauthorityconf.d. On an Ubuntu system, the desktop administrator groups are defined in /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf.

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-06-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: language-selector (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/1008344

[Bug 1008344] Re: [Precise] Language selector won't allow me to install languages

2012-06-04 Thread Philipp Wendler
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008344 Title: [Precise] Language selector won't allow me to install languages To manage notifications about this bug go to: