From owner-freebsd-gnome@FreeBSD.ORG Mon May 19 18:40:19 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D8911065679 for ; Mon, 19 May 2008 18:40:19 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id BA46A8FC19 for ; Mon, 19 May 2008 18:40:18 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m4JIeHV05646; Mon, 19 May 2008 14:40:17 -0400 (EDT) Received: from [64.102.221.191] (dhcp-64-102-221-191.cisco.com [64.102.221.191]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m4JIfBu20704; Mon, 19 May 2008 14:41:11 -0400 (EDT) Message-ID: <4831C990.7090107@freebsd.org> Date: Mon, 19 May 2008 14:40:16 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Brodey Dover 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> In-Reply-To: <4831C714.70604@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: How to configure policykit X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 18:40:19 -0000 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 > > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x1f > Cores per package: 2 > real memory = 2146304000 (2046 MB) > avail memory = 2082357248 (1985 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 4 > ioapic0 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: 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: iomem 0xfefff000-0xfefff3ff on > acpi0 > Timecounter "HPET" frequency 25000000 Hz quality 900 > cpu0: on acpi0 > powernow0: on cpu0 > cpu1: on acpi0 > powernow1: on cpu1 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.0 (no driver attached) > isab0: at device 1.0 on pci0 > isa0: on isab0 > pci0: at device 1.1 (no driver attached) > ohci0: 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: on ohci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 10 ports with 10 removable, self powered > ehci0: 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: on ehci0 > usb1: USB revision 2.0 > uhub1: on usb1 > uhub1: 10 ports with 10 removable, self powered > umass0: on uhub1 > umass1: on uhub1 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 4.0 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > atapci1: 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: on atapci1 > ata2: [ITHREAD] > ata3: on atapci1 > ata3: [ITHREAD] > atapci2: 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: on atapci2 > ata4: [ITHREAD] > ata5: on atapci2 > ata5: [ITHREAD] > atapci3: 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: on atapci3 > ata6: [ITHREAD] > ata7: on atapci3 > ata7: [ITHREAD] > pcib1: at device 6.0 on pci0 > pci1: on pcib1 > pci1: at device 7.0 (no driver attached) > rl0: port 0xa800-0xa8ff mem > 0xfdeff000-0xfdeff0ff irq 18 at device 8.0 on pci1 > miibus0: on rl0 > rlphy0: PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:0e:2e:bd:d8:03 > rl0: [ITHREAD] > pcib2: at device 15.0 on pci0 > pci2: on pcib2 > nvidia0: 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: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcdfff pnpid ORM0000 on isa0 > ppc0: parallel port not found. > sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ums0: 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 at ata0-master UDMA33 > ad4: 305245MB 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: 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: 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: 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: on uhub1 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: 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