On Mon, 29 Jul 2024 at 16:48, Li Wang via lists.openembedded.org <li.wang=windriver....@lists.openembedded.org> wrote: > > when using xinet.d to limit rsync connections and time is set back, > the connection limit is reached very quickly and rsync gets deactivated, > if time is changed again, rsync is never reactivated. > > date -s "xxx" > xinetd[xxx]: Deactivating service rsync due to excessive incoming > connections. Restarting in 10 seconds. > > the timer of xinet.d is based on time() function, and it is affected by > system time. > > Signed-off-by: Li Wang <li.w...@windriver.com> > --- > .../xinetd/xinetd/use-monotonic-time.patch | 246 ++++++++++++++++++ > .../xinetd/xinetd_2.3.15.4.bb | 1 + > 2 files changed, 247 insertions(+) > create mode 100644 > meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch > > diff --git a/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch > b/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch > new file mode 100644 > index 0000000000..2144c3cba2 > --- /dev/null > +++ b/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch > @@ -0,0 +1,246 @@ > +use monotonic time > + > +when using xinet.d to limit rsync connections and time is set back, > +the connection limit is reached very quickly and rsync gets deactivated, > +if time is changed again, rsync is never reactivated. > + > +date -s "xxx" > +xinetd[xxx]: Deactivating service rsync due to excessive incoming > connections. Restarting in 10 seconds. > + > +the timer of xinet.d is based on time() function, and it is affected by > system time. > + > +Upstream-Status: Pending
Is this patch taken from here? https://github.com/openSUSE/xinetd/pull/45 If so, it has an incorrect upstream-status. Please fix that. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#202660): https://lists.openembedded.org/g/openembedded-core/message/202660 Mute This Topic: https://lists.openembedded.org/mt/107610065/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-