* worst problem was NFS mintes hard coded into /etc./fstab didnt work as
the mounting seemd to fail beforer wifi got going. Couyld be a mint 18/systemd thing?
On Sat, 16 Sep 2017 11:45:38 +0100, The Natural Philosopher wrote:
* worst problem was NFS mintes hard coded into /etc./fstab didnt work as
the mounting seemd to fail beforer wifi got going. Couyld be a mint
18/systemd thing?
Hehehe, not sure about NFS, but more like your distribution not
configuring the NFS systemd service to wait for the network going
active before starting NFS.
You could create your own chopped down service file to not attempt to
start NFS until the network online target is running.
For example, I want as clean as possible journal because I have a hourly
cron job checking the journal for problems. Noticed mysqld bitching
about unable to call home until the network was up.
Simple solution was to create my own
/etc/systemd/system/mysqld.service.d/ service file to tell systemd
to wait until network was up. I also wanted to reduce the fail
timeout value. Resulting fix for my Mageia Linux setup:
$ cat /etc/systemd/system/mysqld.service.d/xx__local.conf
#
# Created by /local/bin/mysqld_service_changes Thu 10 Aug 13:18 2017
#
[Unit]
After=network-online.target
[Service]
# Give a reasonable amount of time for the server to start up/shut down TimeoutSec=150
#*********** end of /etc/systemd/system/mysqld.service.d/xx__local.conf *****
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (3 / 13) |
Uptime: | 51:31:44 |
Calls: | 6,650 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,330,306 |