From: "Wang, Li" <li.wang@windriver.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [openembedded-core V2][master][PATCH]xinetd: use monotonic time
Date: Tue, 30 Jul 2024 10:06:24 +0800 [thread overview]
Message-ID: <cd90e9bc-b6ee-405e-92fe-42507c7adb88@windriver.com> (raw)
In-Reply-To: <CANNYZj9boK0816ap5hN8LqmpeyThanWjoYjjT=FtfpEjp-9R4w@mail.gmail.com>
On 7/30/2024 02:50, Alexander Kanavin wrote:
> On Mon, 29 Jul 2024 at 16:48, Li Wang via lists.openembedded.org
> <li.wang=windriver.com@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.wang@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.
yes, but the upstream does not merge the patch, yet.
in this situation, what should I fill the status?
Thanks,
LiWang.
>
> Alex
next prev parent reply other threads:[~2024-07-30 2:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 14:44 [openembedded-core V2][master][PATCH]xinetd: use monotonic time Li Wang
2024-07-29 18:50 ` [OE-core] " Alexander Kanavin
2024-07-30 2:06 ` Wang, Li [this message]
2024-07-30 2:46 ` Khem Raj
2024-07-30 10:27 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd90e9bc-b6ee-405e-92fe-42507c7adb88@windriver.com \
--to=li.wang@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox