| Newsgroups |
gmane.comp.sysutils.cfengine.general |
| Message-ID |
<[email protected]> |
Thanks, Nick! Most useful.
Thanks for confirming that masterfiles version should be ahead of binary.
It sounds like I can be bold in aiming for an across-the-board giant leap
of masterfiles from current 3.12 straight to 3.21, regardless of binary
version (mostly 3.15.3 at present). Naturally I''ll test!
Thanks for the heads up about "rxdirs". I had actually done a little "toe
in the water" testing yesterday and "cf-agent" had shown me that problem
looming on the road ahead!
I observe that the community download page
https://cfengine.com/downloads/cfengine-community/ offers RHEL9/CentOS9 for
3.21.0 LTS (good) but not for 3.18.3 LTS. If 3.18.3 now supports RHEL9,
could that page be investigated and rectified, please? (Because of
"rxdirs" I'd rather avoid 3.21 for the moment... there's plenty of other
catch-up for me to do prior to that! So if a 3.18/RHEL9 RPM s available
that would be great.)
Meanwhile: a possible "semodule" bug report for 3.21 on RHEL9. Latest OS
(yum upgrade); I had installed before Christmas. I hit the problem just
now; then did a yum upgrade (lots of packages upgraded), then rebooted,
then tried again. Problem still there. This is the latest::
--------------------------------------------------------------------------
$ cat /etc/redhat-release
Red Hat Enterprise Linux release 9.0 (Plow)
$
$ sudo yum upgrade
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStre 41 kB/s | 2.4 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS 43 kB/s | 2.4 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
$
$ sudo yum install Downloads/cfengine-community-3.21.0-1.el9.x86_64.rpm
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStre 38 kB/s | 2.4 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS 42 kB/s | 2.4 kB 00:00
Dependencies resolved.
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
cfengine-community x86_64 3.21.0-1.el9 @commandline
2.3 M
Transaction Summary
================================================================================
Install 1 Package
Total size: 2.3 M
Installed size: 8.0 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
1/1
Running scriptlet: cfengine-community-3.21.0-1.el9.x86_64
1/1
Installing : cfengine-community-3.21.0-1.el9.x86_64
1/1
Running scriptlet: cfengine-community-3.21.0-1.el9.x86_64
1/1
libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp
failed with code: 255. (No such file or directory).
cfengine-enterprise: libsepol.policydb_read: policydb module version 21
does not match my version range 4-20
cfengine-enterprise: libsepol.sepol_module_package_read: invalid module in
module package (at section 0)
cfengine-enterprise: Failed to read policy package
libsemanage.semanage_direct_commit: Failed to compile hll files into cil
files.
(No such file or directory).
semodule: Failed!
warning! semodule failed
Verifying : cfengine-community-3.21.0-1.el9.x86_64
1/1
Installed products updated.
Installed:
cfengine-community-3.21.0-1.el9.x86_64
Complete!
$
--------------------------------------------------------------------------
That mismatch "module version 21 does not match my version range 4-20"
doesn't look right.
(As discussed earlier, I actually want to stick with 3.18 for the initial
RHEL9 work, because of "rxdirs", but there isn't a 3.18/RHEL9 RPM.)
Thanks again.
-- David Lee
On Friday, 6 January 2023 at 15:20:15 UTC Bas van der Vlies wrote:
>
> >
> > Your already in untested waters running older MPF with newer binaries, I
> > would just work on getting to 3.21.0 or 3.21.x MPF.
> >
> I agree with Nick and maybe add switch to a `cfbs` setup so you can
> easily upgrade masterfiles or other modules/promise_types/bundles. It
> saves a lo tof time. Just start a new server with this setup and
> gradually connect your environment to this server.
>
> I just upgrade all our hosts to 3.21.0
>
>
>
>
> --
> --
> Bas van der Vlies
> | High Performance Computing & Visualization | SURF| Science Park 140 |
> 1098 XG Amsterdam
> | T +31 (0) 20 800 1300 <+31%2020%20800%201300> | [email protected] |
> www.surf.nl |
>
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/70a5b84f-412f-40c7-b96d-f235d105a142n%40googlegroups.com.