From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: Phil Sutter <phil@nwl.cc>, Jeremy Sowden <jeremy@azazel.net>,
Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nft] tests: py: use `os.unshare` Python function
Date: Thu, 12 Mar 2026 23:20:10 +0100 [thread overview]
Message-ID: <abM8Glu2VHmYQdaM@chamomile> (raw)
In-Reply-To: <abM6vF13kX78q2Rh@strlen.de>
On Thu, Mar 12, 2026 at 11:14:20PM +0100, Florian Westphal wrote:
> Phil Sutter <phil@nwl.cc> wrote:
> > > which suggests it's time-zone related. Didn't see anything about that
> > > in the doc's. Will take a closer look. Apologies.
> >
> > Yes, it's odd. Neither unshare module nor 'unshare -n' behave like this,
> > even though os.unshare is described as doing the same as unshare command
> > does. It also doesn't mangle os.environ['TZ'] value, no idea why it
> > messes with this.
>
> Is there anyone working on a fix?
>
> This breaks my CI pipeline (i.e. I disabled meta.t tests).
I suggest to revert by now, as it seems os.unshare is not equivalent
to 'unshare -n'.
next prev parent reply other threads:[~2026-03-12 22:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 17:53 [PATCH nft] tests: py: use `os.unshare` Python function Jeremy Sowden
2026-03-05 22:15 ` Phil Sutter
2026-03-06 17:41 ` Phil Sutter
2026-03-06 18:35 ` Jeremy Sowden
2026-03-10 23:08 ` Phil Sutter
2026-03-12 22:14 ` Florian Westphal
2026-03-12 22:20 ` Pablo Neira Ayuso [this message]
2026-03-13 7:57 ` Jeremy Sowden
2026-03-13 7:56 ` Jeremy Sowden
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=abM8Glu2VHmYQdaM@chamomile \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=jeremy@azazel.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.