Author Topic: unmounting installation filesystem(s) at draklive-install time  (Read 950 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Hi All,

while testing several new ISOs, went across an "unmount issue" originally posted here, because really visible in pCLI-NoX:
http://www.pclinuxos.com/forum/index.php/topic,93940.msg789898.html#msg789898

but early I realized that the issue is widely diffused across several flavors, i.e.: KDE 2011-6, (e17)updated-server, pCLI-NoX, and others ...

At the end of the installation process (draklive-install, and specifically at the end of bootloader installation/ initrd rebuild),
the system fail to umount the installation filesystem, eventually reporting the following output, (when you are running draklive-install from a console):

Quote
umount: /mnt/install: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof( 8 ) or fuser(1))
umount: /mnt/install: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof( 8 ) or fuser(1))



fuser -v /mnt/install return:
Code: [Select]
                     USER        PID ACCESS COMMAND
/mnt/install:        root      mount /mnt/install
                     root      .rc.. acpid

Also noticed that acpid daemon has been started (restarted ?) immediately before grub boot loader installation, if this may help.
Trying /etc/init.d/acpid stop doesn't help
Instead killall acpid result in acpid: exiting
at this point umount /mnt/install work as expected.

Although the umount issue shown above, I do believe that the installations will still result successful because at time of shutdown the halt script probably succeed in remounting the filesystem read-only, still I think the issue should be worked out ...

AS

ongoto

  • Guest
Re: unmounting installation filesystem(s) at draklive-install time
« Reply #1 on: July 10, 2011, 08:31:35 PM »
AS

I found there is a lock file in /var/lock/subsys/

rm /var/lock/subsys/acpid
/etc/init.d/acpid stop

I'll make changes to the installer and make it available here

ongoto


Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: unmounting installation filesystem(s) at draklive-install time
« Reply #2 on: July 11, 2011, 02:54:32 AM »
AS

I found there is a lock file in /var/lock/subsys/

rm /var/lock/subsys/acpid
/etc/init.d/acpid stop

I'll make changes to the installer and make it available here

ongoto



Hello ongoto,

Thank you, I will test again as soon as possible ...  ;)

AS

ongoto

  • Guest
Re: unmounting installation filesystem(s) at draklive-install time
« Reply #3 on: July 11, 2011, 10:52:09 AM »
Hello again

/etc/init.d/acpid stop doesn't prevent acpid from being restarted by it's child processes, so it's been changed to killall acpid.
 
I think this problem is cured.  
Code: [Select]
umount: /mnt/install: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof( 8 ) or fuser(1))

ongoto