[Bluefin 22.12.0] Angelfish sysctl values dont persist following Bluefin upgrade

Description

Sysctl values entered in Angelfish under System Settings -> advanced -> Sysctl will appear in Bluefin, but the values set are ignored not respected. Editing and hitting save also does not update the value.

In order to have the sysctl value persisted you need to recreate the sysctl entry.

I noticed that the case for "Type" on the sysctl entries differs. The ones entered in angelfish are lowercase "sysctl", the ones recreated in bluefin are "SYSCTL" (see screenshot)

to reproduce
1) Add a sysctl value that is not default in angelfish 22.02.4 under settings -> advanced -> sysctl (like "fs.inotify.max_user_instances" = 512) and hit save
2). Confirm the value has been updated by running sysctl fs.inotify.max_user_instances in shell
3.) Upgrade to bluefin
4.) Verify the sysctl entry is still there under settings -> advanced -> sysctl
5) Confirm the value is no longer equal to 512 by running sysctl fs.inotify.max_user_instances in shell
7) Edit sysctl entry under settings -> advanced ->sysctl and hit save
8) Confirm the value still hasn't changed by running sysctl fs.inotify.max_user_instances in shell
9) Delete the sysctl entry and recreate it.
10) Verify the value is persisted in shell

Problem/Justification

None

Impact

None

Attachments

1

Activity

Show:

Automation for JiraJanuary 13, 2023 at 6:30 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug ClerkJanuary 13, 2023 at 6:24 PM

Bug ClerkJanuary 13, 2023 at 5:52 PM

CalebJanuary 13, 2023 at 5:35 PM

thanks for the ticket and doing all the hardwork. You’re correct, in Angelfish, we’re writing “SYSCTL” in lower-case and we shifted to writing it in upper case in Bluefin. Something easily overlooked, I’ll get a fix in place for 22.12.1 so that people upgrading from Angelfish to 22.12.1 will work.

Michelle JohnsonJanuary 4, 2023 at 2:11 PM

Thank you for your report, !

This issue ticket is now in the queue for review. An Engineering representative will update with further details or questions in the near future.

Complete

Details

Assignee

Reporter

Labels

Original estimate

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created January 3, 2023 at 6:43 PM
Updated February 27, 2025 at 10:12 PM
Resolved January 13, 2023 at 6:30 PM