Re: samba remote share feature is broken in F8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 9, 2008 at 6:38 PM, Valent Turkovic
<valent.turkovic@xxxxxxxxx> wrote:
> Hi,
>  I have tried solving this issue on fedoraforum.org and fedora-user
>  lists without sucess.
>
>  This the case:
>  * samba mount points are defined in /etc/fstab
>  * on bootup they aren't mounted because networkmanager is started too
>  late in init process (in Gnome actually)
>  * if you mount samba shares manually or by starting netfs service then it works
>  * unmounting samba shares doesn't work during reboot and shutdown
>  because NetworkManager service is killed much earlier that netfs
>  service
>
>  I have dealt with samba shares mounting automatically by puting a script in:
>  /etc/NetworkManager/dispatcher.d/
>
>  # cat /etc/NetworkManager/dispatcher.d/samba.sh
>  #!/bin/bash
>  # Script to dispatch NetworkManager events
>  #
>  # mount samba shares on network up
>
>  if [ "$1" = "eth0" ]
>  then
>  if [ "$2" = "up" ]
>  then
>  /sbin/service netfs start
>  fi
>  if [ "$2" = "down" ]
>  then
>  /sbin/service netfs stop
>  fi
>  fi
>
>
>  This works for mounting but not for unmounting samba shares :(
>
>  One other thing I thought of it rearranging order of services in
>  /etc/rc6.d/ and /etc/rc0.d/ in order to make possible for netfs to
>  stop before NetworkManager
>
>  /etc/rc0.d/
>  K01NetworkManager
>  K02NetworkManagerDispatcher
>  K75netfs
>
>  /etc/rc6.d/
>  K01NetworkManager
>  K02NetworkManagerDispatcher
>  K75netfs
>
>  So in /etc/rc6.d/ and /etc/dc0.d/ I did this:
>  mv K02NetworkManagerDispatcher K03NetworkManagerDispatcher
>  mv K01NetworkManager K02NetworkManager
>  mv K75netfs K01netfs
>
>  I'm not sure how smart is it do this so I wanted you to look at this
>  issue and figure out a way that would be best to fix this issue in
>  Fedora 8 and so that it JustWorks in Fedora 9.
>
>  Cheers,
>  Valent.
>

Is there anybody who can help me troubleshoot this?

Valent.

-- 
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux