Re: USB media no longer shows up in file manager for root or normal users

2011-07-13 Thread Patrick Wiseman
On Wed, Jul 13, 2011 at 11:58 AM, Nick Lidakis  wrote:
> On Tue, Jul 12, 2011 at 08:31:00PM -0400, Patrick Wiseman wrote:
>> Revert to the stable consolekit.
>>
>> Patrick
>> On Jul 12, 2011 7:17 PM, "Nick Lidakis"  wrote:
>> > I'm running the latest x86 Debian Sid...
>> > Suddenly, USB media no longer shows up in Thunar. I have to mount them
>> > as...
>
> Ok I removed consolekit 0.4.5:
>
> apt-get remove consolekit
>
> The following packages will be REMOVED:
>  consolekit policykit-1 policykit-1-gnome
> 0 upgraded, 0 newly installed, 3 to remove and 23 not upgraded.
> After this operation, 1,946 kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 157546 files and directories currently installed.)
> Removing policykit-1-gnome ...
> Removing policykit-1 ...
> Removing consolekit ...
> Processing triggers for man-db ...
> phobos:/home/nick#
>
> Then install consolekit 0.4.1 from Debian stable:
>
>
> phobos:/home/nick# dpkg -i consolekit_0.4.1-4_i386.deb
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
> package 'cnews':
>  error in Version string 'cr.g7-40.4': version number does not start with
> digit
> Selecting previously deselected package consolekit.
> (Reading database ... 157416 files and directories currently installed.)
> Unpacking consolekit (from consolekit_0.4.1-4_i386.deb) ...
> Setting up consolekit (0.4.1-4) ...
>
> I then did:
>
> apt-get install policykit-1 policykit-1-gnome
>
> The following NEW packages will be installed:
>  policykit-1 policykit-1-gnome
> 0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
> Need to get 0 B/146 kB of archives.
> After this operation, 1,274 kB of additional disk space will be used.
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
> package 'cnews':
>  error in Version string 'cr.g7-40.4': version number does not start with
> digit
> Selecting previously deselected package policykit-1.
> (Reading database ... 157445 files and directories currently installed.)
> Unpacking policykit-1 (from .../policykit-1_0.101-4_i386.deb) ...
> Selecting previously deselected package policykit-1-gnome.
> Unpacking policykit-1-gnome (from .../policykit-1-gnome_0.101-2_i386.deb) ...
> Processing triggers for man-db ...
> Setting up policykit-1 (0.101-4) ...
> Setting up policykit-1-gnome (0.101-2) ...
>
> Should I also install policykit-1 and policykit-1-gnome from stable as well?
>
> After a reboot, no USB device get mounted.

Apologies.  I had the same problem you had (USB drive would not mount
automatically for ordinary users), and learned (from help here) that
consolekit was to blame.  But now, even with the earlier consolekit,
I'm having the same problem again.  I tried upgrading consolekit and
found that permissions were even worse (clicking the off/on button in
X did NOTHING instead of giving me the restart menu), but evidently
the permissions problem has spread.  Now I'm not sure where to look
for it.

Patrick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cajvvksmtl2psmonv0pvvu7du+rgn5pma+ppcnbvs0+ve-xs...@mail.gmail.com



Re: USB media no longer shows up in file manager for root or normal users

2011-07-13 Thread Nick Lidakis
On Tue, Jul 12, 2011 at 08:31:00PM -0400, Patrick Wiseman wrote:
> Revert to the stable consolekit.
> 
> Patrick
> On Jul 12, 2011 7:17 PM, "Nick Lidakis"  wrote:
> > I'm running the latest x86 Debian Sid...
> > Suddenly, USB media no longer shows up in Thunar. I have to mount them
> > as...

Ok I removed consolekit 0.4.5:

apt-get remove consolekit

The following packages will be REMOVED:
  consolekit policykit-1 policykit-1-gnome
0 upgraded, 0 newly installed, 3 to remove and 23 not upgraded.
After this operation, 1,946 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 157546 files and directories currently installed.)
Removing policykit-1-gnome ...
Removing policykit-1 ...
Removing consolekit ...
Processing triggers for man-db ...
phobos:/home/nick# 

Then install consolekit 0.4.1 from Debian stable:


phobos:/home/nick# dpkg -i consolekit_0.4.1-4_i386.deb 
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
package 'cnews':
 error in Version string 'cr.g7-40.4': version number does not start with
digit
Selecting previously deselected package consolekit.
(Reading database ... 157416 files and directories currently installed.)
Unpacking consolekit (from consolekit_0.4.1-4_i386.deb) ...
Setting up consolekit (0.4.1-4) ...

I then did:

apt-get install policykit-1 policykit-1-gnome

The following NEW packages will be installed:
  policykit-1 policykit-1-gnome
0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/146 kB of archives.
After this operation, 1,274 kB of additional disk space will be used.
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
package 'cnews':
 error in Version string 'cr.g7-40.4': version number does not start with
digit
Selecting previously deselected package policykit-1.
(Reading database ... 157445 files and directories currently installed.)
Unpacking policykit-1 (from .../policykit-1_0.101-4_i386.deb) ...
Selecting previously deselected package policykit-1-gnome.
Unpacking policykit-1-gnome (from .../policykit-1-gnome_0.101-2_i386.deb) ...
Processing triggers for man-db ...
Setting up policykit-1 (0.101-4) ...
Setting up policykit-1-gnome (0.101-2) ...

Should I also install policykit-1 and policykit-1-gnome from stable as well?

After a reboot, no USB device get mounted. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110713155849.GA2285@phobos



Re: USB media no longer shows up in file manager for root or normal users

2011-07-12 Thread Patrick Wiseman
Revert to the stable consolekit.

