Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netconsole random fixes #485

Merged
merged 4 commits into from
Aug 27, 2024
Merged

Conversation

lnykryn
Copy link
Member

@lnykryn lnykryn commented Aug 27, 2024

No description provided.

@mergify mergify bot added the Fedora label Aug 27, 2024
@lnykryn lnykryn force-pushed the netconsole_source branch from 922d851 to d41a74e Compare August 27, 2024 09:37
@lnykryn lnykryn force-pushed the netconsole_source branch from d41a74e to ecb85c0 Compare August 27, 2024 10:17
Although the comment said "check if network is up",
the code only sourced the configuration file, but did not fail
if it did not exist and happily continued.

Also on current versions of Fedora, the sysconfig/network
does not exist by default, so you see a warning message
when you start the service.

So let's just check if the file exists and only source it
if it does (for backwards compatibility).
@lnykryn lnykryn force-pushed the netconsole_source branch from ecb85c0 to 3e54b73 Compare August 27, 2024 10:26
/var/lock is a symlink to /run/lock,
so let's use proper location
Copy link
Member

@jamacku jamacku left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks for the fix.

@mergify mergify bot merged commit 91df03e into fedora-sysv:main Aug 27, 2024
8 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants