[systemd-devel] nfs dependency in mysqld.service (best option)?

Andrey Borzenkov arvidjaar at gmail.com
Tue Mar 19 20:44:12 PDT 2013


В Tue, 19 Mar 2013 15:13:19 -0700
Gary Artim <gartim at gmail.com> пишет:

> I upgraded fedora  last weekend to fc18 from fc17, issue:
> 
> my mysql /mysqlbin/mysql-bin.index a configuration option, is on a NFS
> directory. Seem that mysqld.service fails because the NFS is not
> completely up. I can start it right after the boot completes/nfs clearly
> mounted. The config for the services files are vanilla:
> 
...
> Thinking I should modify to add a "After=" for nfs.target, any one
> think this is the wrong approach or alternate options,


I do not know what nfs.target is, but mounting of NFS filesystems is
ordered before remote-fs.target, so you probably want this as
dependency.



More information about the systemd-devel mailing list