Patrick
On Jul 12, 2011 7:17 PM, "Nick Lidakis"  wrote:
> I'm running the latest x86 Debian Sid.
>
> The norm was that when USB media was plugged in would show up
> in /media where I could mount it by clicking on the appropriate
> icon in Thunar file manager. This was for my regular user account.
>
> Suddenly, USB media no longer shows up in Thunar. I have to mount them as
> root.
>
> from dmesg:
>
> [122338.324044] usb 1-10: new high speed USB device number 7 using
ehci_hcd
> [122338.457761] usb 1-10: New USB device found, idVendor=0781,
idProduct=5406
> [122338.457771] usb 1-10: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [122338.457780] usb 1-10: Product: U3 Cruzer Micro
> [122338.457787] usb 1-10: Manufacturer: SanDisk
> [122338.457793] usb 1-10: SerialNumber: 18604575513E
> [122338.458323] scsi8 : usb-storage 1-10:1.0
> [122339.458195] scsi 8:0:0:0: Direct-Access SanDisk U3 Cruzer Micro
> 4.05 PQ: 0 ANSI: 2
> [122339.460937] sd 8:0:0:0: Attached scsi generic sg8 type 0
> [122339.461287] sd 8:0:0:0: [sdg] 4013709 512-byte logical blocks: (2.05
> GB/1.91 GiB)
> [122339.462034] sd 8:0:0:0: [sdg] Write Protect is off
> [122339.462043] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
> [122339.462050] sd 8:0:0:0: [sdg] Assuming drive cache: write through
> [122339.466057] sd 8:0:0:0: [sdg] Assuming drive cache: write through
> [122339.469168] sdg:
> [122339.472156] sd 8:0:0:0: [sdg] Assuming drive cache: write through
> [122339.472168] sd 8:0:0:0: [sdg] Attached SCSI removable disk
>
> I don't recall ever having to mess with udev or its rules. Plugging in
media
> just worked for a normal user. I am a member of plugdev, I should mention.
>
> my fstab:
>
> # /etc/fstab: static file system information.
> #
> #  
> proc /proc proc defaults 0 0
> # /dev/sda1 / ext3 defaults,errors=remount-ro 0
> # 1
> UUID=ab09f8df-6703-4483-a162-26647bd8884d / ext3
> defaults,errors=remount-ro 0 1
> # /dev/sda6 /home ext3 defaults 0 2
> UUID=88d3b128-1ba4-4511-8428-79b4f0fbbf35 /home ext3
> defaults 0 2
> # /dev/sda5 none swap sw 0 0
> UUID=48f73142-3355-4f5d-98a3-360e6ec03296 none swap sw
> 0 0
> # /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
> /dev/cdrom2 /media/cdrom0 udf,iso9660 user,noauto 0 0
> /dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
>
> # /dev/sdb /media/backup ext3 user 0 0
> UUID=1f9bb8e8-9df8-4216-9386-baf7ccebcc59 /media/backup ext3 user
> 0 0
> /etc/fstab (END)
>
>
> How do I go back to the way things were?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org
> Archive: http://lists.debian.org/20110712231643.GA27947@phobos
>


USB media no longer shows up in file manager for root or normal users

2011-07-12 Thread Nick Lidakis
I'm running the latest x86 Debian Sid. 

The norm was that when USB media was plugged in would show up 
in /media where I could mount it by clicking on the appropriate 
icon in Thunar file manager. This was for my regular user account.

Suddenly, USB media no longer shows up in Thunar. I have to mount them as
root.

from dmesg:

[122338.324044] usb 1-10: new high speed USB device number 7 using ehci_hcd
[122338.457761] usb 1-10: New USB device found, idVendor=0781, idProduct=5406
[122338.457771] usb 1-10: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[122338.457780] usb 1-10: Product: U3 Cruzer Micro
[122338.457787] usb 1-10: Manufacturer: SanDisk
[122338.457793] usb 1-10: SerialNumber: 18604575513E
[122338.458323] scsi8 : usb-storage 1-10:1.0
[122339.458195] scsi 8:0:0:0: Direct-Access SanDisk  U3 Cruzer Micro
4.05 PQ: 0 ANSI: 2
[122339.460937] sd 8:0:0:0: Attached scsi generic sg8 type 0
[122339.461287] sd 8:0:0:0: [sdg] 4013709 512-byte logical blocks: (2.05
GB/1.91 GiB)
[122339.462034] sd 8:0:0:0: [sdg] Write Protect is off
[122339.462043] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
[122339.462050] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.466057] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.469168]  sdg:
[122339.472156] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.472168] sd 8:0:0:0: [sdg] Attached SCSI removable disk

I don't recall ever having to mess with udev or its rules. Plugging in media
just worked for a normal user. I am a member of plugdev, I should mention.

my fstab:

# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
# /dev/sda1   /   ext3defaults,errors=remount-ro 0
# 1
UUID=ab09f8df-6703-4483-a162-26647bd8884d   /   ext3
defaults,errors=remount-ro 0   1
# /dev/sda6   /home   ext3defaults0   2
UUID=88d3b128-1ba4-4511-8428-79b4f0fbbf35   /home   ext3
defaults0   2
# /dev/sda5   noneswapsw  0   0
UUID=48f73142-3355-4f5d-98a3-360e6ec03296   noneswapsw
0   0
# /dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0
/dev/cdrom2/media/cdrom0   udf,iso9660 user,noauto 0   0
/dev/hdb/media/cdrom1   udf,iso9660 user,noauto 0   0

# /dev/sdb  /media/backup   ext3user0   0
UUID=1f9bb8e8-9df8-4216-9386-baf7ccebcc59   /media/backup   ext3user
0   0
/etc/fstab (END)


How do I go back to the way things were?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110712231643.GA27947@phobos