On Fri, Apr 29, 2022 at 3:17 PM Portia Stephens <stephenspor...@gmail.com> wrote:
> On Sat, Apr 30, 2022 at 1:39 AM Khem Raj <raj.k...@gmail.com> wrote: > > > > > > > > On 4/29/22 12:34 AM, Portia wrote: > > > Remove setting TimeoutSec and allow the DefaultTimeSec to be set for > the > > > volatile-binds services. > > > > > > > Whats the default value? I hope it does not go into infinite loop in > > case the service gets stuck > > > > Timeout=0 sets the Timeout to infinity, so the current behavior is > that if the service gets stuck > it never gets killed. DefaultTimeout will depend on what is set in the > /etc/systemd/system.conf. Right reading it from system default is fine I guess defaults are perhaps around 90s which is enough for the service to load normally > > > > Signed-off-by: Portia Stephens <stephenspor...@gmail.com> > > > --- > > > meta/recipes-core/volatile-binds/files/volatile-binds.service.in | > 1 - > > > 1 file changed, 1 deletion(-) > > > > > > diff --git a/meta/recipes-core/volatile-binds/files/ > volatile-binds.service.in b/meta/recipes-core/volatile-binds/files/ > volatile-binds.service.in > > > index 8fe7d8d4f9..52384c8264 100644 > > > --- a/meta/recipes-core/volatile-binds/files/volatile-binds.service.in > > > +++ b/meta/recipes-core/volatile-binds/files/volatile-binds.service.in > > > @@ -10,7 +10,6 @@ ConditionPathIsReadWrite=!@where@ > > > [Service] > > > Type=oneshot > > > RemainAfterExit=Yes > > > -TimeoutSec=0 > > > Environment=MOUNT_COPYBIND_AVOID_OVERLAYFS=@avoid_overlayfs@ > > > ExecStart=/sbin/mount-copybind @what@ @where@ > > > ExecStop=/bin/umount @where@ > > > > > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165060): https://lists.openembedded.org/g/openembedded-core/message/165060 Mute This Topic: https://lists.openembedded.org/mt/90771601/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-