Bug 11546

Summary: display RNGD status in WebUI process list, too
Product: IPFire Reporter: Peter Müller <peter.mueller>
Component: ---Assignee: Peter Müller <peter.mueller>
Status: CLOSED FIXED QA Contact: Peter Müller <peter.mueller>
Severity: Aesthetic Issue    
Priority: Will affect most users CC: adolf.belka, arne.fitzenreiter, matthias.fischer, michael.tremer, peter.mueller, robin.roevens
Version: 2   
Hardware: all   
OS: All   
See Also: https://bugzilla.ipfire.org/show_bug.cgi?id=12893
https://bugzilla.ipfire.org/show_bug.cgi?id=12935
Attachments: working diff for Core 169, as installed (line numbers may be inaccurate)
working (modified) services.cgi for Core171
patch for services.cgi based on next 1e8334707

Description Peter Müller 2017-11-19 14:30:31 UTC
Also show the status of the hardware random number generator ("RNGD")
at the services.cgi page in the WebUI. Before, this was only shown
at the entropy.cgi page, which was a bit inconsistent.

Already submitted a patch for this, but it contained some errors, so I have to go through it again. This bug is just a reminder. :-)
Comment 1 Peter Müller 2017-12-09 22:11:15 UTC
Send in second patch a few days ago.
Comment 2 Peter Müller 2018-01-14 13:46:43 UTC
Link to the patch: https://patchwork.ipfire.org/patch/1575/

@Michael: In case anything is wrong with it, let me know. :-) No rush.
Comment 3 Peter Müller 2018-03-03 14:06:43 UTC
@Michael: Please have a look at that patch when it suits.
Comment 4 Michael Tremer 2018-03-27 16:00:17 UTC
Done. Please see my feedback on the mailing list.
Comment 5 Peter Müller 2018-04-09 19:38:38 UTC
For the records, the mailing list post is here: https://lists.ipfire.org/pipermail/development/2018-March/004202.html

And yes, 700 PID files are quite stange. Will try to develop a patch here and send it upstream (might take a while)...
Comment 6 Peter Müller 2018-06-16 20:29:04 UTC
Waiting for C121 since rng has been updated there.
Comment 7 Paul Simmons 2021-09-22 03:42:49 UTC
I think this fell through the cracks...
ping?
Comment 8 Michael Tremer 2021-09-22 09:19:46 UTC
I will copy Arne so that he can merge this into c161.
Comment 9 Peter Müller 2021-11-09 21:17:32 UTC
Resetting back to ASSIGNED as the patch did not made it into C161. I will take care of it for C162 - sorry for the delay.
Comment 10 Paul Simmons 2022-08-06 13:12:46 UTC
Created attachment 1076 [details]
working diff for Core 169, as installed (line numbers may be inaccurate)

I've modified my existing services.cgi on Core 169, per attachment.

Line numbers may differ from the git source.
Comment 11 Paul Simmons 2022-09-16 14:55:37 UTC
As of Core 170, services.cgi is radically different from Core 169, and I haven't determined the needed mods.
Comment 12 Paul Simmons 2022-10-20 14:37:02 UTC
Created attachment 1107 [details]
working (modified) services.cgi for Core171
Comment 13 Paul Simmons 2022-12-01 07:32:45 UTC
Created attachment 1126 [details]
patch for services.cgi based on next 1e8334707
Comment 14 Adolf Belka 2023-03-21 22:23:21 UTC
rng-tools has been converted from a core program to an addon as per bug 12900

This means that when rng-tools is installed as an addon it will now be shown in the addon services status table.
Comment 16 Adolf Belka 2023-03-21 22:24:56 UTC
Tested this on my vm testbed with CU174 Testing and I can confirm that when rng-tools is installed as an addon it now shows up in the addon services status table.

This confirms that this bug has been fixed.