Commit Graph

10 Commits

Author SHA1 Message Date
Brian C. Lane
b6671d6867 rsyslog.conf: Update to use current config syntax
This commit switches to using the rewritten config file from the
upstream templates. This fixes the problem with writing the state file
to the workDirectory and uses modern syntax.

Resolves: RHEL-28654
2024-07-09 16:58:57 -07:00
Brian C. Lane
7c7a07ce37 rsyslog.conf: Set WorkDirectory to /var/lib/rsyslog
Without this set rsyslogd will try to use / for things like
/imjournal.state.tmp, which will fail due to SELinux.

This also replaces the deprecated '~' discard action with 'stop'.

Resolves: rhbz#2160070
2023-01-11 09:59:45 -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
Brian C. Lane
f7930e11e7 Enable sftp when using inst.sshd
scp in openssh 8.7 will change to use sftp protocol. See
https://github.com/openssh/openssh-portable/pull/194 for details.

This enables the sshd internal-sftp implementation so that newer scp
versions will continue to work as expected. Note that the sshd service
is only running during the installation if inst.sshd is passed on the
kernel cmdline.

Resolves: rhbz#2035049
2022-01-11 11:16:48 -08:00
Brian C. Lane
87b0ef106d sshd_config: Update sshd options
Remove options that are the default, and set 'PrintMotd no' because that
is now handled by pam.

Resolves: rhbz#2007288
2021-10-06 09:54:38 -07: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
Brian C. Lane
188583d5a2 rsyslog: Disable journal ratelimits during install
Every log entry is sacred

Related: rhbz#1752754
2020-07-07 15:26:52 -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