On 2017-01-26 13:33, Andrei Borzenkov wrote:
On Thu, Jan 26, 2017 at 3:25 PM, Carlos E. R. <> wrote:
My hack for the moment is to comment out the entry in exports, then edit it after mounting any of those disks.
In this case you can simply export it manually.
I never tried that. What command? "man export" is for another thing.
/etc/exports is for something that is being exported when service starts (which almost invariably implies "when system boots"). So current behavior is actually correct, and as I explained on systemd list it did not work this way in the past as a side effect of bug (which was incidentally fixed by another SUSE employee :) ). So current behavior is bug fix by all means.
Well, if I export a mount point that is not mounted, so what? It is my decision. Just print a warning.
It would be nice to have "noauto" in /etc/exports to have single location to record desired mount options but not start it by default.
Yes, indeed. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)