From: Luca Boccassi Date: Thu, 21 May 2026 11:08:33 +0000 (+0100) Subject: core: add FileDescriptorStorePreserve=on-success option (#42160) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20615d2d47a8526237da03390cfae3c657a7db72;p=thirdparty%2Fsystemd.git core: add FileDescriptorStorePreserve=on-success option (#42160) Currently with FileDescriptorStorePreserve=yes the FD store is kept around regardless of what happens to a unit, which is useful in many cases. But in some cases, for example when complex services crash horribly, it's hard to reason about what was in the intermediate state, and it's better to start fresh. Add a new 'on-success' option for the FileDescriptorStorePreserve= setting that keeps it around only for as long as the unit doesn't go to a persistently failed state. This is especially useful in combination with LUO, where we don't want to keep around LUO sessions created by units that then proceeded to crash and burn, and might be in a bad state afterwards. --- 20615d2d47a8526237da03390cfae3c657a7db72