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

Bug#768006: Workaround



Hi,

On Sun, 08 Mar 2015 01:39:03 +0100 Robert Kawecki <robert@rkaw.pl> wrote:
> The workaround I used was to copy the generated unit files from 
> /run/systemd/generator/${mountname}.mount to /etc/systemd/system/ and 
> add a line to the [Unit] section:
> 
> 
> After=nfs-common.service

A less intrusive workaround is to add an override for 
nfs-common.service, ordering it before remote-fs-pre.target (see 
systemd.special(7)).

/etc/systemd/system/nfs-common.service.d/remote-fs-pre.conf:

 [Unit]
 Before=remote-fs-pre.target
 Wants=remote-fs-pre.target

until nfs-utils ships native systemd unit files.

Regards,
Apollon


Reply to: