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

Invalid option -m passed to df during installs #893

Open
perry-ca opened this issue Oct 29, 2024 · 5 comments
Open

Invalid option -m passed to df during installs #893

perry-ca opened this issue Oct 29, 2024 · 5 comments
Labels
bug Something isn't working Sev 3 - Medium Functional issue, but not very critical

Comments

@perry-ca
Copy link
Collaborator

Description

Install script uses option for df that doesn't exist on LE.

Checking available size to install curl.
FSUMA930 /bin/df: Unknown option -m
Usage: df [-kPStv] [file ...]
bc: Syntax error on line 1 of standard input
>>> 2.91 >
           ^
Enough space to install curl. Proceeding installation.

I assume the scripts were tested with the port of df, not the system df.

Severity

Sev 3 - Medium

Expected Behavior

No response

Actual Behavior

No response

z/OS Version

No response

zopen package manager version

No response

Additional Information (Optional)

No response

Network or Security Configuration (Optional)

No response

@perry-ca perry-ca added the bug Something isn't working label Oct 29, 2024
@github-actions github-actions bot added the Sev 3 - Medium Functional issue, but not very critical label Oct 29, 2024
@IgorTodorovskiIBM
Copy link
Collaborator

@hugodecastro , it seems /bin/df does not support -m. Do you want to take this on?

@hugodecastro
Copy link
Contributor

@IgorTodorovskiIBM sure, I'll take a look!

@IgorTodorovskiIBM
Copy link
Collaborator

Are you running this on an older OS level?

/bin/df -m .
Mounted on     Filesystem                Avail/Total    Files      Status
/data          (OPENSRC.DATA.ZFS)        34070/44505    4294602279 Available**

@IgorTodorovskiIBM
Copy link
Collaborator

I tried it on a 2.4 system (labc) which did not have the -m option supported. It does support -k though.

@perry-ca
Copy link
Collaborator Author

I'm running on laba. That is 2.3, as you mentioned it fails on 2.4 too. I haven't tried 2.5 or 3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Sev 3 - Medium Functional issue, but not very critical
Projects
None yet
Development

No branches or pull requests

3 participants