Commit Graph

15 Commits

Author SHA1 Message Date
Stephen Gallagher
4e81f4f810 Adjust runtime-postinstall.tmpl for systemd config files move
Systemd config files were moved from /etc to /usr/lib/systemd,
so this snippet fails. Instead of editing the config file, just create
a drop-in snippet with the desired configuration.

Backported from lorax commit f38bddac3f44dc36ba5f96d997a533bbcacd6458

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-12-13 12:38:55 -05:00
Stephen Gallagher
6b75ec9ab0
Re-sync from Fedora
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-06-09 09:26:14 -04:00
Vladimir Slavik
ab80801921
Drop anaconda auditd replacement
This means: Keep all things from the audit package as-is, do not erase or
overwrite.

Previously:
- clean up most things audit in the template
- install a custom replacement for auditd from the anaconda packages
- in anaconda, run the replacement manually

Now:
- keep audit things as they are
- do not install the custom replacement
- in anaconda, run "auditctl -e 0" instead of the custom binary

Overall goals remain the same and met:
- keep boot.iso small: this adds +200 KiB-ish
- do not run auditd to lower runtime memory requirements: still ok
- do not spam journal/syslog with audit messages: still ok

Note: Most audit messages come from dracut, where it is not turned off
anyway.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-10-18 16:07:19 -04:00
Stephen Gallagher
81ee746e12
Merge remote-tracking branch 'cs/c9s' into eln 2022-04-07 10:33:33 -04:00
Brian C. Lane
1f69df73fa runtime-postinstall: Remove machine specific nvme files
These need to be created on the installed system, and should not be
included in the image.

Resolves: rhbz#2071074
2022-04-01 11:20:12 -07:00
Vendula Poncova
c49a92e18a
Don't move the restart-anaconda file
The file will be no longer provided by Anaconda.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-08 12:21:21 -05:00
Brian C. Lane
849a2b9a20 Do not install rng-tools
Running rngd can slow down the boot in some situations. All current
arches in RHEL support better entropy gathering so this is no longer
needed.

Resolves: rhbz#2028720
2022-01-13 10:45:26 -08:00
Brian C. Lane
b403f2d774 Revert "Add inst.rngd cmdline option"
This reverts commit 09acfd978e.

rngd is installed in the initrd by dracut, and unconditionally started,
so this won't fix rngd slowdowns in the initrd.

Related: rhbz#2028720
2022-01-13 10:43:27 -08:00
Brian C. Lane
09acfd978e Add inst.rngd cmdline option
rngd should no long be needed, recent kernels have enough entropy out of
the box. This leaves it in the boot.iso but only enables it if inst.rngd
is passed on the kernel cmdline.

Resolves: rhbz#2028720
2022-01-12 10:45:37 -08:00
Radek Vykydal
0adb331cb4 runtime-postinstall: Move configuration of NM default autoconnections to Anaconda
The configuration will be created dynamically by Anaconda service
running before NM.

Related: rhbz#1978264
2021-07-21 16:26:43 +02:00
Jan Kaluza
c7ecdf258d Add spice-vdagentd conf back - anaconda still needs it.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-29 09:37:18 +01:00
Brian C. Lane
e40ce59ada Remove spice-vdagent 2020-10-27 09:49:43 -07:00
David Lehman
127538f711 Use smarter multipath detection logic.
This new setting for 'find_multipaths' tries to prevent things like
LVM from going ahead and activating LVM on the individual disks/paths
until there is reasonable certainty (via a timeout) that the device
is not a component of a multipath set.

NOTE: 'smart' is supported by device-mapper-multipath v0.7.7 and later.

Resolves: rhbz#1763906

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2020-05-13 14:54:09 -07:00
Radek Vykydal
e2afa7a4cf Don't activate default auto connections after switchroot
Resolves: rhbz#1555934

Add NetworkManager config file turning default auto connections off.
2018-07-20 09:18:23 -07:00
Will Woods
2f477626fa Add the rest of the files
...turns out you can't just have a single template file, because lorax
just picks a single directory and expects all the data it needs to be
there. Sigh.

So this adds all the rest of the files, plus some Makefile machinery for
generating a tarball and updating the specfile after you've checked in
changes. See README for details.
2018-06-18 15:32:22 -04:00