Re: More stuff doesn't work at boot.

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

 



On Sat, Nov 12, 2011 at 12:30 PM, Tom Horsley <horsley1953@xxxxxxxxx> wrote:
> I've been configuring my f16 partition to make it my primary
> system, and I now have the following set of lines in my
> /etc/rc.d/rc.local script in order to get things to actually
> work correctly after a reboot:
>
> /bin/bash -c 'sleep 5 ; service stunnel restart' > /dev/null 2>&1 < /dev/null &
> /bin/bash -c 'sleep 7 ; service postfix restart' > /dev/null 2>&1 < /dev/null &
> /bin/bash -c 'sleep 9 ; service httpd restart' > /dev/null 2>&1 < /dev/null &
>
> I sure look forward to the day systemd can actually figure out
> when the network is functional :-).

Are you using NetworkManager?  The default configuration assumes NM
users have the type of connections that aren't always around, and
therefore systemd doesn't wait around for the link to be actually up,
because for many NM users, that could be never.  (Most people with
persistent connections use ifcfg scripts instead, and systemd will
wait for the link to be up in that case.)

To make systemd wait for the the connection to be online, simply
enable NetworkManager-wait-online.service:
systemctl enable NetworkManager-wait-online.service

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[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