Illustrating the Ubuntu clown car, AccountsService editionAugust 23, 2012
AccountsService is a
freedesktop.org thing to let other programs get (and set, with
appropriate magic PolicyKit permissions) various information about
user accounts over DBus (because everything has to go over DBus
these days). The package's major component is (By the way, it also theoretically lets other programs create, delete, and modify system properties of logins. If this is not alarming you, you are probably not a sysadmin.) As shipped by freedesktop.org, (This problem is particularly striking because it isn't necessary.
Accounts-daemon is doing all of this work just to see if an account is
in group But this wasn't good enough for Ubuntu. Two of the account properties
that you can get or set are the account's language and its locale
(okay, the Ubuntu version adds the locale). In the stock code, these
have no default value; if they have not been set explicitly over
DBus by an outside program, they're null. In Ubuntu 12.04, Ubuntu
decided that this wasn't good enough. If either is unset and you ask
for its value the Ubuntu code tries to guess their correct value by
opening and crudely scanning (See /usr/share/language-tools/language-validate. I am not making this up.) By the way, none of this is cached. For example, the code is perfectly
happy to read Let's set aside everything that's wrong about crudely, unconditionally,
and blindly scanning a (Oh, and until this scan finishes the tools and logout menu is empty. This is somewhere between annoying and disconcerting to users, and leaves them unable to log out cleanly.) While the same modifications to the accountsservice source package are in current versions of Debian testing, it's clear that they come from Ubuntu and were propagated into Debian. This really is an all-Ubuntu show; these modifications aren't in the upstream code and Ubuntu did not get them from someone else, they developed all of this mess themselves. Sidebar: how bad the scan of
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |