[MDBF-113] Add AIX to Buildbot Created: 2020-08-03  Updated: 2022-02-05  Resolved: 2022-02-05

Status: Closed
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Vlad Bogolin Assignee: Vlad Bogolin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 3h
Original Estimate: Not Specified

Issue Links:
PartOf
is part of MDBF-41 Milestone 5: Desirable fixes Open

 Description   

Since an AIX machine is available, this needs to be added to Buildbot. Docker is not available for AIX, so the buildbot process needs to run directly on the machine.

This is a new addition compared to the old buildbot



 Comments   
Comment by Daniel Black [ 2020-08-25 ]

or wpar

Comment by Daniel Black [ 2020-12-01 ]

Pulling up notes from emails:

Dependencies (runtime at least) http://www-frec.bull.com/pkg?id=5875

RPM build dependencies https://src.fedoraproject.org/rpms/mariadb/blob/master/f/mariadb.spec#_198
so hopefully most of those map up.

very obvious linux dependencies like systemd/systemtap can obviously be dropped. Not sure if libaio is cross platform

latest ssl https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp
We might have to run 'updtvpkg' after updating openssl.

Comment by Daniel Black [ 2020-12-01 ]

So wpars are the AIX forms of docker. Two types, system, which is like VM, and application, which is like docker.

Looked up wpars a bit more. wparexec is the main executable for application WPARS. Best documentation I've found so far is the man page.

It requires root to execute (bottom of man page), /etc/security/privcmds has some privs than can be used if RBAC is used to grant bb addition admin privs on creating wpars, so having the aix.wpar.owner accessauth (https://www.ibm.com/support/knowledgecenter/ssw_aix_72/security/rbac_using.html).

/etc/security/privcmds

/usr/sbin/wparexec:
        accessauths = aix.wpar.owner
        innateprivs = PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DAC_W,PV_DAC_X,PV_FS_CHOWN,PV_PROC_PRIV
        inheritprivs = PV_AZ_CHECK,PV_AZ_ROOT,PV_DAC_O,PV_DAC_R,PV_DEV_CONFIG,PV_DEV_LOAD,PV_FS_CHOWN,PV_KER_ACCT,PV_KER_DR,PV_KER_WLM,PV_KER_WPAR,PV_NET_CNTL,PV_NET_PORT,PV_PROC_PRIV,P
V_PROC_SIG,PV_SU_UID,PV_TCB
        euid = 0
        egid = 0
        secflags = FSF_EPS

Its filesystem is shared with the host. Its network and process are isolationed. Options exist to:

  • create templates
  • control mountpoints (-M)
Comment by Daniel Black [ 2021-03-18 ]

More complete WPAR documentation.

Generated at Thu Feb 08 03:35:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.