All of lore.kernel.org
 help / color / mirror / Atom feed
* [selinux] sumo compilation
@ 2018-10-17 23:00 Sinan Kaya
  2018-10-17 23:27 ` sscott
  0 siblings, 1 reply; 22+ messages in thread
From: Sinan Kaya @ 2018-10-17 23:00 UTC (permalink / raw)
  To: yocto

Hi,

We realized today that SELinux does not compile on sumo branch.

Is it possible for someone to branch the last working version to a sumo branch?

http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/

NOTE: Running task 352 of 2707 
(virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
NOTE: Running task 1413 of 2707 
(/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
Applying patch misc_create_inode.c-label_rootfs.patch
patching file misc/create_inode.c
Hunk #1 FAILED at 979.
Hunk #2 FAILED at 987.

Sinan


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-17 23:00 [selinux] sumo compilation Sinan Kaya
@ 2018-10-17 23:27 ` sscott
  2018-10-18  6:14   ` Stefano Cappa
  0 siblings, 1 reply; 22+ messages in thread
From: sscott @ 2018-10-17 23:27 UTC (permalink / raw)
  To: yocto, Sinan Kaya


It was broken in rocko too. I added this to local.conf to workaround the problem:

PREFERRED_VERSION_refpolicy-standard = "2.20170204"

-steve

---- Sinan Kaya <okaya@kernel.org> wrote: 
> Hi,
> 
> We realized today that SELinux does not compile on sumo branch.
> 
> Is it possible for someone to branch the last working version to a sumo branch?
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> 
> NOTE: Running task 352 of 2707 
> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> NOTE: Running task 1413 of 2707 
> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
> Applying patch misc_create_inode.c-label_rootfs.patch
> patching file misc/create_inode.c
> Hunk #1 FAILED at 979.
> Hunk #2 FAILED at 987.
> 
> Sinan
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-17 23:27 ` sscott
@ 2018-10-18  6:14   ` Stefano Cappa
  2018-10-18 13:48     ` Steve Scott
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Cappa @ 2018-10-18  6:14 UTC (permalink / raw)
  To: sscott; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]

Exactly the same issue since September.

Here is my discussion
https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html.
With that trick did you find a solution also on sumo?


Il gio 18 ott 2018, 01:42 <sscott@san.rr.com> ha scritto:

>
> It was broken in rocko too. I added this to local.conf to workaround the
> problem:
>
> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>
> -steve
>
> ---- Sinan Kaya <okaya@kernel.org> wrote:
> > Hi,
> >
> > We realized today that SELinux does not compile on sumo branch.
> >
> > Is it possible for someone to branch the last working version to a sumo
> branch?
> >
> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> >
> > NOTE: Running task 352 of 2707
> > (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/
> e2fsprogs_1.43.8.bb:do_patch)
> > NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> > NOTE: Running task 1413 of 2707
> > (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:
> do_patch)
> > NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> > ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt
> --quiltrc
> > Applying patch misc_create_inode.c-label_rootfs.patch
> > patching file misc/create_inode.c
> > Hunk #1 FAILED at 979.
> > Hunk #2 FAILED at 987.
> >
> > Sinan
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2731 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18  6:14   ` Stefano Cappa
@ 2018-10-18 13:48     ` Steve Scott
  2018-10-18 14:49       ` Sinan Kaya
  0 siblings, 1 reply; 22+ messages in thread
From: Steve Scott @ 2018-10-18 13:48 UTC (permalink / raw)
  To: 'Stefano Cappa'; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

I did not try it on sumo. 

 

From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com] 
Sent: Wednesday, October 17, 2018 11:15 PM
To: sscott@san.rr.com
Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
Subject: Re: [yocto] [selinux] sumo compilation

 

Exactly the same issue since September. 

 

Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo? 

 

Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha scritto:


It was broken in rocko too. I added this to local.conf to workaround the problem:

PREFERRED_VERSION_refpolicy-standard = "2.20170204"

-steve

---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote: 
> Hi,
> 
> We realized today that SELinux does not compile on sumo branch.
> 
> Is it possible for someone to branch the last working version to a sumo branch?
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> 
> NOTE: Running task 352 of 2707 
> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> NOTE: Running task 1413 of 2707 
> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
> Applying patch misc_create_inode.c-label_rootfs.patch
> patching file misc/create_inode.c
> Hunk #1 FAILED at 979.
> Hunk #2 FAILED at 987.
> 
> Sinan
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> 
> https://lists.yoctoproject.org/listinfo/yocto

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> 
https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Type: text/html, Size: 5341 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 13:48     ` Steve Scott
@ 2018-10-18 14:49       ` Sinan Kaya
  2018-10-18 15:05         ` Sinan Kaya
  2018-10-18 16:00         ` Mark Hatle
  0 siblings, 2 replies; 22+ messages in thread
From: Sinan Kaya @ 2018-10-18 14:49 UTC (permalink / raw)
  To: sscott, 'Stefano Cappa'; +Cc: yocto

CC'ing the selinux maintainers:

I was told that using the master branch and reverting the e2fs change
(http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78eca8242ea5397c4dc0654d62244453b4260151) 
works on sumo.

Stefano's suggestion unfortunately didn't work.

Maybe, it is time to create the sumo branch?

On 10/18/2018 9:48 AM, Steve Scott wrote:
> I did not try it on sumo.
> 
>   
> 
> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
> Sent: Wednesday, October 17, 2018 11:15 PM
> To: sscott@san.rr.com
> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
> Subject: Re: [yocto] [selinux] sumo compilation
> 
>   
> 
> Exactly the same issue since September.
> 
>   
> 
> Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo?
> 
>   
> 
> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha scritto:
> 
> 
> It was broken in rocko too. I added this to local.conf to workaround the problem:
> 
> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
> 
> -steve
> 
> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
>> Hi,
>>
>> We realized today that SELinux does not compile on sumo branch.
>>
>> Is it possible for someone to branch the last working version to a sumo branch?
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
>>
>> NOTE: Running task 352 of 2707
>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
>> NOTE: Running task 1413 of 2707
>> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
>> Applying patch misc_create_inode.c-label_rootfs.patch
>> patching file misc/create_inode.c
>> Hunk #1 FAILED at 979.
>> Hunk #2 FAILED at 987.
>>
>> Sinan
>> -- 
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
> 



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 14:49       ` Sinan Kaya
@ 2018-10-18 15:05         ` Sinan Kaya
  2018-10-18 15:46           ` Steve Scott
  2018-10-18 16:00         ` Mark Hatle
  1 sibling, 1 reply; 22+ messages in thread
From: Sinan Kaya @ 2018-10-18 15:05 UTC (permalink / raw)
  To: sscott, 'Stefano Cappa'; +Cc: yocto

Sorry for confusing names, not enough coffee yet...

I was trying to say that Steve's suggestion to use

PREFERRED_VERSION_refpolicy-standard = "2.20170204"

didn't work on sumo branch.

On 10/18/2018 10:49 AM, Sinan Kaya wrote:
> CC'ing the selinux maintainers:
> 
> I was told that using the master branch and reverting the e2fs change
> (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78eca8242ea5397c4dc0654d62244453b4260151) 
> works on sumo.
> 
> Stefano's suggestion unfortunately didn't work.
> 
> Maybe, it is time to create the sumo branch?
> 
> On 10/18/2018 9:48 AM, Steve Scott wrote:
>> I did not try it on sumo.
>>
>>
>> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
>> Sent: Wednesday, October 17, 2018 11:15 PM
>> To: sscott@san.rr.com
>> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
>> Subject: Re: [yocto] [selinux] sumo compilation
>>
>>
>> Exactly the same issue since September.
>>
>>
>> Here is my discussion 
>> https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. 
>> With that trick did you find a solution also on sumo?
>>
>>
>> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha 
>> scritto:
>>
>>
>> It was broken in rocko too. I added this to local.conf to workaround the problem:
>>
>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>
>> -steve
>>
>> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
>>> Hi,
>>>
>>> We realized today that SELinux does not compile on sumo branch.
>>>
>>> Is it possible for someone to branch the last working version to a sumo branch?
>>>
>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
>>>
>>> NOTE: Running task 352 of 2707
>>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb 
>>> <http://e2fsprogs_1.43.8.bb> :do_patch)
>>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
>>> NOTE: Running task 1413 of 2707
>>> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
>>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
>>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
>>> Applying patch misc_create_inode.c-label_rootfs.patch
>>> patching file misc/create_inode.c
>>> Hunk #1 FAILED at 979.
>>> Hunk #2 FAILED at 987.
>>>
>>> Sinan
>>> -- 
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
> 



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 15:05         ` Sinan Kaya
@ 2018-10-18 15:46           ` Steve Scott
  2018-10-18 16:15             ` Sinan Kaya
  0 siblings, 1 reply; 22+ messages in thread
