Re: Networkmanager Wait Online Failing at Boot Time

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

 



On 23/10/18 9:44 am, Tom Horsley wrote:
On Tue, 23 Oct 2018 08:06:28 +1100
Stephen Morris wrote:

My Nas Devices are failing to mount at boot time
I've never see any indication that the wait online
service works to achieve anything remotely useful.
There have been threads in this list with huge
long analysis of exactly what isn't working and
why, but I just move a lot of network related stuff
to rc.local with delays and it works much more reliably.

My /etc/rc.d/rc.local file now looks like:

#!/bin/sh
#
/usr/bin/at -M now <<'HERE' > /dev/null 2>&1
/etc/rc.d/the-real-rc.local
HERE

That solves a recent problem with systemd completely
screwing up rc.local by trying to wait on everything
it might start in the background. I move all my rc.local
processing to a separate thread of control where
systemd can't find it and screw it up.

Then in my /etc/rc.d/the-real-rc.local file, I can
put stuff like this:

#!/bin/sh
/bin/bash -c 'sleep 20 ; mount -t nfs -a' > /dev/null 2>&1 < /dev/null &

Much more reliable.

I may or may not be having the rc.local issue as I don't appear to have one. If I issue a 'la /etc/rc.d I get the following output:

.  ..  init.d  rc0.d  rc1.d  rc2.d  rc3.d  rc4.d  rc5.d  rc6.d

'ls /etc/rc.d/init.d then gives the following:

ecbd  functions  jexec  livesys  livesys-late  netconsole network  README

'ls /etc/rc.d/rc0.d gives the following:

K01livesys-late  K05jexec  K50netconsole  K89ecbd  K90network K99livesys

'ls /etc/rc.d/rc3.d gives the following:

K50netconsole  S00livesys  S10network  S11ecbd  S95jexec S99livesys-late

regards,

Steve


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux