[PLUG-IN] NerdTools


Recommended Posts

On 8/3/2023 at 3:53 PM, kubed_zero said:

I've submitted a PR to the NerdTools GitHub repo to upgrade Python 3.9 to Python 3.11. https://github.com/UnRAIDES/unRAID-NerdTools/pull/84 As far as I could tell, not a single person had shared a Python 3.11 build for Slackware anywhere on the internet, so I took it upon myself to get an Unraid development environment functional so I could compile Python 3.11 specially for Unraid.

I also included Setuptools 65.5.0 and Pip 23.2.1 as part of the package, so there is no longer a need to install them separately. They can always be updated using Pip if desired, for example "pip3 install --upgrade pip" 

 

I've tested it with a couple different Python projects, including my Difflens project as well as Borgbackup 1.2.4, and as far as I can see it's working well for my uses. There are a few modules that are not compiled into the Python package. For example, OpenSSL now needs >1.1.1 to be installed on the system as of Python 3.10, which Unraid does not meet by default. For that reason, the OpenSSL package will need to be installed alongside the Python package for Python/Pip to work correctly. I've updated the NerdTools dependency list to include OpenSSL, and it should get installed automatically when installing Python 3.11. 

 

Some other modules that I didn't compile were "`_dbm  _tkinter    _uuid nis    readline" so they will need to be installed via Pip or another method if necessary.

 

See 

for more detail on development 

Thanks a lot for this, 

Is there any particular reason for this PR to not be added to nerdtools? I'm trying to use a script that rely on 3.11 so I can't use it right now. Hope to see python3.11 soon in nerdtools

  • Like 1
Link to comment
  • 2 weeks later...

Is it possible to add RHash into the Nerdtools pack?

https://github.com/rhash/RHash 

 

I'm unable to build and compile the tool myself as it requires a gcc compiler, which I haven't been able to mange to install in my unRaid system (the old DevPack plugin is incompatible with unRaid versions > 6.10.3).

 

Otherwise if there is perhaps any other tool for doing md5 hash checks, which is perhaps a little more versatile than the default md5sum utility.

 

Thanks!

Link to comment
On 9/29/2023 at 6:10 PM, kesm said:

Thanks a lot for this, 

Is there any particular reason for this PR to not be added to nerdtools? I'm trying to use a script that rely on 3.11 so I can't use it right now. Hope to see python3.11 soon in nerdtools



I'm not aware of any reason for it not to be added. The repo owner seems to be MIA, not responding to the PR, not updating the repo, not commenting here. 

 

On 10/12/2023 at 2:19 AM, HellScytheX said:

Is it possible to add RHash into the Nerdtools pack?

https://github.com/rhash/RHash 

 

I'm unable to build and compile the tool myself as it requires a gcc compiler, which I haven't been able to mange to install in my unRaid system (the old DevPack plugin is incompatible with unRaid versions > 6.10.3).

 

Otherwise if there is perhaps any other tool for doing md5 hash checks, which is perhaps a little more versatile than the default md5sum utility.

 

Thanks!

I have notes in my PR for installing the necessary compiling tools to compile on Unraid https://github.com/UnRAIDES/unRAID-NerdTools/pull/84

I also made an application I call DiffLens, which uses Blake3 hashes instead of MD5 hashes to do file integrity validations on Unraid shares https://github.com/UnRAIDES/unRAID-NerdTools/pull/84

Link to comment

Would it be possible to add mbuffer? I'm using the Sanoid plugin and getting warnings that mbuffer is not installed. This issue should likely be on the maintainer of the Sanoid plugin but could be solved here as well. If not mbuffer, gcc would make it possible for me to compile mbuffer from source myself, so maybe add that instead?

 

Thank you

Link to comment
On 2/3/2023 at 1:05 PM, Nex said:

Getting error after installing vim and trying to use it: vim: symbol lookup error: vim: undefined symbol: PL_current_context

I'm getting this error, too.  vim worked fine when I first installed it via Nerdtools.  After a reboot, I get the exact same error:

 