From: Steve Scott @ 2018-10-18 15:46 UTC (permalink / raw)
  To: 'Sinan Kaya', 'Stefano Cappa'; +Cc: yocto

You may also need
    PREFERRED_PROVIDER_virtual/refpolicy = "refpolicy-standard"
in local.conf. 

-steve

> -----Original Message-----
> From: Sinan Kaya [mailto:okaya@kernel.org]
> Sent: Thursday, October 18, 2018 8:06 AM
> To: sscott@san.rr.com; 'Stefano Cappa' <stefano.cappa.ks89@gmail.com>
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] [selinux] sumo compilation
> 
> Sorry for confusing names, not enough coffee yet...
> 
> I was trying to say that Steve's suggestion to use
> 
> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
> 
> didn't work on sumo branch.
> 
> On 10/18/2018 10:49 AM, Sinan Kaya wrote:
> > CC'ing the selinux maintainers:
> >
> > I was told that using the master branch and reverting the e2fs change
> > (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78e
> > ca8242ea5397c4dc0654d62244453b4260151)
> > works on sumo.
> >
> > Stefano's suggestion unfortunately didn't work.
> >
> > Maybe, it is time to create the sumo branch?
> >
> > On 10/18/2018 9:48 AM, Steve Scott wrote:
> >> I did not try it on sumo.
> >>
> >>
> >> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
> >> Sent: Wednesday, October 17, 2018 11:15 PM
> >> To: sscott@san.rr.com
> >> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
> >> Subject: Re: [yocto] [selinux] sumo compilation
> >>
> >>
> >> Exactly the same issue since September.
> >>
> >>
> >> Here is my discussion
> >> https://lists.yoctoproject.org/pipermail/yocto/2018-
> September/042711.html.
> >> With that trick did you find a solution also on sumo?
> >>
> >>
> >> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com
> >> <mailto:sscott@san.rr.com> > ha
> >> scritto:
> >>
> >>
> >> It was broken in rocko too. I added this to local.conf to workaround the
> problem:
> >>
> >> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
> >>
> >> -steve
> >>
> >> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
> >>> Hi,
> >>>
> >>> We realized today that SELinux does not compile on sumo branch.
> >>>
> >>> Is it possible for someone to branch the last working version to a sumo
> branch?
> >>>
> >>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> >>>
> >>> NOTE: Running task 352 of 2707
> >>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fspr
> >>> ogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
> >>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> >>> NOTE: Running task 1413 of 2707
> >>> (/sources/poky/meta/recipes-
> devtools/e2fsprogs/e2fsprogs_1.43.8.bb:d
> >>> o_patch)
> >>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> >>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt
> >>> --quiltrc Applying patch misc_create_inode.c-label_rootfs.patch
> >>> patching file misc/create_inode.c
> >>> Hunk #1 FAILED at 979.
> >>> Hunk #2 FAILED at 987.
> >>>
> >>> Sinan
> >>> --
> >>> _______________________________________________
> >>> yocto mailing list
> >>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >>> https://lists.yoctoproject.org/listinfo/yocto
> >>
> >



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 14:49       ` Sinan Kaya
  2018-10-18 15:05         ` Sinan Kaya
