[Bug 218494]

Brian-cameron-oracle 218494 at bugs.launchpad.net
Fri Dec 16 03:57:49 UTC 2011


Created attachment 54478
Updated patch for ConsoleKit 0.4.1

This updated patch addresses some robustness issues, fixing the code so
that it will not try to respawn displays when the Xserver fails.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/218494

Title:
  Default policykit configuration does not play nicely with multiseat
  configurations, resulting in failure to mount usb devices (pen drives)

Status in Hardware Abstraction Layer (HAL):
  Confirmed
Status in “consolekit” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: hal

  This is a machine that was upgraded (six months ago) from 7.04 to 7.10
  and not to 8.04 beta.

  When I plug in an USB device hal doesn't mount it. This happens with more than one device (tried
  U3 MP3 player and a small card reader). The same devices work well in my laptop that is also running hardy.

  Looking at the output of hald --daemon=no I get something like:

          using action org.freedesktop.hal.storage.mount-removable for uid 1000, system_bus_connection :1.123
          pid 8027: rc=1 signaled=0: /usr/lib/hal/hal-storage-mount
          Run started hald-probe-storage (10000) (0) 
          !  full path is '/usr/lib/hal/hald-probe-storage', program_dir is '/usr/lib/hal'
          woohoo
          pid 8034: rc=2 signaled=0: /usr/lib/hal/hald-probe-storage

  In the laptop where everything works, I can see some extra lines just
  after the first above that says:

          passed privilege
          3563: XYA creating /media/.hal-mtab~
          3563: XYA closing /media/.hal-mtab~
          3563: XYA done renaming /media/.hal-mtab~ /media/.hal-mtab
          3563: XYA released lock on /media/.hal-mtab-lock

  I will attach the files described in
  https://wiki.ubuntu.com/DebuggingRemovableDevices, maybe they can
  help.

  The output of the id commands are:

  pjssilva at leia:~$ id
  uid=1000(pjssilva) gid=1000(pjssilva) grupos=4(adm),7(lp),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),100(users),104(lpadmin),105(scanner),106(admin),113(fuse),124(pulse),125(vboxusers),1000(pjssilva)
  pjssilva at leia:~$ id hal
  id: hal: Usuário inexistente
  pjssilva at leia:~$ id haldaemon
  uid=110(haldaemon) gid=110(haldaemon) grupos=110(haldaemon),24(cdrom),25(floppy),46(plugdev),121(powerdev)
  pjssilva at leia:~$ uname -a
  Linux leia 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/hal/+bug/218494/+subscriptions




More information about the foundations-bugs mailing list