Bug 192079 - hal umounts all volumes while exited from KDE by root
Summary: hal umounts all volumes while exited from KDE by root
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-17 13:39 UTC by Anton Guda
Modified: 2008-01-02 12:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-02 12:06:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to ignore fixed volumes (700 bytes, patch)
2006-05-17 13:39 UTC, Anton Guda
no flags Details | Diff

Description Anton Guda 2006-05-17 13:39:57 UTC
Description of problem:

When root exited from KDE to console, hal umounts 
all volumes like /usr, /home ...
It was done by hal script 
/usr/share/hal/scripts/hal-system-storage-unmount
(detected by audit).

Version-Release number of selected component (if applicable):
hal-0.5.7-{6,7,8}


How reproducible:
Always.

Steps to Reproduce:
1. login as root
2. start KDE
3. exit from KDE
  
Actual results:
all volumes unmounted or remounted r/o

Expected results:
only hotplug volumes must be unmounted


Additional info:
missed test for 'IGNORE' in this script.
patch is ready (near-copy from mount scripts).

Comment 1 Anton Guda 2006-05-17 13:39:57 UTC
Created attachment 129316 [details]
patch to ignore fixed volumes

Comment 2 John (J5) Palmieri 2006-05-17 15:50:48 UTC
Patch is incorrect.  This is a KDE problem.  hal-system-storage-unmount just
works like umount(1).  KDE needs to only unmount volumes it mounted.  

Comment 3 Lukáš Tinkl 2008-01-02 12:06:47 UTC
This pertains all kdebase version included up to F8. I fixed the problem 
recently (kdebase-3.5.8-26+), please report back if the problem still 
persists. 


Note You need to log in before you can comment on or make changes to this bug.