Re: Making the redhat selinux-policy repository publicly available

Troy Dawson <[email protected]> Tue, 11 Jul 2023 13:37:59 -0700
Newsgroups gmane.linux.centos.devel,gmane.linux.redhat.fedora.selinux
Message-ID <CAKndyURNHQY+PJbX=-Tttrbx+QUFW_=SqzpNscTabbha1pNWNg@mail.gmail.com>
--===============6756661755528133031==
Content-Type: multipart/alternative; boundary="000000000000db043606003c1132"

--000000000000db043606003c1132
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 11, 2023 at 12:50=E2=80=AFPM Neal Gompa <[email protected]> wr=
ote:

> On Tue, Jul 11, 2023 at 9:31=E2=80=AFAM Troy Dawson <[email protected]> =
wrote:
> >
> > On Tue, Jul 11, 2023 at 4:28=E2=80=AFAM Daan De Meyer <daan.j.demeyer@g=
mail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> It seems that the selinux-policy rpm is built from
> >> [email protected]:SELinux/selinux-policy.git which seems to be
> >> a redhat internal repository. More specifically, if I try to checkout
> >> the commit listed in the selinux-policy spec
> >> (
> https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/se=
linux-policy.spec#L3
> )
> >> in the fedora-selinux repository cloned from github, I get an error
> >> saying that the commit does not exist. It would be great if the
> >> repository containing this commit was publicly available and open for
> >> external contributors just like all the other packages in CentOS
> >> Stream. Is it possible to make this happen?
> >
> >
> > I'm not the selinux-policy maintainer, so I can't comment on where they
> work on the selinux-policy source code.
> >
> > But this is how I get the sources, if that is what you are ultimately
> looking for.
> >
> >   centpkg clone selinux-policy
> >   cd selinux-policy
> >   centpkg sources
> > or if you want to know where they really are
> >   centpkg -v sources
> > This shows it to be coming from
> >
> https://sources.stream.centos.org/sources/rpms/selinux-policy/selinux-pol=
icy-66a4b6e.tar.gz/sha512/797e746ccd271fe531a91b2639aed06447fb2720267dadba2=
25989d81634b1fb7b2a4e78262612a41b6073f6e0eca358b8c274adc33630cd3f0db1390cd5=
7767/selinux-policy-66a4b6e.tar.gz
> >
> > The sources information is found in the sources file
> >
> https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/so=
urces
> >
> > I know this isn't exactly what you asked for, but I hope it still helps=
.
> >
>
> I think the idea is that having the Git repository in a public
> location would allow the CentOS Hyperscale SIG to contribute to the
> SELinux policy in a meaningful way.
>

Ah, ok.  That makes sense.
As I said, I'm not the maintainer so I don't know why it's where it is.  So
I'll step out of the conversation.

Troy

--000000000000db043606003c1132
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, Jul 11, 2023 at 12:50=E2=80=AFPM =
Neal Gompa &lt;<a href=3D"mailto:[email protected]">[email protected]</a>=
&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">On Tue, Jul 11, 2023 at 9:31=E2=80=AFAM Troy Dawson =
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">tdawson@redhat.=
com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Tue, Jul 11, 2023 at 4:28=E2=80=AFAM Daan De Meyer &lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; It seems that the selinux-policy rpm is built from<br>
&gt;&gt; [email protected]:SELinux/selinux-policy.git which seems t=
o be<br>
&gt;&gt; a redhat internal repository. More specifically, if I try to check=
out<br>
&gt;&gt; the commit listed in the selinux-policy spec<br>
&gt;&gt; (<a href=3D"https://gitlab.com/redhat/centos-stream/rpms/selinux-p=
olicy/-/blob/c9s/selinux-policy.spec#L3" rel=3D"noreferrer" target=3D"_blan=
k">https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/s=
elinux-policy.spec#L3</a>)<br>
&gt;&gt; in the fedora-selinux repository cloned from github, I get an erro=
r<br>
&gt;&gt; saying that the commit does not exist. It would be great if the<br=
>
&gt;&gt; repository containing this commit was publicly available and open =
for<br>
&gt;&gt; external contributors just like all the other packages in CentOS<b=
r>
&gt;&gt; Stream. Is it possible to make this happen?<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m not the selinux-policy maintainer, so I can&#39;t comment on w=
here they work on the selinux-policy source code.<br>
&gt;<br>
&gt; But this is how I get the sources, if that is what you are ultimately =
looking for.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0centpkg clone selinux-policy<br>
&gt;=C2=A0 =C2=A0cd selinux-policy<br>
&gt;=C2=A0 =C2=A0centpkg sources<br>
&gt; or if you want to know where they really are<br>
&gt;=C2=A0 =C2=A0centpkg -v sources<br>
&gt; This shows it to be coming from<br>
&gt; <a href=3D"https://sources.stream.centos.org/sources/rpms/selinux-poli=
cy/selinux-policy-66a4b6e.tar.gz/sha512/797e746ccd271fe531a91b2639aed06447f=
b2720267dadba225989d81634b1fb7b2a4e78262612a41b6073f6e0eca358b8c274adc33630=
cd3f0db1390cd57767/selinux-policy-66a4b6e.tar.gz" rel=3D"noreferrer" target=
=3D"_blank">https://sources.stream.centos.org/sources/rpms/selinux-policy/s=
elinux-policy-66a4b6e.tar.gz/sha512/797e746ccd271fe531a91b2639aed06447fb272=
0267dadba225989d81634b1fb7b2a4e78262612a41b6073f6e0eca358b8c274adc33630cd3f=
0db1390cd57767/selinux-policy-66a4b6e.tar.gz</a><br>
&gt;<br>
&gt; The sources information is found in the sources file<br>
&gt; <a href=3D"https://gitlab.com/redhat/centos-stream/rpms/selinux-policy=
/-/blob/c9s/sources" rel=3D"noreferrer" target=3D"_blank">https://gitlab.co=
m/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/sources</a><br>
&gt;<br>
&gt; I know this isn&#39;t exactly what you asked for, but I hope it still =
helps.<br>
&gt;<br>
<br>
I think the idea is that having the Git repository in a public<br>
location would allow the CentOS Hyperscale SIG to contribute to the<br>
SELinux policy in a meaningful way.<br></blockquote><div><br></div><div>Ah,=
 ok.=C2=A0 That makes sense.</div><div>As I said, I&#39;m not the maintaine=
r so I don&#39;t know why it&#39;s where it is.=C2=A0 So I&#39;ll step out =
of the conversation.</div><div><br></div><div>Troy</div><div>=C2=A0<br></di=
v></div></div>

--000000000000db043606003c1132--


--===============6756661755528133031==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
CentOS-devel mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos-devel

--===============6756661755528133031==--