Re: [yocto] [selinux] sumo compilation

2019-01-14 Thread Stefano Cappa
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.k...@gmail.com> ha scritto:

> Ok thank you, I'll try it.
>
> Il giorno lun 31 dic 2018 alle ore 03:52 MacDonald, Joe <
> joe_macdon...@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-boun...@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 
>> wrote:
>> > Are there any news about this? Also for thud branch.
>> >
>> > Il mar 30 ott 2018, 14:46 Sinan Kaya  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
>>
>>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2019-01-09 Thread Stefano Cappa
Ok thank you, I'll try it.

Il giorno lun 31 dic 2018 alle ore 03:52 MacDonald, Joe <
joe_macdon...@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-boun...@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 
> wrote:
> > Are there any news about this? Also for thud branch.
> >
> > Il mar 30 ott 2018, 14:46 Sinan Kaya  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
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-12-30 Thread MacDonald, Joe
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-boun...@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  wrote:
> Are there any news about this? Also for thud branch.
>
> Il mar 30 ott 2018, 14:46 Sinan Kaya  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

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


Re: [yocto] [selinux] sumo compilation

2018-12-30 Thread Joe MacDonald
[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  wrote:
> Are there any news about this? Also for thud branch. 
> 
> Il mar 30 ott 2018, 14:46 Sinan Kaya  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



signature.asc
Description: PGP signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-12-30 Thread MacDonald, Joe
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  wrote:
Are there any news about this? Also for thud branch.

Il mar 30 ott 2018, 14:46 Sinan Kaya 
mailto:ok...@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


Re: [yocto] [selinux] sumo compilation

2018-12-30 Thread Stefano Cappa
Are there any news about this? Also for thud branch.

Il mar 30 ott 2018, 14:46 Sinan Kaya  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


Re: [yocto] [selinux] sumo compilation

2018-10-30 Thread Sinan Kaya

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


Re: [yocto] [selinux] sumo compilation

2018-10-29 Thread Joe MacDonald
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.k...@gmail.com]
> > >> Sent: Wednesday, October 17, 2018 11:15 PM
> > >> To: ssc...@san.rr.com
> > >> Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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



signature.asc
Description: PGP signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-21 Thread Mark Hatle
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
> mailto:stefano.cappa.k...@gmail.com>> ha 
> scritto:
> 
> Thank you
> 
> Il gio 18 ott 2018, 22:48 Sinan Kaya  > 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.
> 

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


Re: [yocto] [selinux] sumo compilation

2018-10-20 Thread Stefano Cappa
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.k...@gmail.com> ha scritto:

> Thank you
>
> Il gio 18 ott 2018, 22:48 Sinan Kaya  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.
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Stefano Cappa
Thank you

Il gio 18 ott 2018, 22:48 Sinan Kaya  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.
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Sinan Kaya

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.
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Joe MacDonald
[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.k...@gmail.com]
> >> Sent: Wednesday, October 17, 2018 11:15 PM
> >> To: ssc...@san.rr.com
> >> Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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
> >>
> > 
> 


signature.asc
Description: PGP signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Sinan Kaya

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:ok...@kernel.org]
Sent: Thursday, October 18, 2018 8:06 AM
To: ssc...@san.rr.com; 'Stefano Cappa' 
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.k...@gmail.com]
Sent: Wednesday, October 17, 2018 11:15 PM
To: ssc...@san.rr.com
Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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









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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Mark Hatle
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.k...@gmail.com]
>> Sent: Wednesday, October 17, 2018 11:15 PM
>> To: ssc...@san.rr.com
>> Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Steve Scott
You may also need
PREFERRED_PROVIDER_virtual/refpolicy = "refpolicy-standard"
in local.conf. 

-steve

> -Original Message-
> From: Sinan Kaya [mailto:ok...@kernel.org]
> Sent: Thursday, October 18, 2018 8:06 AM
> To: ssc...@san.rr.com; 'Stefano Cappa' 
> 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.k...@gmail.com]
> >> Sent: Wednesday, October 17, 2018 11:15 PM
> >> To: ssc...@san.rr.com
> >> Cc: Sinan Kaya ; 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  >> <mailto:ssc...@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 mailto:ok...@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
> >>
> >

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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Sinan Kaya

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.k...@gmail.com]
Sent: Wednesday, October 17, 2018 11:15 PM
To: ssc...@san.rr.com
Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Sinan Kaya

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.k...@gmail.com]
Sent: Wednesday, October 17, 2018 11:15 PM
To: ssc...@san.rr.com
Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Steve Scott
I did not try it on sumo. 

 

From: Stefano Cappa [mailto:stefano.cappa.k...@gmail.com] 
Sent: Wednesday, October 17, 2018 11:15 PM
To: ssc...@san.rr.com
Cc: Sinan Kaya ; 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 mailto:ssc...@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 mailto:ok...@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

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


Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Stefano Cappa
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  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  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
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [selinux] sumo compilation

2018-10-17 Thread sscott


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  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


[yocto] [selinux] sumo compilation

2018-10-17 Thread Sinan Kaya

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