[UBUNTU 22.04] dbginfo.sh updates for /bin/dash shell compatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Skipper Bug Screeners | ||
s390-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
==================
[ Impact ]
* The dbginfo.sh script fails on system (actually shells) that run dash,
due to some incompatibilities in dbginfo.sh (with using 'type').
* The script fails with a with parameter error.
[ Fixes ]
* 92b84092 92b84092077f523
* 9f93af61 9f93af614f74633
[ Test Plan ]
* Use a user account that has dash as default shell,
or simply call dash in whatever shell you are running.
* Make sure the s390-tools are installed (but it's mandatory for s390x)
since dbginfo.sh is included into this.
* Now call /usr/sbin/
and watch out for any errors,
esp. some caused by issues with parameters,
like 'type' is not supporting '-t'.
[ Where problems could occur ]
* The changes in handling the parameters could break the dbginfo.sh
on other shells, like bash (which is the default in Ubuntu).
* Fortunately the changes in the above commits are pretty traceable.
__________
Description: dbginfo.sh: incompatible commands with /bin/dash shell
Symptom: subsection data collection fails while running in /bin/dash shell
- type is failing with parameter error
Problem: reduced data collection
Solution: rewrite in compatible way
Component: s390-tools
the master commits in s390tools v2.24.9 are:
92b8409 92b84092077f523
9f93af6 9f93af614f74633
source: https:/
tags: | added: architecture-s3903164 bugnameltc-200479 severity-medium targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → s390-tools (Ubuntu) |
Changed in s390-tools (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
importance: | Undecided → Medium |
description: | updated |
summary: |
- [UBUNTU 22.04] dbginfo.sh: updates in reagard to /bin/dash shell + [UBUNTU 22.04] dbginfo.sh updates for /bin/dash shell compatibility |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Released |
tags: |
added: targetmilestone-inin2204 removed: targetmilestone-inin--- |
Updating status on lunar to invalid, since lunar gets a new s390-tools major release that has these patches included.