Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-04-15 Thread Greg Schmidt
Another data point, My usb drives (vfat) stopped auto mounting when 
plugged in recently. After reading this bug report I ran 
ck-list-sessions, There was no entry for the active session. After a 
system restart/ login the session was there and the mount worked.


I don't know why my session was hosed, I'll be watching it.








--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#563119: [Pkg-utopia-maintainers] Bug#563119: Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-18 Thread Jakub Lucký
Hi

I had upgraded to udisks now

ja...@gondolin:~$ id
uid=1000(jakub) gid=100(users)
groups=100(users),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(video),46(plugdev),107(netdev),111(lpadmin),115(powerdev),116(scanner),119(fuse),121(vboxusers),123(bluetooth),124(utempter),127(polkituser),1000(joy)

ja...@gondolin:~$ ck-list-sessions
ja...@gondolin:~$

udisks output attached

Jakub Lucký


2010/3/18 Michael Biebl bi...@debian.org

 Am 15.03.2010 10:57, schrieb Jakub Lucký:
  Hi
 
  No, no change... I believe this problem is not ntfs-3g related, because
 the
  same I got for FAT, NTFS and even Ext3... All of them are easily
 accessible,
  when I mount them as root with /sbin/mount
 

 Hi Jakub,

 is the problem still reproducible with an up-to-date unstable system
 (which uses udisks now)?

 If so, what's the user you are currently logged in, what is the output
 of ck-list-sessions?
 Could you attach a fresh udisks --dump please.

 Thanks,
 Michael

 --
 Why is it that all of the instruments seeking intelligent life in the
 universe are pointed away from Earth?




udisks.dump
Description: Binary data


Bug#563119: [Pkg-utopia-maintainers] Bug#563119: Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-18 Thread Michael Biebl
On 18.03.2010 11:36, Jakub Lucký wrote:
 Hi
 
 I had upgraded to udisks now
 
 ja...@gondolin:~$ id
 uid=1000(jakub) gid=100(users)
 groups=100(users),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(video),46(plugdev),107(netdev),111(lpadmin),115(powerdev),116(scanner),119(fuse),121(vboxusers),123(bluetooth),124(utempter),127(polkituser),1000(joy)
 
 ja...@gondolin:~$ ck-list-sessions

That's your problem.
ck-list-sessions your user session as active.

How do you start your xsession?

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#563119: [Pkg-utopia-maintainers] Bug#563119: Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-18 Thread Michael Biebl
On 18.03.2010 18:58, Jakub Lucký wrote:
 2010/3/18 Michael Biebl bi...@debian.org
 
 On 18.03.2010 11:36, Jakub Lucký wrote:

 ja...@gondolin:~$ ck-list-sessions

 That's your problem.
 ck-list-sessions your user session as active.

 How do you start your xsession?

 via XDM
 
 
 ja...@gondolin:~$ cat .xinitrc
 exec gnome-session
 

Please install gdm and then login into GNOME using GDM.
ck-list-sessions should then properly list your session as active and mounting
via udisks should work.
If it works with GDM, we will need to track down what the problem with xdm is.

Thanks,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#563119: [Pkg-utopia-maintainers] Bug#563119: Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-17 Thread Michael Biebl
Am 15.03.2010 10:57, schrieb Jakub Lucký:
 Hi
 
 No, no change... I believe this problem is not ntfs-3g related, because the
 same I got for FAT, NTFS and even Ext3... All of them are easily accessible,
 when I mount them as root with /sbin/mount
 

Hi Jakub,

is the problem still reproducible with an up-to-date unstable system
(which uses udisks now)?

If so, what's the user you are currently logged in, what is the output
of ck-list-sessions?
Could you attach a fresh udisks --dump please.

Thanks,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-16 Thread Theo Cabrerizo Diem
Hi all,

After looking again on my machine about the issue I was having I've
encountered the following :
- running ck-list-sessions resulted into only one session existand
and marked as active = FALSE.
- I use a ~/.xinitrc , since the window manager that I use isn't so
nicely integrated (e17)

From what I remember ages ago when I had problems with Xsession, if
you have a ~/.xinitrc, startx won't read /etc/X11/xinit/xinitrc ,
which means /etc/X11/Xsession isn't imported into xinit, which leads
to no consolekit session being created/maintained among some daemons,
dbus listeners .. bla bla ..

