SELinux Security Module development
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: Nicolas Iooss <nicolas.iooss@m4x.org>,
	Dominick Grift <dominick.grift@defensec.nl>,
	James Carter <jwcart2@gmail.com>,
	SElinux list <selinux@vger.kernel.org>
Subject: Re: lets think about 3.3 release
Date: Tue, 17 Aug 2021 20:44:51 +0200	[thread overview]
Message-ID: <87czqbkj18.fsf@redhat.com> (raw)
In-Reply-To: <CAJfZ7=naeBBmUiS3YgcW+AttSzx-tDt56ShMJq56NKPqC_yKhA@mail.gmail.com>

Nicolas Iooss <nicolas.iooss@m4x.org> writes:

> On Mon, Aug 9, 2021 at 4:44 PM Dominick Grift
> <dominick.grift@defensec.nl> wrote:
>>
>> James Carter <jwcart2@gmail.com> writes:
>>
>> > On Fri, Aug 6, 2021 at 2:29 PM Petr Lautrbach <plautrba@redhat.com> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I's about 184 commits and 5 months since the last release so I think
>> >> it's time to slowly stop the development and start with 3.3 release
>> >> candidates.
>> >>
>> >> According to patchwork, there are few patches in queue which need to be
>> >> reviewed, or which were reviewed and some change for requested:
>> >>
>> >> * https://patchwork.kernel.org/patch/11436955/ New [RFC]
>> >> libsepol,secilc,policycoreutils: add unprivileged sandboxing
>> >> capability
>> >> * https://patchwork.kernel.org/patch/11668455/ New selinux: make use of variables when defining libdir and includedir
>> >>
>> >> old, without any activity for a long time
>> >>
>> >> * https://patchwork.kernel.org/patch/12291637/ New [v2] checkpolicy: fix the leak memory when uses xperms
>> >>
>> >> changes requested
>> >>
>> >> * https://patchwork.kernel.org/patch/12372487/ New [v2] libselinux: add lock callbacks
>> >> * https://patchwork.kernel.org/patch/12377593/ New libselinux/utils: drop requirement to combine compiling and linking
>> >>
>> >> no response yet
>> >>
>> >> * https://patchwork.kernel.org/patch/12420657/ New [userspace]  libsepol/cil: remove obsolete comment
>> >>
>> >> acked, ready to be merged
>> >>
>> >> * https://patchwork.kernel.org/patch/12422971/ New mcstrans: Improve mlstrans-test output
>> >>
>> >> no response yet
>> >>
>> >>
>> >> if I missed something please tell me.
>> >>
>> >>
>> >> There's one issue opened on the mailing list
>> >>
>> >> https://lore.kernel.org/selinux/874kc57220.fsf@defensec.nl/T/#t -
>> >> libsepol regressions
>> >>
>> >
>> > I am working to address this and hope to have something out in the
>> > next couple of days. I am also working on fixing some issues with the
>> > line mark stuff in CIL. It would be nice to have both of these in the
>> > next release, but I don't think they need to hold things up either.
>> > Jim
>>
>> It's too soon for me to start worrying about this but:
>>
>> I don't care if my dssp5 policy breaks due to this regression (that is
>> what it is) because other than me no one probably uses it, but I also
>> maintain a policy for OpenWrt which relies on this functionality (or
>> allowing duplicate blocks, macros) and I would not want to have this
>> break there come 3.3.
>>
>> >
>> >> If you agree and there's no obejction I can start with preparation and
>> >> plan to release 3.3-rc1 on Wed Aug 18 2021
>
> Hello,
> For information I am currently on holidays with quite limited access
> to my mails and will be fully "back with my test machines" on
> 2021-08-30. In the meantime I can participate in some reviews but I am
> not willing to send patches myself. Nevertheless I will try to review
> the "libsepol/cil: move the fuzz target and build script to the
> selinux repository" patch properly before Wednesday.
>
> For the release, I am currently aware of two possibly-minor issues and
> I do not know whether they are tracked somewhere:
>
> 1. secil2tree can output wrongly indented blocks. For example
> "secil2tree -A resolve secilc/test/policy.cil" currently outputs:
>
> (block test_ba
>     (blockinherit ba)
>         (roletype test_ba.r test_ba.t)
>         (blockabstract z.ba)
>     )
>     (role test_ba.r)
>     (type test_ba.t)
> )
>
> The parenthesizing "(blockinherit ba) ... )" is wrong. The
> "(blockinherit ba)" could be replaced with a comment indicating that a
> blockinherit was expanded.
>
> 2. semanage's gettext setup is currently incompatible with Python
> 3.10. More precisely
> https://docs.python.org/3.8/library/gettext.html#gettext.install
> indicates: "Deprecated since version 3.8, will be removed in version
> 3.10: The codeset parameter.". When I stumbled upon this issue, it
> occured to me that the whole try-except statement in
> https://github.com/SELinuxProject/selinux/blob/libsemanage-3.2/python/semanage/semanage#L34-L49
> could be replaced with "import gettext" (which is a built-in module in
> Python 3) and "gettext.install(PROGNAME,
> localedir="/usr/share/locale")". Nevertheless I did not find time to
> properly test this change, which is why I have not sent patches for it
> sooner.
>
> In my opinion, the first issue is not a release-blocker because
> "secil2tree -A resolve" is not expected to output a CIL policy which
> can be compiled. The second one could be, if we want to support Python
> 3.10 (which will be released in October) with the 3.3 release.
>

Thanks everybody.

Based on the input, I will not prepare rc1 tomorrow. And I'll be offline
next week so lets postpone rc1 to Wed Sep 08 2021.

Petr



  reply	other threads:[~2021-08-17 18:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 13:18 lets think about 3.3 release Petr Lautrbach
2021-08-09 14:01 ` James Carter
2021-08-09 14:43   ` Dominick Grift
2021-08-15 20:21     ` Nicolas Iooss
2021-08-17 18:44       ` Petr Lautrbach [this message]
2021-09-03  8:05 ` Petr Lautrbach
2021-09-03  8:37   ` Dominick Grift
2021-09-03 12:45     ` James Carter
2021-09-03 14:12       ` Petr Lautrbach
2021-09-03 19:13   ` Petr Lautrbach
2021-09-06 18:39     ` lets think about 3.3 - 3.3-rc1 release release notes draft Petr Lautrbach

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=87czqbkj18.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=dominick.grift@defensec.nl \
    --cc=jwcart2@gmail.com \
    --cc=nicolas.iooss@m4x.org \
    --cc=selinux@vger.kernel.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