Summary: | app-containers/docker-18.09.2 not waiting for all host zfs volumes to mount before starting service | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mr.jmondoux |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gyakovlev, mrueg, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
mr.jmondoux
2019-03-12 02:19:29 UTC
are you using openrc or systemd? for openrc you can add rc_need="zfs-mount" to /etc/conf.d/docker if you use zfs storage graph driver and openrc will make sure filesystems mounted before docker starts. I'm sure you can do similar thing for systemd as well. (In reply to Georgy Yakovlev from comment #1) > are you using openrc or systemd? > > for openrc you can add > rc_need="zfs-mount" to /etc/conf.d/docker if you use zfs storage graph > driver and openrc will make sure filesystems mounted before docker starts. > > I'm sure you can do similar thing for systemd as well. Hi, yes I use openrc. The weird part is that I have gone through subsequent reboots since and have not experienced issues. However, I will double check as I may have stopped it from automatically starting at boot. If so I'll revert and do as you suggest. Thanks |