Adding a '. /etc/X11/Xsession' in the beginning of my ~/.xinitrc
solved that, now ck-list-sessions list two sessions, one inactive (the
window which I've typed startx) and one active (my X .. ).

After making sure I have now an active session, trying to access my
NTFS partitions on nautilus simply works as before, so automount works
nicely.

I hope this helps other people having the same issue.

Cheers,

Theo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#563119: [Pkg-utopia-maintainers] Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-15 Thread Jakub Lucký
Hi

No, no change... I believe this problem is not ntfs-3g related, because the
same I got for FAT, NTFS and even Ext3... All of them are easily accessible,
when I mount them as root with /sbin/mount

Thanks
Jakub Lucký

2010/3/8 Michael Biebl bi...@debian.org

 On 31.12.2009 00:45, Jakub Lucký wrote:
  Package: devicekit-disks
  Version: 009-2
  Severity: important
 
  After reboot (probably also upgrade, i reboot once in a week) my
 automount definitely stopped working...
 
  When I plug in my external drive (NTFS and ext3 partitions, see attached
 dmesg output) I got message Not authorized (see attached screenshot
 gnome-automount). Even if I try to mount it with palimpset (from
 gnome-disk-utility) I got the same error (also attached)
 
 
  Versions of packages devicekit-disks recommends:
  ii  ntfs-3g 1:2009.4.4-1 read-write NTFS driver for
 FUSE

 Does it help, if you upgrade to the latest version of ntfs-3g, i.e
 1:2010.1.16-0.1

 Michael

 --
 Why is it that all of the instruments seeking intelligent life in the
 universe are pointed away from Earth?




Bug#563119: [Pkg-utopia-maintainers] Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2010-03-08 Thread Michael Biebl
On 31.12.2009 00:45, Jakub Lucký wrote:
 Package: devicekit-disks
 Version: 009-2
 Severity: important
 
 After reboot (probably also upgrade, i reboot once in a week) my automount 
 definitely stopped working...
 
 When I plug in my external drive (NTFS and ext3 partitions, see attached 
 dmesg output) I got message Not authorized (see attached screenshot 
 gnome-automount). Even if I try to mount it with palimpset (from 
 gnome-disk-utility) I got the same error (also attached)
 
 
 Versions of packages devicekit-disks recommends:
 ii  ntfs-3g 1:2009.4.4-1 read-write NTFS driver for FUSE

Does it help, if you upgrade to the latest version of ntfs-3g, i.e 
1:2010.1.16-0.1

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2009-12-31 Thread Martin Pitt
Hello Jakub,

Jakub Lucký [2009-12-31  0:45 +0100]:
 When I plug in my external drive (NTFS and ext3 partitions, see
 attached dmesg output) I got message Not authorized (see attached
 screenshot gnome-automount). Even if I try to mount it with
 palimpset (from gnome-disk-utility) I got the same error (also
 attached)

DK-disks dump looks fine, the drive is recognized as
non-system-internal.

What is the output of

  pkaction --action-id org.freedesktop.devicekit.disks.filesystem-mount 
--verbose

?

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2009-12-31 Thread Jakub Lucký
output attached


2009/12/31 Martin Pitt mp...@debian.org

 Hello Jakub,

 Jakub Lucký [2009-12-31  0:45 +0100]:
  When I plug in my external drive (NTFS and ext3 partitions, see
  attached dmesg output) I got message Not authorized (see attached
  screenshot gnome-automount). Even if I try to mount it with
  palimpset (from gnome-disk-utility) I got the same error (also
  attached)

 DK-disks dump looks fine, the drive is recognized as
 non-system-internal.

 What is the output of

  pkaction --action-id org.freedesktop.devicekit.disks.filesystem-mount
 --verbose

 ?

 Martin

 --
 Martin Pitt| http://www.piware.de
 Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



pkaction
Description: Binary data


Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2009-12-31 Thread Martin Pitt
Hello Jakub,

Jakub Lucký [2009-12-31 11:59 +0100]:
 output attached

OK, nothing surprising here. Does

  devkit-disks --mount /dev/sdb1

work? If not, does it give any output? If so, please send the output.

If it does not work, please try this:

  sudo /usr/lib/devicekit-disks/devkit-disks-daemon --replace /tmp/dkd.log 21
  devkit-disks --mount /dev/sdb1
  fg

then press control-C. Please attach /tmp/dkd.log.

Thanks,

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2009-12-31 Thread Jakub Lucký
2009/12/31 Martin Pitt mp...@debian.org

 Hello Jakub,


 Jakub Lucký [2009-12-31 11:59 +0100]:
  output attached

 OK, nothing surprising here. Does

  devkit-disks --mount /dev/sdb1


 ja...@gondolin:~$  devkit-disks --mount /dev/sdc1
Mount failed: Not Authorized


 work? If not, does it give any output? If so, please send the output.

 If it does not work, please try this:

  sudo /usr/lib/devicekit-disks/devkit-disks-daemon --replace /tmp/dkd.log
 21
  devkit-disks --mount /dev/sdb1
  fg

 then press control-C. Please attach /tmp/dkd.log.


Attached, now its sdc (after few unplugging-plugging kernel named this disk
/dev/sdc instead sdb)


 Thanks,

 Martin
 --
 Martin Pitt| http://www.piware.de
 Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



dkd.log
Description: Binary data


Bug#563119: devicekit-disks: Automount stopped working with message Not authorized

2009-12-30 Thread Jakub Lucký
Package: devicekit-disks
Version: 009-2
Severity: important

After reboot (probably also upgrade, i reboot once in a week) my automount 
definitely stopped working...

When I plug in my external drive (NTFS and ext3 partitions, see attached dmesg 
output) I got message Not authorized (see attached screenshot gnome-automount). 
Even if I try to mount it with palimpset (from gnome-disk-utility) I got the 
same error (also attached)

I am also attaching devkit-disks --dump

List of groups:
ja...@gondolin:~$ groups
users adm dialout fax cdrom floppy tape audio dip video plugdev netdev lpadmin 
powerdev scanner fuse vboxusers polkituser joy


Thank you for your time
Jakub Lucký



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devicekit-disks depends on:
ii  libatasmart4  0.17-1 ATA S.M.A.R.T. reading and parsing
ii  libc6 2.10.2-2   GNU C Library: Shared libraries
ii  libdbus-1-3   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2  0.82-2 simple interprocess messaging syst
ii  libglib2.0-0  2.22.3-2   The GLib library of C routines
ii  libgudev-1.0-0149-2  GObject-based wrapper library for 
ii  libparted1.8-12   1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii  libpolkit-backend 0.95-1 PolicyKit backend API
ii  libpolkit-gobject 0.95-1 PolicyKit Authorization API
ii  libsgutils2-2 1.28-2 utilities for working with generic
ii  libudev0  149-2  libudev shared library
ii  udev  149-2  /dev/ and hotplug management daemo

Versions of packages devicekit-disks recommends:
pn  dosfstools  none   (no description available)
ii  hdparm  9.15-1   tune hard disk parameters for high
pn  mtools  none   (no description available)
ii  ntfs-3g 1:2009.4.4-1 read-write NTFS driver for FUSE
pn  ntfsprogs   none   (no description available)
ii  policykit-1 0.95-1   framework for managing administrat

Versions of packages devicekit-disks suggests:
pn  cryptsetupnone (no description available)
pn  mdadm none (no description available)
pn  reiserfsprogs none (no description available)
pn  xfsprogs  none (no description available)

-- no debconf information
attachment: gnome-automount.png
Showing information for /org/freedesktop/DeviceKit/Disks/devices/hda
  native-path: 
/sys/devices/pci:00/:00:1f.1/ide0/0.0/block/hda
  device:  3:0
  device-file: /dev/hda
by-id: 
/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-U10N_KZ279AC2218
by-path:   /dev/disk/by-path/pci-:00:1f.1
  detected at: Wed 30 Dec 2009 11:41:38 PM CET
  system internal: 0
  removable:   1
  has media:   0
detects change:1
detection by polling:  1
detection inhibitable: 1
detection inhibited:   0
  is read only:0
  is mounted:  0
  mount paths: 
  mounted by uid:  0
  presentation hide:   0
  presentation nopolicy:   0
  presentation name:   
  presentation icon:   
  size:0
  block size:  0
  job underway:no
  usage:   
  type:
  version: 
  uuid:
  label:   
  drive:
vendor:
model: HL-DT-ST DVDRAM GSA-U10N
revision:  1.05
serial:KZ279AC2218
detachable:0
can spindown:  0
rotational media:  1
ejectable: 1
media: 
  compat:  optical_cd optical_cd_r optical_cd_rw 
optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw 
optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: (unknown)
if speed:  (unknown)
ATA SMART: not available


Showing information for /org/freedesktop/DeviceKit/Disks/devices/sda
  native-path: