Bug#423178: gnome-panel: time-admin applet called without gksu

Otavio Salvador otavio at ossystems.com.br
Thu May 10 01:03:06 UTC 2007


Package: gnome-panel
Version: 2.18.1-1+b1
Severity: normal
Tags: patch

Hello,

While making our derivative we found a trivial bug serious bug (from
user point of view) and we'd like to merge the patch on Debian to
avoid diverting from it.

If we've setted the system to use sudo, user cannot change the system
time and date since root account is locked. A simple solutions is call
time-admin with gksu.

If you don't want to merge this patch, please let us know and we can work out another solution that is suitable for Debian and our needs.

--- a/applets/clock/clock.c       2007-03-05 17:58:48.000000000 -0300
+++ b/applets/clock/clock.c       2007-03-05 17:59:08.000000000 -0300
@@ -83,7 +83,7 @@
 	"system-config-date",
 	"redhat-config-date",
         "/sbin/yast2 timezone",
-	"time-admin",
+ 	"/usr/bin/gksu time-admin",
 };
 
 /* Needs to match the indices in the combo */

Thanks in advance,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-panel depends on:
ii  gnome-about                2.18.1-1      The GNOME about box
ii  gnome-control-center       1:2.18.1-1    utilities to configure the GNOME d
ii  gnome-desktop-data         2.18.1-1      Common files for GNOME 2 desktop a
ii  gnome-menus                2.18.0-1      an implementation of the freedeskt
ii  gnome-panel-data           2.18.1-1      common files for GNOME 2 panel
ii  libart-2.0-2               2.3.19-3      Library of functions for 2D graphi
ii  libatk1.0-0                1.18.0-2      The ATK accessibility toolkit
ii  libbonobo2-0               2.18.0-2      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.18.0-5      The Bonobo UI library
ii  libc6                      2.5-7         GNU C Library: Shared libraries
ii  libcairo2                  1.4.6-1       The Cairo 2D vector graphics libra
ii  libdbus-1-3                1.0.2-5       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.73-2        simple interprocess messaging syst
ii  libebook1.2-9              1.10.1-2      Client library for evolution addre
ii  libecal1.2-7               1.10.1-2      Client library for evolution calen
ii  libedataserver1.2-9        1.10.1-2      Utility library for evolution data
ii  libedataserverui1.2-8      1.10.1-2      GUI utility library for evolution 
ii  libfontconfig1             2.4.2-1.2     generic font configuration library
ii  libgconf2-4                2.18.0.1-3    GNOME configuration database syste
ii  libglade2-0                1:2.6.0-4     library to load .glade files at ru
ii  libglib2.0-0               2.12.12-1     The GLib library of C routines
ii  libgnome-desktop-2         2.18.1-1      Utility library for loading .deskt
ii  libgnome-keyring0          0.8.1-2       GNOME keyring services library
ii  libgnome-menu2             2.18.0-1      an implementation of the freedeskt
ii  libgnome2-0                2.18.0-4      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.18.1-2      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.18.1-2    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.10.12-1     The GTK+ graphical user interface 
ii  libice6                    1:1.0.3-2     X11 Inter-Client Exchange library
ii  liborbit2                  1:2.14.7-0.1  libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.18.1-1+b1   library for GNOME 2 panel applets
ii  libpango1.0-0              1.16.2-2      Layout and rendering of internatio
ii  libpopt0                   1.10-3        lib for parsing cmdline parameters
ii  libsm6                     1:1.0.2-2     X11 Session Management library
ii  libstartup-notification0   0.9-1         library for program launch feedbac
ii  libwnck18                  2.18.0-2      Window Navigator Construction Kit 
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxau6                    1:1.0.3-2     X11 authorisation library
ii  libxcursor1                1:1.1.8-2     X cursor management library
ii  libxext6                   1:1.0.3-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.3-2     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.2-1     X11 Xinerama extension library
ii  libxml2                    2.6.28.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.2.1-1     X11 RandR extension library
ii  libxrender1                1:0.9.2-1     X Rendering Extension client libra
ii  menu-xdg                   0.2.3         freedesktop.org menu compliant win

Versions of packages gnome-panel recommends:
ii  evolution-data-server         1.10.1-2   evolution database backend server
pn  gnome-applets                 <none>     (no description available)
ii  gnome-session                 2.18.0-1   The GNOME 2 Session Manager

-- no debconf information





More information about the pkg-gnome-maintainers mailing list