@ 2018-10-18 16:00         ` Mark Hatle
  2018-10-18 19:08           ` Joe MacDonald
  1 sibling, 1 reply; 22+ messages in thread
From: Mark Hatle @ 2018-10-18 16:00 UTC (permalink / raw)
  To: Sinan Kaya, sscott, 'Stefano Cappa'; +Cc: yocto

On 10/18/18 9:49 AM, Sinan Kaya wrote:
> CC'ing the selinux maintainers:
> 
> I was told that using the master branch and reverting the e2fs change
> (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78eca8242ea5397c4dc0654d62244453b4260151) 
> works on sumo.
> 
> Stefano's suggestion unfortunately didn't work.
> 
> Maybe, it is time to create the sumo branch?

Sorry, I thought it had been created.  I'm going to be traveling the next few
days to ELC-E, but I will try to get to it if someone else does not first.

--Mark

> On 10/18/2018 9:48 AM, Steve Scott wrote:
>> I did not try it on sumo.
>>
>>   
>>
>> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
>> Sent: Wednesday, October 17, 2018 11:15 PM
>> To: sscott@san.rr.com
>> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
>> Subject: Re: [yocto] [selinux] sumo compilation
>>
>>   
>>
>> Exactly the same issue since September.
>>
>>   
>>
>> Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo?
>>
>>   
>>
>> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha scritto:
>>
>>
>> It was broken in rocko too. I added this to local.conf to workaround the problem:
>>
>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>
>> -steve
>>
>> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
>>> Hi,
>>>
>>> We realized today that SELinux does not compile on sumo branch.
>>>
>>> Is it possible for someone to branch the last working version to a sumo branch?
>>>
>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
>>>
>>> NOTE: Running task 352 of 2707
>>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
>>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
>>> NOTE: Running task 1413 of 2707
>>> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
>>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
>>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
>>> Applying patch misc_create_inode.c-label_rootfs.patch
>>> patching file misc/create_inode.c
>>> Hunk #1 FAILED at 979.
>>> Hunk #2 FAILED at 987.
>>>
>>> Sinan
>>> -- 
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
> 



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 15:46           ` Steve Scott
@ 2018-10-18 16:15             ` Sinan Kaya
  0 siblings, 0 replies; 22+ messages in thread
From: Sinan Kaya @ 2018-10-18 16:15 UTC (permalink / raw)
  To: sscott, 'Stefano Cappa'; +Cc: yocto

Thanks Steve,

We'll give it a try.

On 10/18/2018 11:46 AM, Steve Scott wrote:
> You may also need
>      PREFERRED_PROVIDER_virtual/refpolicy = "refpolicy-standard"
> in local.conf.
> 
> -steve
> 
>> -----Original Message-----
>> From: Sinan Kaya [mailto:okaya@kernel.org]
>> Sent: Thursday, October 18, 2018 8:06 AM
>> To: sscott@san.rr.com; 'Stefano Cappa' <stefano.cappa.ks89@gmail.com>
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] [selinux] sumo compilation
>>
>> Sorry for confusing names, not enough coffee yet...
>>
>> I was trying to say that Steve's suggestion to use
>>
>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>
>> didn't work on sumo branch.
>>
>> On 10/18/2018 10:49 AM, Sinan Kaya wrote:
>>> CC'ing the selinux maintainers:
>>>
>>> I was told that using the master branch and reverting the e2fs change
>>> (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78e
>>> ca8242ea5397c4dc0654d62244453b4260151)
>>> works on sumo.
>>>
>>> Stefano's suggestion unfortunately didn't work.
>>>
>>> Maybe, it is time to create the sumo branch?
>>>
>>> On 10/18/2018 9:48 AM, Steve Scott wrote:
>>>> I did not try it on sumo.
>>>>
>>>>
>>>> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
>>>> Sent: Wednesday, October 17, 2018 11:15 PM
>>>> To: sscott@san.rr.com
>>>> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
>>>> Subject: Re: [yocto] [selinux] sumo compilation
>>>>
>>>>
>>>> Exactly the same issue since September.
>>>>
>>>>
>>>> Here is my discussion
>>>> https://lists.yoctoproject.org/pipermail/yocto/2018-
>> September/042711.html.
>>>> With that trick did you find a solution also on sumo?
>>>>
>>>>
>>>> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com
>>>> <mailto:sscott@san.rr.com> > ha
>>>> scritto:
>>>>
>>>>
>>>> It was broken in rocko too. I added this to local.conf to workaround the
>> problem:
>>>>
>>>> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
>>>>
>>>> -steve
>>>>
>>>> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
>>>>> Hi,
>>>>>
>>>>> We realized today that SELinux does not compile on sumo branch.
>>>>>
>>>>> Is it possible for someone to branch the last working version to a sumo
>> branch?
>>>>>
>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
>>>>>
>>>>> NOTE: Running task 352 of 2707
>>>>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fspr
>>>>> ogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
>>>>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
>>>>> NOTE: Running task 1413 of 2707
>>>>> (/sources/poky/meta/recipes-
>> devtools/e2fsprogs/e2fsprogs_1.43.8.bb:d
>>>>> o_patch)
>>>>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
>>>>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt
>>>>> --quiltrc Applying patch misc_create_inode.c-label_rootfs.patch
>>>>> patching file misc/create_inode.c
>>>>> Hunk #1 FAILED at 979.
>>>>> Hunk #2 FAILED at 987.
>>>>>
>>>>> Sinan
>>>>> --
>>>>> _______________________________________________
>>>>> yocto mailing list
>>>>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>>
> 
> 



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 16:00         ` Mark Hatle
@ 2018-10-18 19:08           ` Joe MacDonald
  2018-10-18 20:48             ` Sinan Kaya
  2018-10-24 23:49             ` Joe MacDonald
  0 siblings, 2 replies; 22+ messages in thread
