The sudoers and status bar edits have been removed temporarily from the
latest build pending a resolution.

-----Original Message-----
From: Spencer, Bob 
Sent: Monday, October 15, 2007 12:10 PM
To: Tollef Fog Heen; [email protected]; Brandt, Todd E
Subject: RE: Moblin-applets



Tollef Fog Heen wrote:
> * Matthew Garrett
> 
>> There's a couple of issues with moblin-applets that I'd prefer to
>> discuss before getting it into the archive. The first of these is the
>> modification of the hildon-desktop statusbar config. Shipping a copy
>> in hildon-desktop and then modifying it in the moblin-applets
>> postinst would result in a conflict every time the file changes in
>> the hildon-desktop package. Diversions work badly with conffiles, so
>> I'd be interested in opinions on how to handle this situation.
> 
> The usual way would be to make hildon-desktop have a statusbar.d with
> configuration file fragments it assembles. 
> 
> [...]

All of the statusbar plugins already have .desktop files in
/usr/share/applications/hildon-desktop/statusbar .  The file
/etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the
order.  Perhaps they could add an entry for [*] to get anything not
explicitely listed, then we wouldn't need to edit hildon-desktop when we
add a new statusbar plugin.

We have similar problems with the other configuration files, such as
marquee.conf.  The /etc/hildon-desktop/desktop.conf file references
"marquee.conf" and marquee.conf is part of hildon-desktop, but its
contents are controled by a separate package.  If we want to change the
layout we have to change hildon-desktop.

> 
>> A better solution would involve separation of privileges, with the
>> privileged operations being carried out by a suid backend with
>> careful validation of all input. However, I appreciate that
>> implementing this before gutsy is probably unrealistic. What do
>> other people think? 
> 
> Agreed on both counts.  Would it be possible to make it use gksu and
> not modify sudoers, for now? 

"For now" I we removed sudoers editing and I believe thereby disallow
the user to change the date/time using the UI dialog.  Todd, can you
confirm?
We'll look into gksu.
Bob

> 
> --
> Tollef Fog Heen
> UNIX is user friendly, it's just picky about who its friends are

-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to