[network-admin] UI file not found

Bug #174512 reported by Chad Waters
20
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-system-tools

network-admin crashes at startup.

gnome-system-tools/hardy uptodate 2.21.2.1-0ubuntu1

x@x:~$ sudo network-admin
[sudo] password for x:

** (network-admin:15177): CRITICAL **: UI file not found: /usr/share/gnome-system-tools/ui/network.ui

Thanks
-Chad

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that's not a bug, the new version uses policykit and should be run as a normal user, not using sudo as you are doing

Changed in gnome-system-tools:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Invalid
Revision history for this message
Chad Waters (chad) wrote :

I get the same error as a non-root user user.

Attempting to invoke it through nm-applet prompts for password, and then fails silently.

Revision history for this message
mrAshley (launchpad-mrashley) wrote :

Me too.
mrashley@cho:~$ network-admin

** (network-admin:20438): CRITICAL **: UI file not found: /usr/share/gnome-system-tools/ui/network.ui

mrashley@cho:~$ sudo network-admin

** (network-admin:20444): CRITICAL **: UI file not found: /usr/share/gnome-system-tools/ui/network.ui

mrashley@cho:~$

Revision history for this message
chrismine (chrisjan-botha) wrote :

Same here:
chrisjan@ubuntu:~$ network-admin

** (network-admin:10708): CRITICAL **: UI file not found: /usr/share/gnome-system-tools/ui/network.ui

Revision history for this message
Rahul Jain (rahulthewall3000) wrote :

Same here:
** (network-admin:20612): CRITICAL **: UI file not found: /usr/share/gnome-system-tools/ui/network.ui

Revision history for this message
Kow (kow) wrote :

I confirm.

Revision history for this message
Kow (kow) wrote :

This bug may actually be part of a bigger problem with PolicyKit. I noticed my syslog was much larger than it normally is after rebooting today, and I noticed this:

audio[6595]: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
Dec 7 23:48:17 CSC-KDRAKE-002 pulseaudio[6595]: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
Dec 7 23:48:17 CSC-KDRAKE-002 pulseaudio[6595]: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
Dec 7 23:48:17 CSC-KDRAKE-002 pulseaudio[6595]: pid.c: Daemon already running.
Dec 7 23:48:17 CSC-KDRAKE-002 pulseaudio[6595]: main.c: pa_pid_file_create() failed.
Dec 7 23:48:18 CSC-KDRAKE-002 pulseaudio[6601]: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
Dec 7 23:48:18 CSC-KDRAKE-002 pulseaudio[6601]: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
Dec 7 23:48:18 CSC-KDRAKE-002 pulseaudio[6601]: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
Dec 7 23:48:18 CSC-KDRAKE-002 pulseaudio[6601]: pid.c: Daemon already running.
Dec 7 23:48:18 CSC-KDRAKE-002 pulseaudio[6601]: main.c: pa_pid_file_create() failed.
Dec 7 23:48:23 CSC-KDRAKE-002 NetworkManager: <info> Error getting killswitch power: org.freedesktop.Hal.Device.KillSwitch.NotSupported - Access type not supported
Dec 7 23:48:25 CSC-KDRAKE-002 pulseaudio[6636]: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
Dec 7 23:48:25 CSC-KDRAKE-002 pulseaudio[6636]: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
Dec 7 23:48:25 CSC-KDRAKE-002 pulseaudio[6636]: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
Dec 7 23:48:25 CSC-KDRAKE-002 pulseaudio[6636]: pid.c: Daemon already running.
Dec 7 23:48:25 CSC-KDRAKE-002 pulseaudio[6636]: main.c: pa_pid_file_create() failed.

Revision history for this message
Kow (kow) wrote :

Those comments being dumped into the syslog has led to at least 3mb within just the last 6 or 7 hours. If PolicyKit was working properly then so would network-admin, and those users who have been having audio issues as of late would also not be having the issues they are having. IE, PolicyKit appears to be the root cause of all of these issues. I think the Ubuntu Desktop Team is all over it, therefore initially invalidating this bug was likely the proper thing to do. Its not an invalidated bug report but invalidated in respect to network-admin being the problem.

Revision history for this message
Karl.Mo (partyboi2) wrote :

I am also having the same problem with network-admin and also getting same messages in syslogs as Kow has posted.

Revision history for this message
Gaurish Sharma (gslive) wrote :

I also confirm the problem

Revision history for this message
Kow (kow) wrote :

Problem upon further investigation is not that network-admin doesnt see network.ui, its that there is a patch in gnome-system-tools that adds some lines to network.ui that network-manager does not like. This patch would be 83_network-locations-apply-button.dpatch IE, its an Ubuntu change leading to this trouble. I kind of figured that after searching the initially reported error and found nothing except for the Ubuntu bug reports.

Revision history for this message
Dagfinn Ilmari Mannsåker (ilmari) wrote :

I can confirm that disabling 83_network-locations-apply-button.dpatch makes network-admin start and work successfully.

Changed in gnome-system-tools:
status: Invalid → Confirmed
Revision history for this message
Dagfinn Ilmari Mannsåker (ilmari) wrote :

This is a minimal patch to fix the bug. I think the Apply button should be after the other buttons, like it used to be, but this patch doesn't do that.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for your comments it should be looked by a desktop dev.

Changed in gnome-system-tools:
status: Confirmed → Triaged
Revision history for this message
Kow (kow) wrote :

Yay thanks Dagfinn, I figured it was something like that but i HATE XML. :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the work there, I've updated the patch to clean the errors, not use an another widget label and use the correct location

Changed in gnome-system-tools:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-system-tools (2.21.2.1-0ubuntu2) hardy; urgency=low

  * debian/control.in:
    - don't Build-Depends on libglade2-dev the new version use gtkbuild
      (LP: #175922)
  * debian/patches/83_network-locations-apply-button.dpatch:
    - updated the network-admin interface changes (LP: #174512)

 -- Sebastien Bacher <email address hidden> Wed, 12 Dec 2007 18:43:04 +0100

Changed in gnome-system-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.