lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251024080959.55e7679d@kernel.org>
Date: Fri, 24 Oct 2025 08:09:59 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ratheesh Kannoth <rkannoth@...vell.com>
Cc: Netdev <netdev@...r.kernel.org>
Subject: Re: ynl newbie question

On Fri, 24 Oct 2025 13:39:57 +0000 Ratheesh Kannoth wrote:
> HI List,
> 
> Followed.
> https://docs.kernel.org/userspace-api/netlink/intro-specs.html
> 
> But I get following error.
> 
> root@...nnoth-OptiPlex-7090:~/linux# ./tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml       --do rings-get       --json '{"header":{"dev-index": 18}}'
>   File "./tools/net/ynl/pyynl/cli.py", line 19
>     schema_dir = os.path.abspath(f"{script_dir}/{relative_schema_dir}")
>                                                                      ^
> 
> Should I install anything ? there is no "/usr/share/ynl" directory
> (code cloned  from  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git)

I think you trimmed the stack trace a little too much?

But my guess if you're having issues with the schema is Python support
for jsonschema.

BTW if you're using Fedora ynl is part of kernel-tools.
Not sure if it propagated to RHEL/CentOS yet.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