Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 14:40:16 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Brodey Dover <pcfxer@rogers.com>
Cc:        gnome@freebsd.org
Subject:   Re: How to configure policykit
Message-ID:  <4831C990.7090107@freebsd.org>
In-Reply-To: <4831C714.70604@rogers.com>
References:  <4830190F.5090104@rogers.com> <48307B68.7090007@freebsd.org>		<4830A007.5040209@rogers.com>	<1211170971.23315.3.camel@shumai.marcuscom.com>	<48319D11.405@rogers.com> <4831A60A.2020707@freebsd.org>	<4831BCD6.9090205@rogers.com> <4831C20E.8070904@freebsd.org> <4831C714.70604@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brodey Dover wrote:
> Okay this is what I have then :
> 
> I start gnome using gdm via gnome_enable. Which then should mean I don't 
> need to do any other configuration...but that is not the case so, I 
> check to see if ck is working:
> 
> %ck-list-sessions
> Session1:
>    uid = '1001'
>    realname = 'Brodey Dover'
>    seat = 'Seat1'
>    session-type = ''
>    active = TRUE
>    x11-display = ':0'
>    x11-display-device = '/dev/ttyv8'
>    display-device = ''
>    remote-host-name = ''
>    is-local = TRUE
>    on-since = '2008-05-19T17:56:12Z'
> 
> ck seems to be working fine. sysctl disk stuff:
> 
> 0 DISK da1 1023934464 512 hd 64 sc 32
> 1 MBR da1s2 941681152 512 i 1 o 82252800 ty 11
> 2 LABEL msdosfs/IPOD 941681152 512 i 0 o 0
> 0 DISK ad4 320072933376 512 hd 16 sc 63
> 1 MBR ad4s2 266383434240 512 i 1 o 53686886400 ty 165
> 2 BSD ad4s2f 257849426432 512 i 5 o 8534007808 ty 7
> 2 BSD ad4s2e 536870912 512 i 4 o 7997136896 ty 7
> 2 BSD ad4s2d 3202351104 512 i 3 o 4794785792 ty 7
> 2 BSD ad4s2c 266383434240 512 i 2 o 0 ty 0
> 2 BSD ad4s2b 4257914880 512 i 1 o 536870912 ty 1
> 2 BSD ad4s2a 536870912 512 i 0 o 0 ty 7
> 1 MBR ad4s1 53686854144 512 i 0 o 32256 ty 7
> 
> FSTAB:
> 
> %cat /etc/fstab
> # Device        Mountpoint    FStype    Options        Dump    Pass#
> /dev/ad4s2b        none        swap    sw        0    0
> /dev/ad4s2a        /        ufs    rw        1    1
> /dev/ad4s2e        /tmp        ufs    rw        2    2
> /dev/ad4s2f        /usr        ufs    rw        2    2
> /dev/ad4s2d        /var        ufs    rw        2    2
> /dev/acd0        /cdrom        cd9660    ro,noauto    0    0
> proc            /proc        procfs    rw        0    0
> 
> Mounting using mount dock-applet:
> 
> Error org.freedesktop.DBus.Error.AccessDenied.
> ...(rejected message had interface "org.freedesktop.Hal.Device.Volume" 
> member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
> 
> DMESG:
> 
> Copyright (c) 1992-2008 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>    The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.0-RELEASE #2: Tue Apr 29 16:11:18 EDT 2008
>    Brodey@Brodey.doverosx.com:/usr/obj/usr/src/sys/DOVER0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2100.02-MHz 
> 686-class CPU)
>  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
>  
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> 
> 
>  Features2=0x2001<SSE3,CX16>
>  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>  Cores per package: 2
> real memory  = 2146304000 (2046 MB)
> avail memory = 2082357248 (1985 MB)
> ACPI APIC Table: <Nvidia ASUSACPI>
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID:  0
> cpu1 (AP): APIC ID:  1
> ioapic0: Changing APIC ID to 4
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> hptrr: HPT RocketRAID controller driver v1.1 (Apr 29 2008 16:11:01)
> acpi0: <Nvidia ASUSACPI> on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a0000 (3) failed
> acpi0: reservation of 100000, 7fde0000 (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_hpet0: <High Precision Event Timer> iomem 0xfefff000-0xfefff3ff on 
> acpi0
> Timecounter "HPET" frequency 25000000 Hz quality 900
> cpu0: <ACPI CPU> on acpi0
> powernow0: <PowerNow! K8> on cpu0
> cpu1: <ACPI CPU> on acpi0
> powernow1: <PowerNow! K8> on cpu1
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pci0: <memory, RAM> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 1.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
> ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff at 
> device 2.0 on pci0
> ohci0: [GIANT-LOCKED]
> ohci0: [ITHREAD]
> usb0: OHCI version 1.0, legacy support
> usb0: SMM does not respond, resetting
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 10 ports with 10 removable, self powered
> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff at 
> device 2.1 on pci0
> ehci0: [GIANT-LOCKED]
> ehci0: [ITHREAD]
> usb1: EHCI version 1.0
> usb1: companion controller, 10 ports each: usb0
> usb1: <EHCI (generic) USB 2.0 controller> on ehci0
> usb1: USB revision 2.0
> uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
> uhub1: 10 ports with 10 removable, self powered
> umass0: <USB 2.0 Flash Disk, class 0/0, rev 2.00/30.00, addr 2> on uhub1
> umass1: <Apple iPod, class 0/0, rev 2.00/0.02, addr 3> on uhub1
> atapci0: <nVidia nForce MCP55 UDMA133 controller> port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 4.0 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> atapci1: <nVidia nForce MCP55 SATA300 controller> port 
> 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xdc00-0xdc0f mem 
> 0xfe02d000-0xfe02dfff irq 20 at device 5.0 on pci0
> atapci1: [ITHREAD]
> ata2: <ATA channel 0> on atapci1
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci1
> ata3: [ITHREAD]
> atapci2: <nVidia nForce MCP55 SATA300 controller> port 
> 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc800-0xc80f mem 
> 0xfe02c000-0xfe02cfff irq 21 at device 5.1 on pci0
> atapci2: [ITHREAD]
> ata4: <ATA channel 0> on atapci2
> ata4: [ITHREAD]
> ata5: <ATA channel 1> on atapci2
> ata5: [ITHREAD]
> atapci3: <nVidia nForce MCP55 SATA300 controller> port 
> 0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb40f 
> mem 0xfe02b000-0xfe02bfff irq 22 at device 5.2 on pci0
> atapci3: [ITHREAD]
> ata6: <ATA channel 0> on atapci3
> ata6: [ITHREAD]
> ata7: <ATA channel 1> on atapci3
> ata7: [ITHREAD]
> pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pci1: <multimedia, audio> at device 7.0 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0xa800-0xa8ff mem 
> 0xfdeff000-0xfdeff0ff irq 18 at device 8.0 on pci1
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:0e:2e:bd:d8:03
> rl0: [ITHREAD]
> pcib2: <ACPI PCI-PCI bridge> at device 15.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> nvidia0: <GeForce 7600 GT> port 0x9c00-0x9c7f mem 
> 0xfa000000-0xfaffffff,0xe0000000-0xefffffff,0xfb000000-0xfbffffff irq 16 
> at device 0.0 on pci2
> nvidia0: [GIANT-LOCKED]
> nvidia0: [ITHREAD]
> acpi_tz0: <Thermal Zone> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> pmtimer0 on isa0
> orm0: <ISA Option ROM> at iomem 0xc0000-0xcdfff pnpid ORM0000 on isa0
> ppc0: parallel port not found.
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.20, addr 
> 2> on uhub0
> ums0: 8 buttons and Z dir.
> Timecounters tick every 1.000 msec
> hptrr: no controller detected.
> acd0: DMA limited to UDMA33, device found non-ATA66 cable
> acd0: DVDR <ASUS DRW-1612BL/1.10> at ata0-master UDMA33
> ad4: 305245MB <Seagate ST3320620AS 3.AAC> at ata2-master SATA300
> GEOM_LABEL: Label for provider acd0 is iso9660/TDU.
> SMP: AP CPU #1 Launched!
> da1 at umass-sim1 bus 1 target 0 lun 0
> da1: <Apple iPod 1.62> Removable Direct Access SCSI-0 device
> da1: 40.000MB/s transfers
> da1: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <USB 2.0 Flash Disk 3000> Removable Direct Access SCSI-0 device
> da0: 40.000MB/s transfers
> da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
> GEOM_LABEL: Label for provider da0s1 is msdosfs/OPPO.
> GEOM_LABEL: Label for provider da1s2 is msdosfs/IPOD.
> Trying to mount root from ufs:/dev/ad4s2a
> rl0: link state changed to UP
> sblive0: [ITHREAD]
> sblive0: <SB Audigy2 Value> port 0xac00-0xac3f irq 17 at device 7.0 on pci1
> rl0: link state changed to DOWN
> rl0: link state changed to UP
> umass0: at uhub1 port 5 (addr 2) disconnected
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> GEOM_LABEL: Label msdosfs/OPPO removed.
> umass0: detached
> umass0: <USB 2.0 Flash Disk, class 0/0, rev 2.00/30.00, addr 2> on uhub1
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <USB 2.0 Flash Disk 3000> Removable Direct Access SCSI-0 device
> da0: 40.000MB/s transfers
> da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
> GEOM_LABEL: Label for provider da0s1 is msdosfs/OPPO.
> 
> GNOME MOUNT:
> 
> gnome-mount --block --no-ui --verbose --hal-udi 
> /org/freedesktop/Hal/devices/volume_uuid_FC4A_C262
> gnome-mount 0.8
> ** (gnome-mount:2382): DEBUG: Mounting 
> /org/freedesktop/Hal/devices/volume_uuid_FC4A_C262
> ** (gnome-mount:2382): DEBUG: read default option 'longnames' from gconf 
> strlist key /system/storage/default_options/vfat/mount_options
> ** (gnome-mount:2382): DEBUG: read default option '-u=' from gconf 
> strlist key /system/storage/default_options/vfat/mount_options
> ** (gnome-mount:2382): DEBUG: Mounting 
> /org/freedesktop/Hal/devices/volume_uuid_FC4A_C262 with 
> mount_point='OPPO', fstype='', num_options=2
> ** (gnome-mount:2382): DEBUG:   option='longnames'
> ** (gnome-mount:2382): DEBUG:   option='-u=1001'
> ** Message: Mount failed for 
> /org/freedesktop/Hal/devices/volume_uuid_FC4A_C262
> org.freedesktop.DBus.Error.AccessDenied : A security policy in place 
> prevents this sender from sending this message to this recipient, see 
> message bus configuration file (rejected message had interface 
> "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" 
> destination "org.freedesktop.Hal")

You didn't include the lshal nor did you grab the sysctl output when the 
da0 drive was inserted.

Have you configured anything using policykit?

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4831C990.7090107>