[Bug 242466] New: hal automounting bug (messed up /media/.hal-mtab )
https://bugzilla.novell.com/show_bug.cgi?id=242466 Summary: hal automounting bug (messed up /media/.hal-mtab ) Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: xnullz@gmail.com QAContact: qa@suse.de The default scenario of automounting is to create /media/<volume-label-name> directory and mount device here. It's ok until the volume label consists of non-latin characters. In my example it will be volume label "Подлый лэйбл" in Russian. So let's look in /media/.hal-mtab after automounting dvd disc with such label:
cat /media/.hal-mtab /dev/hdc 1000 0 iso9660 nosuid,nodev,uid=1000,noatime,utf8 /media/\320\237\320\276\320\264\320\273\321\213\320\271 \320\273\321\215\320\271\320\261\320\273
Scary thing, isn't it ? =) Although, the mountpoint directory is correctly created : ls -p /media/ floppy/ .hal-mtab .hal-mtab-lock xmms_audio_cd/ Подлый лэйбл/ Messed up /media/.hal-mtab brokes not only unmounting, it gets further automounting inoperable, until you manually delete /media/.hal-mtab*. My temporary ugly workaround is to tell hal to create static mountpoint in such way : /usr/share/hal/fdi/policy/95userpolicy/mountpoints.fdi <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <!-- optical drives --> <match key="block.device" string="/dev/hdc"> <match key="volume.is_disc" bool="true"> <merge key="volume.policy.should_mount" type="bool">true</merge> <merge key="volume.policy.desired_mount_point" type="string">cdrom</merge> </match> </match> </device> </deviceinfo> So /dev/hdc will be mounted to static /media/cdrom and I'll avoid ./hal-mtab bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242466 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |dkukawka@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242466 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from dkukawka@novell.com 2007-02-19 03:31 MST ------- fixed for 10.3 and if there are more bugs in hal for 10.2 I add this patch also there for a YOU update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242466 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com