On Sat, Sep 04, 2021 at 05:38:50PM +0200, lorenzo wrote: > > Not wanting to invoke sync() on shutdown is a permanent property of a > > system, not an ephemeral one. Thus, the flag file for this behaviour > > should be in a permanent location (like /etc/runit, where it > > originally was), not under /run, where it would need to be created on > > every boot. > > The only issue with reverting to /etc is that as long as /etc is mounted > readonly it will not be possible to write this file: but as the use > case is a container I guess the file will be written during the > container setup, before runtime, right?
Exactly. This isn't something you need to change at runtime, ever. A case could even be made for runit to automatically skip sync in containers, but considering runit's minimalist design, that'd be creeping featurism. Best regards, AndrĂ¡s -- Ha a vasutallomas az, ahol a vasut megall, akkor a munkaallomas...