Skip to content
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

zopen audit FSUM7329 <(command) and >(command) not implemented #55

Closed
gngrossi opened this issue Jun 6, 2024 · 6 comments · Fixed by zopencommunity/meta#784
Closed

Comments

@gngrossi
Copy link

gngrossi commented Jun 6, 2024

11:37:33 RC=(4) [SYSA] bash-5.2$ zopen audit -v
VERBOSE: Obtained vulnerability json cache.
VERBOSE: Found all installed packages.
/hewitt/zopentools/zopen_repo/usr/local/bin/zopen-audit 154: FSUM7329 <(command) and >(command) not implemented

11:38:12 RC=(0) [SYSA] bash-5.2$ zopen audit
/hewitt/zopentools/zopen_repo/usr/local/bin/zopen-audit 154: FSUM7329 <(command) and >(command) not implemented

@IgorTodorovskiIBM
Copy link
Collaborator

IgorTodorovskiIBM commented Jun 7, 2024

Looks like we've added some bash'isms into the script. FYI @KeplerBoyce

<(command) is only supported by Bash, but our scripts need to work in /bin/sh. Or the Linux /bin/sh is a bit newer than the z/OS one.

@gngrossi
Copy link
Author

gngrossi commented Jun 7, 2024

Should I remove the zopen_vulnerability.json file?

bash-5.2$ pwd;ls -l
/hewitt/zopentools/zopen_repo/var/cache/zopen
total 704
-rw-r--r-- 1 @02858 @ISCICS1 320611 Jun 6 20:07 zopen_releases.json
-rw-r--r-- 1 @02858 @ISCICS1 909 Jun 6 20:07 zopen_releases.timestamp
-rw-r--r-- 1 @02858 @ISCICS1 906 Jun 7 07:59 zopen_releases.timestamp.current
-rw-r--r-- 1 @02858 @ISCICS1 6561 Jun 6 11:39 zopen_vulnerability.json

@IgorTodorovskiIBM
Copy link
Collaborator

You don't have to, we'll make a fix and issue a new release of meta

@gngrossi
Copy link
Author

Installed meta-main.20240607_174758.zos

bash-5.2$ zopen audit
/hewitt/zopentools/zopen_repo/usr/local/bin/zopen-audit 154: FSUM7329 <(command) and >(command) not implemented

@gngrossi
Copy link
Author

Installed meta-main.20240611_213145

bash-5.2$ zopen audit
CVE Summary:
0 vulnerabilities (0 low, 0 moderate, 0 high, 0 critical)

Anything I need to reference in zopen_vulnerability.json or is the stdout what's important?

thanks

@IgorTodorovskiIBM
Copy link
Collaborator

Installed meta-main.20240611_213145

bash-5.2$ zopen audit CVE Summary: 0 vulnerabilities (0 low, 0 moderate, 0 high, 0 critical)

Anything I need to reference in zopen_vulnerability.json or is the stdout what's important?

thanks

Great, yes stdout is what is important. zopen audit downloads and parses the zopen_vulnerability.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants