[Arm-dev] opening up the armv7hl plague builders (was plague farm)

Sat May 16 19:53:13 UTC 2015
Jacco Ligthart <jacco at redsleeve.org>

On 05/16/2015 08:49 PM, Mandar Joshi wrote:
>> If you need/want access, feel free to discuss that on this list, but
>> also to create a bug report on https://bugs.centos.org, in the
>> Buildsys project, category "community buildsys - arm32"
>>
> I'm working the GSoC project 'RootFS Build Factory' under the guidance
> of imcleod.
> I've posted a request for access to the plague farm on
> bugs.centos.org. Uploaded my ssh ang gpg public keys as requested.
>
> Also wanted to inform you that with the packages you've compiled and
> made available on http://armv7.dev.centos.org/repodir/ I was able to
> generate a bootable rootfs with just bash and systemd using the Fedora
> 22 kernel. I did this on my Cubietruck. There are a few problems which
> I am working on sorting out. I'm unable to login using the serial
> console due to messages like
>
> [ 81.541719] audit: type=1100 audit(81.525:83): pid=534 uid=0
> auid=4294967295 ses=4294967295 subj=kernel msg='op=PAM:authentication
> acct="" exe="/usr/bin/login" hostname=? addr=? terminal=ttyS0
> res=failed'
> [ 81.560997] audit: type=1112 audit(81.540:84): pid=534 uid=0
> auid=4294967295 ses=4294967295 subj=kernel msg='op=login acct=""
> exe="/usr/bin/login" hostname=? addr=? terminal=ttyS0 res=failed'
>
> Something to do with SELinux I suppose.

As far as I know, an SELinux message allways has the letters AVC in it.
something like:
type=AVC msg=audit(1431804061.073:14187): avc:  denied  { write } for 
pid=10617 etc.

The first thing that comes to my mind is the /etc/securetty file. Do you
have such a file and is ttyS0 in it?


>
> My first task once I get access to the plague farm is to compile all
> the necessary packages to get bash, networking and openssh-server
> working. Do you guys have any suggestions on how I can generate a list
> of SRPMS to accomplish just that. I tried using "yum deplist"
> recursively and that gave me a list of 233 SRPMS. I haven't verified
> the output yet.
>

I'm guessing, that for your project it does not really matter if you use
armv7 or armv5 packages. If that is so, than you could start out with my
armv5 packages: http://ftp.redsleeve.org/pub/el7/ (which is a complete
build of CentOS for armv5) until the build for armv7 is complete.

Jacco