[pkg-lxc-devel] Bug#920195: lxc started before nfs-client?

Harald Dunkel harald.dunkel at aixigo.de
Tue Jan 22 15:28:37 GMT 2019


Package: lxc
Version: 1:3.0.3-1

lxc's sysvinit script says explicitly

	# Required-Start: $syslog $remote_fs
	# Required-Stop: $syslog $remote_fs

in the LSB header.


Apparently the lxc.service file for systemd has lost this dependency:

	After=network.target lxc-net.service
	Wants=lxc-net.service

The network target does not mount remote file systems, AFAICT. This
might break the autostart containers using a bind mount of a NFS
mount point.

Shouldn't it say

	After=network.target remote-fs.target lxc-net.service
	Wants=lxc-net.service
?


Regards
Harri



More information about the Pkg-lxc-devel mailing list