On Sunday 25 May 2014, Cristian Rodríguez wrote:
El 25/05/14 11:23, Istvan Gabor escribió:
How can a mount be a dependency? This is stupid.
No, it is not stupid, it is just you do not understand its purpose..
mount points are dependencies and have always been .
for example:
apache Requires=srv.mount to work
This is stupid. If /srv is not available then apache would just _warn_ about missing document root. Other parts of apache config may still work fine without /srv. And if I change apache config to serve another directory then I surely don't want to re-configure arbitrary mount service units too. There is only one genric dependency at boot time: Don't start apache before we _tried_ to mount everything from /etc/fstab one time. In running system we can umount and remount whatever and still want to start apache whenever we want refardless what is mounted. The last thing I want is that $ mount /srv would start apache but I wouldn't wonder if this would happen nowadays... ... similar like shutting down network interfaces just because pppd hangup, etc. Or no shutdown possible if we have nfs mounts but network is down ... cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org