[Bug 1692420] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Wed Sep 27 07:29:56 UTC 2017
------- Comment From pavrampu at in.ibm.com 2017-09-27 03:23 EDT-------
(In reply to comment #43)
> On Mon, Sep 04, 2017 at 11:50:09AM -0000, bugproxy wrote:
> > > Further information regarding the verification process can be found at
> > > https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> > > advance!
>
> > Tried to install package from proposed, getting below error.
>
> > root at alp10:~# apt-get install powerpc-utils/zesty-proposed
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > E: Release 'zesty-proposed' for 'powerpc-utils' was not found
>
> That is not valid apt syntax. Please
> see https://wiki.ubuntu.com/QATeam/PerformingSRUVerification for guidance on
> how to run tests for SRUs.
Tried the steps given in above link, still could not install the new
package.
1. Added below in /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ zesty-proposed main restricted
universe
2. root at alp10:~# sudo apt-get update
Hit:1 http://us.ports.ubuntu.com/ubuntu-ports zesty InRelease
Get:2 http://us.ports.ubuntu.com/ubuntu-ports zesty-updates InRelease [89.2 kB]
Get:3 http://us.ports.ubuntu.com/ubuntu-ports zesty-backports InRelease [89.2 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports zesty-security InRelease [89.2 kB]
Get:5 http://archive.ubuntu.com/ubuntu zesty-proposed InRelease [240 kB]
Get:6 http://us.ports.ubuntu.com/ubuntu-ports zesty-updates/main ppc64el Packages [205 kB]
Ign:7 http://archive.ubuntu.com/ubuntu zesty-proposed/main ppc64el Packages
Get:8 http://archive.ubuntu.com/ubuntu zesty-proposed/main Translation-en [17.7 kB]
Ign:9 http://archive.ubuntu.com/ubuntu zesty-proposed/universe ppc64el Packages
Get:10 http://archive.ubuntu.com/ubuntu zesty-proposed/universe Translation-en [12.9 kB]
Ign:7 http://archive.ubuntu.com/ubuntu zesty-proposed/main ppc64el Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-proposed/universe ppc64el Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-proposed/main ppc64el Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-proposed/universe ppc64el Packages
Err:7 http://archive.ubuntu.com/ubuntu zesty-proposed/main ppc64el Packages
404 Not Found [IP: 91.189.88.152 80]
Ign:9 http://archive.ubuntu.com/ubuntu zesty-proposed/universe ppc64el Packages
Fetched 743 kB in 1s (578 kB/s)
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty-proposed/main/binary-ppc64el/Packages 404 Not Found [IP: 91.189.88.152 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
root at alp10:~# apt-get dist-upgrade^C
root at alp10:~# sudo apt-get install powerpc-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
powerpc-utils is already the newest version (1.3.2-1ubuntu2~17.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Thanks,
Pavithra
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to powerpc-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1692420
Title:
[SRU] powerpc-utils commands exhibits "command substitution: ignored
null byte in input" warning message
Status in The Ubuntu-power-systems project:
Fix Committed
Status in powerpc-utils package in Ubuntu:
Fix Released
Status in powerpc-utils source package in Zesty:
Fix Committed
Bug description:
[Impact]
The current version of powerpc-utils in Ubuntu Zesty and Artful
carries a bug exposed by bash 4.4+ which causes a warning to be logged
to stderr in 4 different commands: ls-veth, ls-vscsi, lsdevinfo, and
ofpathname. Bash is unable to store the NUL bytes in the result of a
command substitution, prior to 4.4 it silently dropped the NUL bytes,
but since 4.4 it drops the NUL bytes with a warning: "command
substitution: ignored null byte in input".
Additionally to that the ofpathname command also had a bug that caused
a "cd: too many arguments" warning.
Upstream has fixed both [1] and they now need to be backport to Zesty.
[Test Case 1]
Call any of the affected commands without arguments, they should
output "command substitution: ignored null byte in input" to stderr.
The same warning can easily be reproduced in bash 4.4+ by executing:
$ x=$(cat < /proc/$$/cmdline)
bash: warning: command substitution: ignored null byte in input
And to fix it:
$ x=$(tr -d '\0' < /proc/$$/cmdline)
<no output, as expected>
[Test Case 2]
Call ofpathname with no arguments:
$ ofpathname
cd: too many arguments
[Regression Potential]
The replacement of 'cat' with 'tr -d "\0"' causes no regression. Also,
both commands are part of coreutils.
The 'cd' fix replaces it with a drop_dir call. In case the requested
path is not found then the previous behavior would be kept (ie. no
directory change).
[Other Info]
Upstream fix link:
[1] https://github.com/ibm-power-utilities/powerpc-utils/commit/4fcc611a09caea70e6bca6a1275211c72ac4bb45
[Old description]
Please cherry pick...
https://github.com/ibm-power-utilities/powerpc-
utils/commit/4fcc611a09caea70e6bca6a1275211c72ac4bb45
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1692420/+subscriptions
More information about the foundations-bugs
mailing list