# vim blah
vim: symbol lookup error: vim: undefined symbol: PL_current_context

I'm on Unraid 6.12.4 (the latest version, I think).

Edited by Raph521
Adding Unraid version number
  • Upvote 2
Link to comment
On 9/27/2023 at 2:21 AM, PG_ said:

 

fdupes, jdupes are available for same and better performance. 

Can jdupes be updated?

jdupes on NerdTools is on v1.23.0. Later versions have a nifty little setting to store hashes in a text file so the hashes don't have to be created evry time.

Latest version is v1.27.3

  • Like 1
  • Upvote 1
Link to comment
On 6/10/2023 at 7:24 PM, L0rdRaiden said:

can we get support for auditd?

 

https://unix.stackexchange.com/questions/502878/slackware-14-2-turn-on-the-auditd-daemon

https://slackbuilds.org/repository/14.2/system/audit/  a newer version would be better.

https://slackbuilds.org/repository/15.0/system/audit/

https://github.com/linux-audit

 

I think is crucial to be able to monitor Unraid security

 

Or wazuh agent? not sure if it's compatible but this is the only reference to slackware I have found

https://github.com/wazuh/wazuh/blob/master/src/init/init.sh

 

 

Hi @EUGENI_CAT could you please consider this? right now Unraid lacks of any security monitor capabilities and this will open the door to any SIEM or recurity tool to be used to monitor Unraid host.

Link to comment
  • 2 weeks later...
  • 3 weeks later...
On 10/25/2023 at 6:42 AM, Raph521 said:

I'm getting this error, too.  vim worked fine when I first installed it via Nerdtools.  After a reboot, I get the exact same error:

 

# vim blah
vim: symbol lookup error: vim: undefined symbol: PL_current_context

I'm on Unraid 6.12.4 (the latest version, I think).

Same question here. And I found [this](https://www.globefish.jp/wp/2022/06/vi-symbol-lookup-error-vi-undefined-symbol-pl_current_context-slackware64-current.html). Is it a problem caused due to perl is built in Unraid now?

Link to comment

After some more digging, I found this pull request in the VIM GitHub repository.
https://github.com/vim/vim/pull/12996

I also found a newer version of VIM (9.0.2127) on https://packages.slackware.com/.

This version of VIM needs libsodium version 1.0.19 (which is also to be found on https://packages.slackware.com/.


But after manually installing these two packages. I got the following errors:
vim: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by vim)
vim: /lib64/libm.so.6: version `GLIBC_2.38' not found (required by vim)

This suggests to also upgrade glibc to version 2.38.
But, I'm not sure how this will affect the working of UnRaid itself.
 

  • Like 1
Link to comment
  • 2 weeks later...

There is something wired with my setup. I am looking for nvme-cli tool and I saw someone already requested it. Then I start looking around but I can not find it in my NerdTools
image.thumb.png.200ebfde1148cbf97ee02998b5e6baf5.png

 

Then I found it is present in below location
image.png.c1d01d37b1d8c65c3c85843a82175ad4.png

 

At the same time I can see NerdPack location with some packages in there
image.png.112c90eb7678cc5dc7cfbd11945e33fd.png

 

What is the problem with my config? Does the NerdPack can somehow interreference with NerdTools? I have NerdPack uninstalled. Shouldn't be these removed as well?

Link to comment
10 minutes ago, itimpi said:

Since you do not have the NerdPack plugin installed these will not be used (and can be deleted).

Just to be sure, I have removed it but as I expected from what you said. It didn't change anything. Still can not find nvme-cli package.

Edited by Przemek
Link to comment
2 hours ago, Przemek said:

There is something wired with my setup. I am looking for nvme-cli tool and I saw someone already requested it. Then I start looking around but I can not find it in my NerdTools

It's not there, not found in packages.json.

 

Was requested but never added, and the desc file has apparently been taken from the old NerdPack and that entry wasn't cleaned up. Maintenance for this plugin has quickly become almost as spotty as for NerdPack...

Edited by Kilrah
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.