-
Notifications
You must be signed in to change notification settings - Fork 49
remote-fs.target not active when upgrading from older systemd versions #191
Copy link
Copy link
Closed
flatcar-archive/coreos-overlay
#612Labels
channel/alphaIssue concerns the Alpha channel.Issue concerns the Alpha channel.channel/betaIssue concerns the Beta channel.Issue concerns the Beta channel.channel/stableIssue concerns the Stable channel.Issue concerns the Stable channel.kind/bugSomething isn't workingSomething isn't workingkind/upgrade-issue
Description
Description
Since version 2605.5.0 NFS shares are not mounted after reboots.
Impact
NFS share is not mounted after reboot and upgrade.
Environment
flatcar-install -d /dev/sda -i ignition.json -o vmware_raw
NFS share: https://docs.flatcar-linux.org/os/mounting-storage/#mounting-nfs-exports
steps to reproduce
cat /etc/systemd/system/mnt-nfs.mount
[Unit] Before=remote-fs.target[Mount]
What=<ip_of_nfs_server>:/nfs
Where=/mnt/nfs
Type=nfs[Install]
WantedBy=remote-fs.target
ls -l /etc/systemd/system/remote-fs.target.wants/
total 4 lrwxrwxrwx. 1 root root 33 Sep 22 11:29 mnt-nfs.mount -> /etc/systemd/system/mnt-nfs.mount
systemctl status mnt-nfs.mount
● mnt-nfs.mount - /mnt/nfs
Loaded: loaded (/etc/systemd/system/mnt-nfs.mount; enabled; vendor preset: disabled)
Active: active (mounted) since Tue 2020-09-22 11:50:06 UTC; 31min ago
Where: /mnt/nfs
What: :/nfs
Tasks: 0 (limit: 28807)
Memory: 356.0K
CGroup: /system.slice/mnt-nfs.mount
reboot
systemctl status mnt-nfs.mount
● mnt-nfs.mount - /mnt/nfs
Loaded: loaded (/etc/systemd/system/mnt-nfs.mount; enabled; vendor preset: disabled)
Active: inactive (dead)
Where: /mnt/nfs
What: :/nfs
sudo systemctl start mnt-nfs.mount
systemctl status mnt-nfs.mount
● mnt-nfs.mount - /mnt/nfs
Loaded: loaded (/etc/systemd/system/mnt-nfs.mount; enabled; vendor preset: disabled)
Active: active (mounted) since Tue 2020-09-22 12:38:00 UTC; 6s ago
Where: /mnt/nfs
What: :/nfs
Tasks: 0 (limit: 28807)
Memory: 344.0K
CGroup: /system.slice/mnt-nfs.mount
Expected behavior
NFS share is mounted after reboot and upgrade.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
channel/alphaIssue concerns the Alpha channel.Issue concerns the Alpha channel.channel/betaIssue concerns the Beta channel.Issue concerns the Beta channel.channel/stableIssue concerns the Stable channel.Issue concerns the Stable channel.kind/bugSomething isn't workingSomething isn't workingkind/upgrade-issue