Skip to content

Define anaconda_syslog rsyslog template in setupVirtio() - #7427

Merged
KKoukiou merged 2 commits into
rhinstaller:mainfrom
KKoukiou:rsyslog-template
Nov 23, 2026
Merged

KKoukiou merged 2 commits into
rhinstaller:mainfrom
KKoukiou:rsyslog-template

Conversation

@KKoukiou

@KKoukiou KKoukiou commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

To be landed with : rhinstaller/kickstart-tests#1797

The anaconda_syslog rsyslog template was previously provided by
lorax's rsyslog.conf [1]. Image-builder built ISOs use the stock
Fedora rsyslog.conf which lacks the template, causing rsyslog to
disable the virtio log action with "Could not find template".

Define the template in setupVirtio() so that virtio logging works
on image-builder created ISOs. Skip writing the template on lorax-built ISOs
where it already exists.

[1] https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/config_files/common/rsyslog.conf
Write anaconda's rsyslog configuration (virtio logging, remote
syslog) to /etc/rsyslog.d/anaconda.conf instead of appending to
the main /etc/rsyslog.conf.
@KKoukiou
KKoukiou deployed to gh-cockpituous November 20, 2026 11:41 — with GitHub Actions Active
@github-actions github-actions Bot added the f46 label Nov 20, 2026
@KKoukiou

Copy link
Copy Markdown
Contributor Author

/kickstart-tests --testtype smoke --kstest-pr 1797

@KKoukiou

Copy link
Copy Markdown
Contributor Author

/kickstart-tests --kstest-pr 1797 --testtype smoke

@KKoukiou

Copy link
Copy Markdown
Contributor Author

/kickstart-tests --kstest-pr 1797 --testtype smoke

@KKoukiou
KKoukiou marked this pull request as ready for review November 20, 2026 14:48
@KKoukiou
KKoukiou requested a review from rvykydal November 20, 2026 14:48
@KKoukiou

Copy link
Copy Markdown
Contributor Author

@adamkankovsky adamkankovsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, it looks fine and minimalist.

@KKoukiou

Copy link
Copy Markdown
Contributor Author

The failures are unrelated.

@KKoukiou
KKoukiou merged commit 01be3e6 into rhinstaller:main Nov 23, 2026
22 of 25 checks passed
@KKoukiou
KKoukiou deleted the rsyslog-template branch November 23, 2026 09:08

This branch was successfully deployed

1 active deployment
gh-cockpituous — d0694249 Deployed Nov 20, 2026 by KKoukiou via trigger-webui (fedora-rawhide) #2862
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants