[Bug 85424] Re: Unmount fails every time

2008-03-19 Thread Martin Pitt
*** This bug is a duplicate of bug 95368 ***
https://bugs.launchpad.net/bugs/95368

** This bug has been marked a duplicate of bug 95368
   Cannot remove directory on unmount due to stale .hal-mtab entries

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-03-18 Thread apprentilinux
hello

rm /media/.hal*   works for me

Wbr

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-02-29 Thread Rocko
I just reproduced this bug in Hardy WITHOUT a suspend/resume cycle,
using hal version  0.5.10-5ubuntu7.

The contents of .hal-mtab were:

/dev/sdf1   10000   vfat
nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,exec,usefree   
/media/ATHENA
/dev/sdg1   10000   vfat
nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,exec,usefree   
/media/ATHENA

The second entry is the correct one for ATHENA. I had just unmounted
another drive (not ATHENA) mounted on /dev/sdf1 and it complained that
it could not remove the directory. I guess it tried to remove the
(invalid) /dev/sdf1 entry for ATHENA and failed.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-02-28 Thread Rocko
I still get this problem in Gutsy after a suspend/resume cycle.

It appears that if the drives mount as a different device after resume
(which can happen if you have more than one USB drive attached), /media
/.hal-mtab contains two entries for the same drive after the resume. Eg
if a drive used to be /dev/sdf1 and after resume it is /dev/sdg1, both
entries then appear are in .hal-mtab, and if you try to to unmount the
drive, it complains it can't remove the directory, and neither entry in
.hal-mtab is deleted.

If there were already two entries in the file when you resume and the
drive mounts as a different device again, you get three entries, etc.

This 'cannot unmount drive' behaviour persists indefinitely until you
manually delete .hal-mtab. If you then suspend/resume it can reappear.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-01-06 Thread Tim
Hello,
is this fix already released?

It still occours in my system: Ubuntu Gutsy.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-01-06 Thread Tim
Well, as described above removing the file  /media/.hal-mtab does fix
it.

But why is it there in first place and doesn't get deleted in Gutsy?

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2008-01-06 Thread Justin J Stark
@Tim:
I'm not the right person to answer this but I'm sure .hal-mtab is important 
because it lets HAL know what devices are currently mounted.  It sounds like 
the file itself is not the problem but, rather, something is propagating 
.hal-mtab with repetitive lines.  When the device then gets unmounted, only one 
of these lines gets removed from .hal-mtab.  The device successfully unmounts 
but HAL sees the device as still mounted in .hal-mtab and hence throws an 
error.  That's just my guess.

I could be wrong but the file should be there in Gutsy and as far as I
can tell, the problem is fixed in Gutsy.  Is it possible you upgraded
from Feisty and the .hal-mtab that was causing problems was created by
Feisty?  Do you ever experience this bug again after fixing(removing)
.hal-mtab?

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-10-01 Thread Id2ndR
Removing /media/.hal* files worked for me.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-06-08 Thread Dana Olson
The fix does not solve the issue for me. This is still occuring. I
didn't even see this bug until after I tried deleting the hal files in
my rc.local file at every bootup.

There is a tiny patch that might be worth looking at to fix this
problem:

http://launchpadlibrarian.net/7223911/68-fix-umount-stale-hal-mtab.patch

It was posted in bug #95368.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-05-13 Thread hardyn
Same problem with sony digital camera, all of my other USB devices
unmount correctly.

-- 
Unmount fails every time 
https://bugs.launchpad.net/bugs/85424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-20 Thread Martin Pitt
This actually needs to be added to /etc/init.d/mountall-bootclean.sh,
not hal's dbus init script. Otherwise a hal restart would wipe all
information about currently mounted file systems.

** Changed in: hal (Ubuntu)
Sourcepackagename: hal = sysvinit

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-20 Thread Martin Pitt
 sysvinit (2.86.ds1-14.1ubuntu17) feisty; urgency=low
 .
   * debian/initscripts/etc/init.d/mountall-bootclean.sh: Remove
 /media/.hal-mtab{,-lock} on boot to clean up stale hal mount information
 after crashes, etc. (LP: #85424)
   * debian/control: Set Ubuntu maintainer.


** Changed in: sysvinit (Ubuntu)
   Status: In Progress = Fix Released

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 85424] Re: Unmount fails every time

2007-02-19 Thread Martin Pitt
Hi,

John Dong [2007-02-18 15:43 -]:
 Should HAL clean up its mtabs on boot?

This indeed sounds like a very good idea.

 assignee pitti
 status inprogress


** Changed in: gnome-mount (Ubuntu)
 Assignee: (unassigned) = Martin Pitt
   Status: Confirmed = In Progress

** Changed in: gnome-mount (Ubuntu)
Sourcepackagename: gnome-mount = hal
 Assignee: Martin Pitt = (unassigned)
   Status: In Progress = Confirmed

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-19 Thread Martin Pitt
** Changed in: hal (Ubuntu)
   Importance: Undecided = Medium
 Assignee: (unassigned) = Martin Pitt
   Status: Confirmed = In Progress
   Target: None = ubuntu-7.04

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-18 Thread aamukahvi
Fix worked for me.

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-18 Thread John Dong
Somehow .hal-mtab was filled with a bunch of /dev/sdb2 /media/IPOD
 lines -- mine had like 8 of those lines in it. I am willing to
bet that these were what caused the error.


Should HAL clean up its mtabs on boot?

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 85424] Re: Unmount fails every time

2007-02-18 Thread Mikael Nilsson
On sön, 2007-02-18 at 05:59 +, John Dong wrote:
 Try cleaning the HAL mtabs from /media. It fixed my problems:
 
 sudo rm /media/.hal*
 

Fixed it for me too, thanks.

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 85424] Re: Unmount fails every time

2007-02-17 Thread John Dong
Confirmed to be the case on a Video IPod and a 2G Nano Nautilus
complains about the cannot remove directory error, but after closing the
error box the unmount indeed succeeds.

** Changed in: gnome-mount (Ubuntu)
   Status: Unconfirmed = Confirmed

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-17 Thread John Dong
Try cleaning the HAL mtabs from /media. It fixed my problems:

sudo rm /media/.hal*

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-16 Thread Mikael Nilsson
More reports and a screenshot here:

http://ubuntuforums.org/showthread.php?p=2164776#post2164776

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85424] Re: Unmount fails every time

2007-02-16 Thread aamukahvi
The same happens here, too.

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs