Here's the bug's details:
https://bugs.launchpad.net/ubuntu/lucid/+source/dbus/+bug/211631

I created a minor fix in the upstart script of dbus /etc/init/dbus.conf
adding pre-stop script:

*pre-stop script*
*    trap "TERM signal" TERM*
*   /bin/umount -a -t cifs -l -f*
*   trap - TERM*
*end script*

Now it works... I have this fix in past version but removing the Caught
fixes it again for 11.04

-=ronald


On Fri, Jul 29, 2011 at 4:07 PM, Danny Ching <[email protected]> wrote:

> Btw try using lazy unmount. As per this page
>
> http://stackoverflow.com/questions/74626/how-do-you-force-a-cifs-connection-to-unmount
>
>
> From,
> Danny Ching
>
> On Jul 29, 2011, at 2:36 PM, Ronald Artos <[email protected]> wrote:
>
> > The bug still exist even with Ubuntu 11.04, haven't tried it in other
> distro yet... The problem is that the shutdown/restart sequence freezes when
> you still have a mounted CIFS during the shutdown.
> >
> > I tried creating script in /etc/init.d forcing to unmount the CIFS and
> having a /etc/rc0.d or /etc/rc6.d  K01umountcifs.sh.. still no luck.
> >
> > also tried modifying /etc/init/network-manager to run a pre-stop script
> still not working.
> >
> > any idea?
> >
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to