Bug#575403: Scripts-button ineffective
Package: wicd Version: 1.7.0+ds1-5 Severity: normal After a lot of debugging I believe it is related to the fact that I cannot run a command like: $ gksudo ls on my system... The result is a blink on the screen and the error message: (gksudo:8199): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed On the other hand, $ gksu ls works fine. Both ask for a password, and causes the screen to blink white after the correct password was inputted, but only the latter command produces useful output. I have hacked in support for wicd to run gksu-polkit instead of gksudo, and now I am able to configure the scripts. Now that I think of it, perhaps I should have tried to convert wicd to use gksu instead of gksudo. - Torquil -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35.4 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd depends on: ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager ii wicd-gtk [wicd-client] 1.7.0+ds1-5 wired and wireless network manager wicd recommends no packages. wicd suggests no packages. Versions of packages wicd-gtk depends on: ii python 2.6.6-1 interactive high-level object-orie ii python-glade22.17.0-4GTK+ bindings: Glade support ii python-gtk2 2.17.0-4Python bindings for the GTK+ widge ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager Versions of packages wicd-daemon depends on: ii adduser 3.112 add and remove users and groups ii dbus 1.2.24-3 simple interprocess messaging syst ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy ii dhcp3-client 4.1.1-P1-9 ISC DHCP server (transitional pack ii iproute 20100519-3 networking and traffic control too ii iputils-ping 3:20100418-2 Tools to test the reachability of ii isc-dhcp-client [dhcp 4.1.1-P1-9 ISC DHCP client ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23The NET-3 networking toolkit ii psmisc22.13-1utilities that use the proc file s ii python2.6.6-1interactive high-level object-orie ii python-dbus 0.83.1-1 simple interprocess messaging syst ii python-gobject2.21.4+is.2.21.3-1 Python bindings for the GObject li ii python-iniparse 0.3.2-1Module to access and modify config ii python-wicd 1.7.0+ds1-5wired and wireless network manager ii wireless-tools30~pre9-5 Tools for manipulating Linux Wirel ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I Versions of packages python-wicd depends on: ii python2.6.6-1interactive high-level object-orie ii python-support1.0.9 automated rebuilding support for P -- debconf information: * wicd/users: atle -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575403: Scripts-button ineffective
Package: wicd Version: 1.7.0+ds1-5 Severity: normal Well it was as easy as exchanging the order of gksudo and gksu on line 462 in the file /usr/share/pyshared/wicd/misc.py -Torquil -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35.4 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd depends on: ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager ii wicd-gtk [wicd-client] 1.7.0+ds1-5 wired and wireless network manager wicd recommends no packages. wicd suggests no packages. Versions of packages wicd-gtk depends on: ii python 2.6.6-1 interactive high-level object-orie ii python-glade22.17.0-4GTK+ bindings: Glade support ii python-gtk2 2.17.0-4Python bindings for the GTK+ widge ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager Versions of packages wicd-daemon depends on: ii adduser 3.112 add and remove users and groups ii dbus 1.2.24-3 simple interprocess messaging syst ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy ii dhcp3-client 4.1.1-P1-9 ISC DHCP server (transitional pack ii iproute 20100519-3 networking and traffic control too ii iputils-ping 3:20100418-2 Tools to test the reachability of ii isc-dhcp-client [dhcp 4.1.1-P1-9 ISC DHCP client ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23The NET-3 networking toolkit ii psmisc22.13-1utilities that use the proc file s ii python2.6.6-1interactive high-level object-orie ii python-dbus 0.83.1-1 simple interprocess messaging syst ii python-gobject2.21.4+is.2.21.3-1 Python bindings for the GObject li ii python-iniparse 0.3.2-1Module to access and modify config ii python-wicd 1.7.0+ds1-5wired and wireless network manager ii wireless-tools30~pre9-5 Tools for manipulating Linux Wirel ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I Versions of packages python-wicd depends on: ii python2.6.6-1interactive high-level object-orie ii python-support1.0.9 automated rebuilding support for P -- debconf information: * wicd/users: atle -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575403: Scripts-button ineffective
Package: wicd-gtk Severity: normal I don't think it is an issue of incorrect password, because my user password is the same as the root password. Maybe I should change that now that I have admitted it here... :-) Torquil -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd-gtk depends on: ii python2.5.4-9An interactive high-level object-o ii python-glade2 2.17.0-2 GTK+ bindings: Glade support ii python-gtk2 2.17.0-2 Python bindings for the GTK+ widge pn wicd-daemon none (no description available) Versions of packages wicd-gtk recommends: ii gksu 2.0.2-2+b1 graphical frontend to su ii python-notify 0.1.1-2+b2 Python bindings for libnotify ii sudo 1.7.2p6-1 Provide limited super user privile wicd-gtk suggests no packages. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575403: Scripts-button ineffective
On Mon, 24 May 2010 19:30:36 +0200, Torquil Macdonald Sørensen wrote: I don't think it is an issue of incorrect password, because my user password is the same as the root password. Maybe I should change that now that I have admitted it here... :-) Thanks for the quick reply. I'll investigate it further then :/ Have a nice evening, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Bug#575403: Scripts-button ineffective
Package: wicd-gtk Version: 1.7.0+ds1-2 Severity: normal While the password prompt shows, I have a process 'gksudo' running. That is probably it. I can find no gtksu in Debian with the command 'apt-file search gtksu'. Conincidentally, I'm running Gnome instead of XFCE nowadays, and the problem still presists. Do I need a special line in my sudoers file? No error message appears on the command line as the password prompt fails to present me with the Scripts configuration window. Torquil -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd-gtk depends on: ii python 2.5.4-9 An interactive high-level object-o ii python-glade22.17.0-2GTK+ bindings: Glade support ii python-gtk2 2.17.0-2Python bindings for the GTK+ widge ii wicd-daemon 1.7.0+ds1-2 wired and wireless network manager Versions of packages wicd-gtk recommends: ii gksu 2.0.2-2+b1 graphical frontend to su ii python-notify 0.1.1-2+b2 Python bindings for libnotify ii sudo 1.7.2p6-1 Provide limited super user privile wicd-gtk suggests no packages. Versions of packages wicd-daemon depends on: ii adduser 3.112add and remove users and groups ii dbus1.2.24-1 simple interprocess messaging syst ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy ii dhcp3-client3.1.3-2 DHCP client ii iproute 20100224-5 networking and traffic control too ii iputils-ping3:20100214-1 Tools to test the reachability of ii lsb-base3.2-23.1 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ii psmisc 22.11-1 utilities that use the proc file s ii python 2.5.4-9 An interactive high-level object-o ii python-dbus 0.83.1-1 simple interprocess messaging syst ii python-gobject 2.21.1-1 Python bindings for the GObject li ii python-iniparse 0.3.2-1 Module to access and modify config ii python-wicd 1.7.0+ds1-2 wired and wireless network manager ii wireless-tools 30~pre9-4Tools for manipulating Linux Wirel ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I Versions of packages python-wicd depends on: ii python-support1.0.8 automated rebuilding support for P -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575403: Scripts-button ineffective
On Thu, 06 May 2010 10:00:40 +0200, Torquil Macdonald Sørensen wrote: Package: wicd-gtk Version: 1.7.0+ds1-2 Severity: normal While the password prompt shows, I have a process 'gksudo' running. That is probably it. I can find no gtksu in Debian with the command 'apt-file search gtksu'. Yes, sorry, I meant gksudo, or any sudo client for that matters. Conincidentally, I'm running Gnome instead of XFCE nowadays, and the problem still presists. Ok, I don't believe it's DE-specific. Do I need a special line in my sudoers file? Just for the sake of testing, would you please try adding the following line to your /etc/sudoers ? youruser ALL=NOPASSWD: ALL Just curious if the message disappears. This obviously needs fixing, though. Thank you, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Bug#575403: Scripts-button ineffective
Package: wicd-gtk Version: 1.7.0+ds1-2 Severity: normal Yes, the problem disappears after I add that line to sudoers. What happens now is: 1) I press the Scripts button 2) I get an info window informing me about starting a window with root priveliges without using a password. The title is Granted permissions without asking for password. The Configure scripts window appears at the same time. The message in the info window is (quote): * The '/usr/share/wicd/gtk/configscript.py '0' 'wireless'' program was started with the privileges of the root user without the need to ask for a password, due to your system's authentication mechanism setup. It is possible that you are being allowed to run specific programs as user root without the need for a password, or that the password is cached. This is not a problem report; it's simply a notification to make sure you are aware of this. I'll probably not keep that sudoers line since it is probably a security risk. Maybe I'll include a more restrictive version of it. Btw, my user is a member of the following groups (in addition to the group with the same name as the user): dialout cdrom floppy audio video plugdev bluetooth powerdev netdev Best regards Torquil Sørensen -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wicd-gtk depends on: ii python 2.5.4-9 An interactive high-level object-o ii python-glade22.17.0-2GTK+ bindings: Glade support ii python-gtk2 2.17.0-2Python bindings for the GTK+ widge ii wicd-daemon 1.7.0+ds1-2 wired and wireless network manager Versions of packages wicd-gtk recommends: ii gksu 2.0.2-2+b1 graphical frontend to su ii python-notify 0.1.1-2+b2 Python bindings for libnotify ii sudo 1.7.2p6-1 Provide limited super user privile wicd-gtk suggests no packages. Versions of packages wicd-daemon depends on: ii adduser 3.112add and remove users and groups ii dbus1.2.24-1 simple interprocess messaging syst ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy ii dhcp3-client3.1.3-2 DHCP client ii iproute 20100224-5 networking and traffic control too ii iputils-ping3:20100214-1 Tools to test the reachability of ii lsb-base3.2-23.1 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ii psmisc 22.11-1 utilities that use the proc file s ii python 2.5.4-9 An interactive high-level object-o ii python-dbus 0.83.1-1 simple interprocess messaging syst ii python-gobject 2.21.1-1 Python bindings for the GObject li ii python-iniparse 0.3.2-1 Module to access and modify config ii python-wicd 1.7.0+ds1-2 wired and wireless network manager ii wireless-tools 30~pre9-4Tools for manipulating Linux Wirel ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I Versions of packages python-wicd depends on: ii python-support1.0.8 automated rebuilding support for P -- debconf information: * wicd/users: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575403: Scripts-button ineffective
tags 575403 = confirmed thanks On Thu, 06 May 2010 17:59:14 +0200, Torquil Macdonald Sørensen wrote: Package: wicd-gtk Version: 1.7.0+ds1-2 Severity: normal Yes, the problem disappears after I add that line to sudoers. What happens now is: [..] Ok, thanks for the info. I'll have a deeper look later this weekend (when I'm planning to have some more free time) Thank you, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature