Can't Grant Authorizations, Add/Edit Users, or Shutdown/Restart

<noob warning: FBSD day 6>
Despite my best efforts to find a solution out in general Google land, I seems to have an intractable problem with Polkit or a related system/daemon/module.

Symptoms:
Code:
   The Grant button under systems/preferences/authorizations
     is perpetually greyed out. I can not make changes.
   The Add User button (system/administration/users and groups)
     is also perpetually greyed out. (I know no one would ever
     add users from there, it's just a symptom of the problem)
   I can't shutdown or restart (although sudo shutdown and 
     reboot do work) using Gnome's functions.
   All these symptoms are true for root as well as *usr01* (who
     is a member of wheel, though that is the only group).

Possible Diagnostic Messages
Code:
   polkit-auth --show-obtainable
     [WARN  1102] Cannot lookup information for pid 1100: No
     such file or directory
     polkit-auth: This operation requires the system message 
     bus and ConsoleKit to be running

Current rc.conf

Code:
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.

# Compatibility
linux_enable="YES"

# Mouse Config
moused_port="/dev/sysmouse"
moused_type="auto"
#moused_enable="YES"

# SSH
sshd_enable="YES"

# Network Settings
ifconfig_ale0="inet 192.168.42.42  netmask 255.255.255.0"
defaultrouter="192.168.42.1"
hostname="gerswin.plumlee.net"

# Fuse File System (NTFS?)
fusefs_enable="YES"

# Gnome GUI
gdm_enable="YES"
gnome_enable="YES"
dbus_enable="YES"
hald_enable="YES"
# avahi_daemon_enable="YES" gdm/gnome does on auto
# avahi_dnsconfd_enable="YES" gdm/gnome does on auto
# polkitd_enable="YES" doesn't seem to do anything
# system_tools_backends_enable="YES" doesn't seem to do anything

# Printing
# lpd_enable="YES"
cupsd_enable="YES"

inetd_enable="YES"
smbd_enable="YES"
nmbd_enable="YES"
winbindd_enable="YES"

System
Intel dualcore 3ghz; 4 gB ram; FBSD 7.2; Gnome 2.26 (? 'About Gnome' also doesn't work, it should be the latest version)

Thank you for any help you can muster.
 
Make sure hald and dbus are actually running. Have a look with ps and also have a look in /var/log/messages.
 
message and ps

'messages' is rather long, mostly boot log info. Neither dbus nor hald were logged, but then neither were the other items in rc.conf and I know most/all of them were loaded. However, the following did stand out:
Code:
Nov 21 21:02:11 gerswin console-kit-daemon[788]: WARNING: kvm_getenvv failed: cannot open /proc/890/mem
Nov 21 21:02:11 gerswin gnome-session[890]: WARNING: Unable to determine session: Unable to lookup session information for process '890'

I have seen someone who had a similar problem to mine, they ended the thread by claiming they hadn't made/installed/setup/something proc correctly. Sadly it was at the end of the thread and didn't really shed any light for me.

Should ps have had any arguments? It only returned two lines:
Code:
PID  TT  STAT      TIME COMMAND
1100  p0  Ss     0:00.01 sh
1981  p0  R+     0:00.00 ps
(run from the base shell gnome)

Thanks
 
Ah.. Make sure procfs is mounted. Add this to /etc/fstab:

Code:
proc           /proc       procfs  rw  0   0
 
So this solved it for me too, but was the notification in the ports messages that fly by or was it an oversight? I am just curious as to how I missed it...
 
Back
Top