-
Notifications
You must be signed in to change notification settings - Fork 8
Add support for SLES 15.4 #118
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
Conversation
|
If the file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to create a file in /etc/modprobe.d since it would never be replaced by OS updates. It seems like it should be root:root and mode 0644.
Do you think we should apply this to all SLES11.4 and all newer releases or should we match this specific release?
Should we continue to use the old path (
Yes, guess it will become the new default for some more versions/minors. |
In SLES15.4 they moved all default files from /etc/modprobe.d to /lib/modprobe.d. However /etc/modprobe.d/ exists and system specific configuration should be put in this directory instead of /lib/modprobe.d which is directly managed by the package manager (files might be replaced when packages are updated). This is similar to how it works with systemd where system units managed by packages are put in {/usr,}/lib/systemd/system while units not managed by a package should be put in /etc/systemd/system.
Maybe we should just skip file_line altogether and manage the file using file {}. The file contains a lot of commented out lines, only thing actually configured is |
|
Ok, that makes sense to keep using |
85edadc to
fd37f2b
Compare
|
I think this should do the trick. Includes unit tests to show the wanted behaviour. |
|
Yeah. It's definitely a bit bad for AFS to take exclusive control. Best case would be to have some other module handle this. That's why I mentioned using puppet-kmod in the issue (different system). Let's have that as a long-term improvement though instead of messing around with it right now. Looks OK. I don't think we should be required to test this change manually. Spec tests passing should be enough? |
|
I had added a comment about kmod so we get inspired everytime we read the code ;) |
|
Released as v2.3.3 |
|
Thanks! |
No description provided.