From: Joe MacDonald @ 2018-10-18 19:08 UTC (permalink / raw)
  To: Mark Hatle; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2935 bytes --]

[Re: [yocto] [selinux] sumo compilation] On 18.10.18 (Thu 11:00) Mark Hatle wrote:

> On 10/18/18 9:49 AM, Sinan Kaya wrote:
> > CC'ing the selinux maintainers:
> > 
> > I was told that using the master branch and reverting the e2fs change
> > (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78eca8242ea5397c4dc0654d62244453b4260151) 
> > works on sumo.
> > 
> > Stefano's suggestion unfortunately didn't work.
> > 
> > Maybe, it is time to create the sumo branch?
> 
> Sorry, I thought it had been created.  I'm going to be traveling the
> next few days to ELC-E, but I will try to get to it if someone else
> does not first.

Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
sorted out.

-J.

> 
> --Mark
> 
> > On 10/18/2018 9:48 AM, Steve Scott wrote:
> >> I did not try it on sumo.
> >>
> >>   
> >>
> >> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
> >> Sent: Wednesday, October 17, 2018 11:15 PM
> >> To: sscott@san.rr.com
> >> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
> >> Subject: Re: [yocto] [selinux] sumo compilation
> >>
> >>   
> >>
> >> Exactly the same issue since September.
> >>
> >>   
> >>
> >> Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo?
> >>
> >>   
> >>
> >> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha scritto:
> >>
> >>
> >> It was broken in rocko too. I added this to local.conf to workaround the problem:
> >>
> >> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
> >>
> >> -steve
> >>
> >> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
> >>> Hi,
> >>>
> >>> We realized today that SELinux does not compile on sumo branch.
> >>>
> >>> Is it possible for someone to branch the last working version to a sumo branch?
> >>>
> >>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> >>>
> >>> NOTE: Running task 352 of 2707
> >>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
> >>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> >>> NOTE: Running task 1413 of 2707
> >>> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
> >>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> >>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
> >>> Applying patch misc_create_inode.c-label_rootfs.patch
> >>> patching file misc/create_inode.c
> >>> Hunk #1 FAILED at 979.
> >>> Hunk #2 FAILED at 987.
> >>>
> >>> Sinan
> >>> -- 
> >>> _______________________________________________
> >>> yocto mailing list
> >>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> >>> https://lists.yoctoproject.org/listinfo/yocto
> >>
> > 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 19:08           ` Joe MacDonald
@ 2018-10-18 20:48             ` Sinan Kaya
  2018-10-18 21:13               ` Stefano Cappa
  2018-10-24 23:49             ` Joe MacDonald
  1 sibling, 1 reply; 22+ messages in thread
From: Sinan Kaya @ 2018-10-18 20:48 UTC (permalink / raw)
  To: Joe MacDonald, Mark Hatle; +Cc: yocto

On 10/18/2018 3:08 PM, Joe MacDonald wrote:
>> Sorry, I thought it had been created.  I'm going to be traveling the
>> next few days to ELC-E, but I will try to get to it if someone else
>> does not first.
> Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
> sorted out.

thanks.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 20:48             ` Sinan Kaya
@ 2018-10-18 21:13               ` Stefano Cappa
  2018-10-20 23:18                 ` Stefano Cappa
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Cappa @ 2018-10-18 21:13 UTC (permalink / raw)
  To: Sinan Kaya; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

Thank you

Il gio 18 ott 2018, 22:48 Sinan Kaya <okaya@kernel.org> ha scritto:

> On 10/18/2018 3:08 PM, Joe MacDonald wrote:
> >> Sorry, I thought it had been created.  I'm going to be traveling the
> >> next few days to ELC-E, but I will try to get to it if someone else
> >> does not first.
> > Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
> > sorted out.
>
> thanks.
>

[-- Attachment #2: Type: text/html, Size: 676 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 21:13               ` Stefano Cappa
@ 2018-10-20 23:18                 ` Stefano Cappa
  2018-10-21  8:13                   ` Mark Hatle
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Cappa @ 2018-10-20 23:18 UTC (permalink / raw)
  To: Sinan Kaya; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

I reverted the commit as described and finally I'm able to build.

However, after using -minimal version and booting with selinux=1 and
enforcing=0, when I run this command: "fixfiles -f -F relabel" I get this
error:

Cleaning out /tmp
fixfiles: No suitable file systems found
Cleaning up labels on /tmp
secon: SELinux is not enabled
cat: /initial_contexts/unlabeled: No such file or directory

I don't understand why it's happening.

I'm trying on the official iMX6 evaluation kit by NXP.

Il giorno gio 18 ott 2018 alle ore 23:13 Stefano Cappa <
stefano.cappa.ks89@gmail.com> ha scritto:

