On Thursday 29 May 2014, Cristian Rodríguez wrote:
El 28/05/14 14:11, Ruediger Meier escribió:
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.
For general purpose use, in systemd 's terms it is "Wanted" , i.e will be mounted if needed but the service won't be marked as failed if the mount point is not available
So it's not possible to umount(2) /srv forever? "systemctl start apache" would mount it again or what? Even if I have mounted something else there in the meanwhile? That's insane. Don't add such stupid deps per default.
There is only one genric dependency at boot time: Don't start apache before we _tried_ to mount everything from /etc/fstab one time.
The days where stuff is static in fstab are long gone, all your assumptions break with USB, hotplug and quite a long etc..
I don't think that people usually want to serve http from USB stick. Please don't break the use cases where we don't have a grandmothers who are carrying USB sticks from one nephew to the other granddaughter the whole day. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org