-
Notifications
You must be signed in to change notification settings - Fork 138
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
[openSUSE] Distro-specific smartd.conf location #2070
Comments
@FroggyFlox Thanks for creating this issue: an excellent exposition. Looks like potentially another candidate for our existing distro (python-distro) dependency as per the mechanism used in: "add non legacy distro aware repo configuration. Fixes #1991" #1992 I.e. conditional on distro_id for example. |
Agreed! Line 31 in fd3d072
Noting here for reference. |
I just made a quick commit with conditional definition of This commit has been tested to work in all three OSes. Regarding updating the rockstor-core/src/rockstor/storageadmin/static/storageadmin/js/router.js Lines 1029 to 1032 in 3ad7eee
|
@FroggyFlox Re:
I think I favour this approach personally. Not ideal or complete but we are talking about a fairly advanced feature anyway. And we can always circle back around to improving this as it would be a fairly minor downgrade on tooltip info for a significant fix that we needn't hold up for the sake of a toolip detail.
Agreed but we can get this sorted at a later date. |
Sounds good! |
Brief update:
|
[openSUSE] Fix smartd config location in Rockstor-NG. Fixes#2070
In openSUSE (both leap 15.1 and Tumbleweed), the location of
smartd.conf
used by Rockstor differs from CentOS. As a result, SMART settings configuration from Rockstor webUI isn't possible in openSUSE variants for now.The location of
smartd.conf
across all three distributions is as follows:smartd
versionsmartd.conf
locationI believe resolving this issue would require to specify a distro-specific location for
smartd.conf
in theupdate_config()
function:rockstor-core/src/rockstor/system/smart.py
Lines 342 to 345 in 3ad7eee
The text was updated successfully, but these errors were encountered: