For a few months, I have been having problems where some partitions are 
being unmounted at odd intervals.

I wrote a script wrapper around the umount command, and have found that 
it is being done by a script that is part of the hald setup.

Has anybody else seen this?

The affected partitions are ones that usually don't have any open files, 
but only because the other umount's are failing, the script is running 
through *ALL* my partitions and trying to unmount them.

The script in question is:

/usr/share/hal/scripts/hal-system-storage-unmount


The umount wrapper is showing this activity:

Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/' : 
Parent PID = 20125
root     20125 20124  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/var' : 
Parent PID = 20134
root     20134 20133  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/usr' : 
Parent PID = 20143
root     20143 20142  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:12 EST 2007 umount called with parameters = '/data' : 
Parent PID = 20152
root     20152 20151  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:12 EST 2007 umount called with parameters 
= '/var/spool/news' : Parent PID = 20172
root     20172 20171  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:12 EST 2007 umount called with parameters 
= '/usr/portage' : Parent PID = 20186
root     20186 20185  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount

Thu Jan 18 18:47:12 EST 2007 umount called with parameters = '/home' : 
Parent PID = 20198
root     20198 20197  0 18:47 ?        
00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount


/data  /var/spool/news  &  /usr/portage  are the partitions that are 
affected most.


Is there a way to mark these partitions so that hald will keep it's 
interfering mitts off them?


-- 
Reverend Paul Colquhoun, ULC.    http://andor.dropbear.id.au/~paulcol
     Asking for technical help in newsgroups?  Read this first:
        http://catb.org/~esr/faqs/smart-questions.html#intro
-- 
[email protected] mailing list

Reply via email to