> Thank you
>
> Il gio 18 ott 2018, 22:48 Sinan Kaya <okaya@kernel.org> ha scritto:
>
>> On 10/18/2018 3:08 PM, Joe MacDonald wrote:
>> >> Sorry, I thought it had been created.  I'm going to be traveling the
>> >> next few days to ELC-E, but I will try to get to it if someone else
>> >> does not first.
>> > Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
>> > sorted out.
>>
>> thanks.
>>
>

[-- Attachment #2: Type: text/html, Size: 1705 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-20 23:18                 ` Stefano Cappa
@ 2018-10-21  8:13                   ` Mark Hatle
  0 siblings, 0 replies; 22+ messages in thread
From: Mark Hatle @ 2018-10-21  8:13 UTC (permalink / raw)
  To: Stefano Cappa, Sinan Kaya; +Cc: yocto

On 10/21/18 12:18 AM, Stefano Cappa wrote:
> I reverted the commit as described and finally I'm able to build.
> 
> However, after using -minimal version and booting with selinux=1 and
> enforcing=0, when I run this command: "fixfiles -f -F relabel" I get this error:
> 
> Cleaning out /tmp
> fixfiles: No suitable file systems found
> Cleaning up labels on /tmp
> secon: SELinux is not enabled
> cat: /initial_contexts/unlabeled: No such file or directory
> 
> I don't understand why it's happening.
> 
> I'm trying on the official iMX6 evaluation kit by NXP.

You need to make sure that the filesystem in use has extendded attributes
enabled.  A lot of silicon vendor versions have this disabled, or use a
filesystem where it's not supported.

ext*fs, xfs, etc usually support it, with the right kernel configuration.

--Mark

> Il giorno gio 18 ott 2018 alle ore 23:13 Stefano Cappa
> <stefano.cappa.ks89@gmail.com <mailto:stefano.cappa.ks89@gmail.com>> ha scritto:
> 
>     Thank you
> 
>     Il gio 18 ott 2018, 22:48 Sinan Kaya <okaya@kernel.org
>     <mailto:okaya@kernel.org>> ha scritto:
> 
>         On 10/18/2018 3:08 PM, Joe MacDonald wrote:
>         >> Sorry, I thought it had been created.  I'm going to be traveling the
>         >> next few days to ELC-E, but I will try to get to it if someone else
>         >> does not first.
>         > Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
>         > sorted out.
> 
>         thanks.
> 



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-18 19:08           ` Joe MacDonald
  2018-10-18 20:48             ` Sinan Kaya
@ 2018-10-24 23:49             ` Joe MacDonald
  2018-10-30 13:45               ` Sinan Kaya
  1 sibling, 1 reply; 22+ messages in thread
From: Joe MacDonald @ 2018-10-24 23:49 UTC (permalink / raw)
  To: Mark Hatle; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3763 bytes --]

Hey all,

I just thought I should quickly follow up on this.  I have a change set
ready that includes tagging and a minor tweak for sumo, integration of
the current outstanding patch list and a tag for thud and a couple of
additional things (possibly) for post-thud.  I'll send out a set for
sumo and maybe an additional one for thud/post- possibly tomorrow or
after I get home on Friday.

-J.

[Re: [yocto] [selinux] sumo compilation] On 18.10.18 (Thu 15:08) Joe MacDonald wrote:

> [Re: [yocto] [selinux] sumo compilation] On 18.10.18 (Thu 11:00) Mark Hatle wrote:
> 
> > On 10/18/18 9:49 AM, Sinan Kaya wrote:
> > > CC'ing the selinux maintainers:
> > > 
> > > I was told that using the master branch and reverting the e2fs change
> > > (http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?id=78eca8242ea5397c4dc0654d62244453b4260151) 
> > > works on sumo.
> > > 
> > > Stefano's suggestion unfortunately didn't work.
> > > 
> > > Maybe, it is time to create the sumo branch?
> > 
> > Sorry, I thought it had been created.  I'm going to be traveling the
> > next few days to ELC-E, but I will try to get to it if someone else
> > does not first.
> 
> Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
> sorted out.
> 
> -J.
> 
> > 
> > --Mark
> > 
> > > On 10/18/2018 9:48 AM, Steve Scott wrote:
> > >> I did not try it on sumo.
> > >>
> > >>   
> > >>
> > >> From: Stefano Cappa [mailto:stefano.cappa.ks89@gmail.com]
> > >> Sent: Wednesday, October 17, 2018 11:15 PM
> > >> To: sscott@san.rr.com
> > >> Cc: Sinan Kaya <okaya@kernel.org>; yocto@yoctoproject.org
> > >> Subject: Re: [yocto] [selinux] sumo compilation
> > >>
> > >>   
> > >>
> > >> Exactly the same issue since September.
> > >>
> > >>   
> > >>
> > >> Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo?
> > >>
> > >>   
> > >>
> > >> Il gio 18 ott 2018, 01:42 <sscott@san.rr.com <mailto:sscott@san.rr.com> > ha scritto:
> > >>
> > >>
> > >> It was broken in rocko too. I added this to local.conf to workaround the problem:
> > >>
> > >> PREFERRED_VERSION_refpolicy-standard = "2.20170204"
> > >>
> > >> -steve
> > >>
> > >> ---- Sinan Kaya <okaya@kernel.org <mailto:okaya@kernel.org> > wrote:
> > >>> Hi,
> > >>>
> > >>> We realized today that SELinux does not compile on sumo branch.
> > >>>
> > >>> Is it possible for someone to branch the last working version to a sumo branch?
> > >>>
> > >>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/refs/
> > >>>
> > >>> NOTE: Running task 352 of 2707
> > >>> (virtual:native:/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb <http://e2fsprogs_1.43.8.bb> :do_patch)
> > >>> NOTE: recipe e2fsprogs-native-1.43.8-r0: task do_patch: Started
> > >>> NOTE: Running task 1413 of 2707
> > >>> (/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_patch)
> > >>> NOTE: recipe e2fsprogs-1.43.8-r0: task do_patch: Started
> > >>> ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc
> > >>> Applying patch misc_create_inode.c-label_rootfs.patch
> > >>> patching file misc/create_inode.c
> > >>> Hunk #1 FAILED at 979.
> > >>> Hunk #2 FAILED at 987.
> > >>>
> > >>> Sinan
> > >>> -- 
> > >>> _______________________________________________
> > >>> yocto mailing list
> > >>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> > >>> https://lists.yoctoproject.org/listinfo/yocto
> > >>
> > > 
> > 



> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-24 23:49             ` Joe MacDonald
@ 2018-10-30 13:45               ` Sinan Kaya
  2018-12-30 11:28                 ` Stefano Cappa
  0 siblings, 1 reply; 22+ messages in thread
From: Sinan Kaya @ 2018-10-30 13:45 UTC (permalink / raw)
  To: yocto

On 10/24/2018 7:49 PM, Joe MacDonald wrote:
> Hey all,
> 
> I just thought I should quickly follow up on this.  I have a change set
> ready that includes tagging and a minor tweak for sumo, integration of
> the current outstanding patch list and a tag for thud and a couple of
> additional things (possibly) for post-thud.  I'll send out a set for
> sumo and maybe an additional one for thud/post- possibly tomorrow or
> after I get home on Friday.

Thanks, we are looking forward to see it on yocto.

> 
> -J.



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-10-30 13:45               ` Sinan Kaya
@ 2018-12-30 11:28                 ` Stefano Cappa
  2018-12-30 14:31                   ` MacDonald, Joe
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Cappa @ 2018-12-30 11:28 UTC (permalink / raw)
  To: Sinan Kaya; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

Are there any news about this? Also for thud branch.

Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org> ha scritto:

> On 10/24/2018 7:49 PM, Joe MacDonald wrote:
> > Hey all,
> >
> > I just thought I should quickly follow up on this.  I have a change set
> > ready that includes tagging and a minor tweak for sumo, integration of
> > the current outstanding patch list and a tag for thud and a couple of
> > additional things (possibly) for post-thud.  I'll send out a set for
> > sumo and maybe an additional one for thud/post- possibly tomorrow or
> > after I get home on Friday.
>
> Thanks, we are looking forward to see it on yocto.
>
> >
> > -J.
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 1294 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-12-30 11:28                 ` Stefano Cappa
@ 2018-12-30 14:31                   ` MacDonald, Joe
  2018-12-31  2:46                     ` Joe MacDonald
  0 siblings, 1 reply; 22+ messages in thread
From: MacDonald, Joe @ 2018-12-30 14:31 UTC (permalink / raw)
  To: Stefano Cappa; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

I have both ready to go, there's been a few hiccups with my access to the git server. I'll push my queued changes somewhere public when I get to a keyboard later today so at least everyone can see what's coming.

-J.

On Dec 30, 2018 6:29 AM, Stefano Cappa <stefano.cappa.ks89@gmail.com> wrote:
Are there any news about this? Also for thud branch.

Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org<mailto:okaya@kernel.org>> ha scritto:
On 10/24/2018 7:49 PM, Joe MacDonald wrote:
> Hey all,
>
> I just thought I should quickly follow up on this.  I have a change set
> ready that includes tagging and a minor tweak for sumo, integration of
> the current outstanding patch list and a tag for thud and a couple of
> additional things (possibly) for post-thud.  I'll send out a set for
> sumo and maybe an additional one for thud/post- possibly tomorrow or
> after I get home on Friday.

Thanks, we are looking forward to see it on yocto.

>
> -J.

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 1978 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-12-30 14:31                   ` MacDonald, Joe
@ 2018-12-31  2:46                     ` Joe MacDonald
  2018-12-31  2:52                       ` MacDonald, Joe
  0 siblings, 1 reply; 22+ messages in thread
From: Joe MacDonald @ 2018-12-31  2:46 UTC (permalink / raw)
  To: Stefano Cappa; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]

[Re: [yocto] [selinux] sumo compilation] On 18.12.30 (Sun 14:31) MacDonald, Joe wrote:

> I have both ready to go, there's been a few hiccups with my access to the git
> server. I'll push my queued changes somewhere public when I get to a keyboard
> later today so at least everyone can see what's coming. 

Update on this.  While we're sorting out the access issue, the current
master, sumo and thud branches on my personal mirror
(https://github.com/joeythesaint/meta-selinux) are mostly up-to-date
(the only thing I haven't included in there yet is the refpolicy update
for the 20180114 release, little overdue, that) and build for the
respective Yocto releases.  If that's not your experience, please let me
know and we'll get that sorted out right away.

Thanks.

-Joe.

> 
> -J.
> 
> On Dec 30, 2018 6:29 AM, Stefano Cappa <stefano.cappa.ks89@gmail.com> wrote:
> Are there any news about this? Also for thud branch. 
> 
> Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org> ha scritto:
> 
>     On 10/24/2018 7:49 PM, Joe MacDonald wrote:
>     > Hey all,
>     >
>     > I just thought I should quickly follow up on this.  I have a change set
>     > ready that includes tagging and a minor tweak for sumo, integration of
>     > the current outstanding patch list and a tag for thud and a couple of
>     > additional things (possibly) for post-thud.  I'll send out a set for
>     > sumo and maybe an additional one for thud/post- possibly tomorrow or
>     > after I get home on Friday.
> 
>     Thanks, we are looking forward to see it on yocto.
> 
>     >
>     > -J.
> 
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org
>     https://lists.yoctoproject.org/listinfo/yocto
> 

> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-12-31  2:46                     ` Joe MacDonald
@ 2018-12-31  2:52                       ` MacDonald, Joe
  2019-01-09 20:55                         ` Stefano Cappa
  0 siblings, 1 reply; 22+ messages in thread
From: MacDonald, Joe @ 2018-12-31  2:52 UTC (permalink / raw)
  To: Stefano Cappa; +Cc: yocto

One additional quick note, in hope of avoiding any further confusion, I'm working on the refpolicy version from July not January 2018.  Sorry about that.

-J.

________________________________________
From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of MacDonald, Joe
Sent: Sunday, December 30, 2018 9:46 PM
To: Stefano Cappa
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] [selinux] sumo compilation

[Re: [yocto] [selinux] sumo compilation] On 18.12.30 (Sun 14:31) MacDonald, Joe wrote:

> I have both ready to go, there's been a few hiccups with my access to the git
> server. I'll push my queued changes somewhere public when I get to a keyboard
> later today so at least everyone can see what's coming.

Update on this.  While we're sorting out the access issue, the current
master, sumo and thud branches on my personal mirror
(https://github.com/joeythesaint/meta-selinux) are mostly up-to-date
(the only thing I haven't included in there yet is the refpolicy update
for the 20180114 release, little overdue, that) and build for the
respective Yocto releases.  If that's not your experience, please let me
know and we'll get that sorted out right away.

Thanks.

-Joe.

>
> -J.
>
> On Dec 30, 2018 6:29 AM, Stefano Cappa <stefano.cappa.ks89@gmail.com> wrote:
> Are there any news about this? Also for thud branch.
>
> Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org> ha scritto:
>
>     On 10/24/2018 7:49 PM, Joe MacDonald wrote:
>     > Hey all,
>     >
>     > I just thought I should quickly follow up on this.  I have a change set
>     > ready that includes tagging and a minor tweak for sumo, integration of
>     > the current outstanding patch list and a tag for thud and a couple of
>     > additional things (possibly) for post-thud.  I'll send out a set for
>     > sumo and maybe an additional one for thud/post- possibly tomorrow or
>     > after I get home on Friday.
>
>     Thanks, we are looking forward to see it on yocto.
>
>     >
>     > -J.
>
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org
>     https://lists.yoctoproject.org/listinfo/yocto
>

> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2018-12-31  2:52                       ` MacDonald, Joe
@ 2019-01-09 20:55                         ` Stefano Cappa
  2019-01-14 23:28                           ` Stefano Cappa
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Cappa @ 2019-01-09 20:55 UTC (permalink / raw)
  To: MacDonald, Joe; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2687 bytes --]

Ok thank you, I'll try it.

Il giorno lun 31 dic 2018 alle ore 03:52 MacDonald, Joe <
Joe_MacDonald@mentor.com> ha scritto:

> One additional quick note, in hope of avoiding any further confusion, I'm
> working on the refpolicy version from July not January 2018.  Sorry about
> that.
>
> -J.
>
> ________________________________________
> From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on
> behalf of MacDonald, Joe
> Sent: Sunday, December 30, 2018 9:46 PM
> To: Stefano Cappa
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] [selinux] sumo compilation
>
> [Re: [yocto] [selinux] sumo compilation] On 18.12.30 (Sun 14:31)
> MacDonald, Joe wrote:
>
> > I have both ready to go, there's been a few hiccups with my access to
> the git
> > server. I'll push my queued changes somewhere public when I get to a
> keyboard
> > later today so at least everyone can see what's coming.
>
> Update on this.  While we're sorting out the access issue, the current
> master, sumo and thud branches on my personal mirror
> (https://github.com/joeythesaint/meta-selinux) are mostly up-to-date
> (the only thing I haven't included in there yet is the refpolicy update
> for the 20180114 release, little overdue, that) and build for the
> respective Yocto releases.  If that's not your experience, please let me
> know and we'll get that sorted out right away.
>
> Thanks.
>
> -Joe.
>
> >
> > -J.
> >
> > On Dec 30, 2018 6:29 AM, Stefano Cappa <stefano.cappa.ks89@gmail.com>
> wrote:
> > Are there any news about this? Also for thud branch.
> >
> > Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org> ha scritto:
> >
> >     On 10/24/2018 7:49 PM, Joe MacDonald wrote:
> >     > Hey all,
> >     >
> >     > I just thought I should quickly follow up on this.  I have a
> change set
> >     > ready that includes tagging and a minor tweak for sumo,
> integration of
> >     > the current outstanding patch list and a tag for thud and a couple
> of
> >     > additional things (possibly) for post-thud.  I'll send out a set
> for
> >     > sumo and maybe an additional one for thud/post- possibly tomorrow
> or
> >     > after I get home on Friday.
> >
> >     Thanks, we are looking forward to see it on yocto.
> >
> >     >
> >     > -J.
> >
> >     --
> >     _______________________________________________
> >     yocto mailing list
> >     yocto@yoctoproject.org
> >     https://lists.yoctoproject.org/listinfo/yocto
> >
>
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 3997 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [selinux] sumo compilation
  2019-01-09 20:55                         ` Stefano Cappa
@ 2019-01-14 23:28                           ` Stefano Cappa
  0 siblings, 0 replies; 22+ messages in thread
From: Stefano Cappa @ 2019-01-14 23:28 UTC (permalink / raw)
  To: MacDonald, Joe; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4761 bytes --]

I tried with yocto thud and your repo (thud branch) and I can build without
issues.
However when I try to run "fixfiles -f -F relabel" the result is:
**Cleaning out /tmp*
**fixfiles: No suitable file systems found*
**Cleaning up labels on /tmp*
**cat: /initial_contexts/unlabeled: No such file or directory*
**secon: SELinux is not enabled*

I tried to check If I have xattrs in my ext4 partition and I can run these
commands as suggested here https://bbs.archlinux.org/viewtopic.php?id=176400
:

$ touch testfile
$ getfattr -n user.comment testfile
testfile: user.comment: No such attribute
$ getfattr testfile
$ setfattr -n user.comment -v "this is a comment" testfile
$ getfattr testfile
# file: testfile
user.comment

$ getfattr -n user.comment testfile
# file: testfile
user.comment="this is a comment"

$ setfattr -x user.comment testfile
$ getfattr testfile


My config.gz contains these:
# CONFIG_IP_NF_SECURITY is not set
# CONFIG_IP6_NF_SECURITY is not set
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_SECURITY_DMESG_RESTRICT=y
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
# CONFIG_SECURITY_NETWORK_XFRM is not set
# CONFIG_SECURITY_PATH is not set
CONFIG_SECURITY_SELINUX=y
# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set
# CONFIG_SECURITY_SELINUX_DISABLE is not set
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
# CONFIG_SECURITY_YAMA is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""

Is there a way to debug this issue with some tricks?
Am I missing something?

Thank u.


Il giorno mer 9 gen 2019 alle ore 21:55 Stefano Cappa <
stefano.cappa.ks89@gmail.com> ha scritto:

> Ok thank you, I'll try it.
>
> Il giorno lun 31 dic 2018 alle ore 03:52 MacDonald, Joe <
> Joe_MacDonald@mentor.com> ha scritto:
>
>> One additional quick note, in hope of avoiding any further confusion, I'm
>> working on the refpolicy version from July not January 2018.  Sorry about
>> that.
>>
>> -J.
>>
>> ________________________________________
>> From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on
>> behalf of MacDonald, Joe
>> Sent: Sunday, December 30, 2018 9:46 PM
>> To: Stefano Cappa
>> Cc: yocto@yoctoproject.org
>> Subject: Re: [yocto] [selinux] sumo compilation
>>
>> [Re: [yocto] [selinux] sumo compilation] On 18.12.30 (Sun 14:31)
>> MacDonald, Joe wrote:
>>
>> > I have both ready to go, there's been a few hiccups with my access to
>> the git
>> > server. I'll push my queued changes somewhere public when I get to a
>> keyboard
>> > later today so at least everyone can see what's coming.
>>
>> Update on this.  While we're sorting out the access issue, the current
>> master, sumo and thud branches on my personal mirror
>> (https://github.com/joeythesaint/meta-selinux) are mostly up-to-date
>> (the only thing I haven't included in there yet is the refpolicy update
>> for the 20180114 release, little overdue, that) and build for the
>> respective Yocto releases.  If that's not your experience, please let me
>> know and we'll get that sorted out right away.
>>
>> Thanks.
>>
>> -Joe.
>>
>> >
>> > -J.
>> >
>> > On Dec 30, 2018 6:29 AM, Stefano Cappa <stefano.cappa.ks89@gmail.com>
>> wrote:
>> > Are there any news about this? Also for thud branch.
>> >
>> > Il mar 30 ott 2018, 14:46 Sinan Kaya <okaya@kernel.org> ha scritto:
>> >
>> >     On 10/24/2018 7:49 PM, Joe MacDonald wrote:
>> >     > Hey all,
>> >     >
>> >     > I just thought I should quickly follow up on this.  I have a
>> change set
>> >     > ready that includes tagging and a minor tweak for sumo,
>> integration of
>> >     > the current outstanding patch list and a tag for thud and a
>> couple of
>> >     > additional things (possibly) for post-thud.  I'll send out a set
>> for
>> >     > sumo and maybe an additional one for thud/post- possibly tomorrow
>> or
>> >     > after I get home on Friday.
>> >
>> >     Thanks, we are looking forward to see it on yocto.
>> >
>> >     >
>> >     > -J.
>> >
>> >     --
>> >     _______________________________________________
>> >     yocto mailing list
>> >     yocto@yoctoproject.org
>> >     https://lists.yoctoproject.org/listinfo/yocto
>> >
>>
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>>

[-- Attachment #2: Type: text/html, Size: 7014 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-01-14 23:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 23:00 [selinux] sumo compilation Sinan Kaya
2018-10-17 23:27 ` sscott
2018-10-18  6:14   ` Stefano Cappa
2018-10-18 13:48     ` Steve Scott
2018-10-18 14:49       ` Sinan Kaya
2018-10-18 15:05         ` Sinan Kaya
2018-10-18 15:46           ` Steve Scott
2018-10-18 16:15             ` Sinan Kaya
2018-10-18 16:00         ` Mark Hatle
2018-10-18 19:08           ` Joe MacDonald
2018-10-18 20:48             ` Sinan Kaya
2018-10-18 21:13               ` Stefano Cappa
2018-10-20 23:18                 ` Stefano Cappa
2018-10-21  8:13                   ` Mark Hatle
2018-10-24 23:49             ` Joe MacDonald
2018-10-30 13:45               ` Sinan Kaya
2018-12-30 11:28                 ` Stefano Cappa
2018-12-30 14:31                   ` MacDonald, Joe
2018-12-31  2:46                     ` Joe MacDonald
2018-12-31  2:52                       ` MacDonald, Joe
2019-01-09 20:55                         ` Stefano Cappa
2019-01-14 23:28                           ` Stefano Cappa

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.