View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002238||Kali Linux||[All Projects] Kali Package Bug||public||2015-04-23 19:02||2015-04-24 06:53|
|Status||closed||Resolution||no change required|
|Target Version||Fixed in Version|
|Summary||0002238: Architecture guessing of zarp init script not working inside a container|
|Description||The script used to start ZAP (/usr/bin/zaproxy) uses this to gather the architecture of the machine:|
ARCH=`uname -r|cut -d "-" -f 3`
But when running Kali inside a LXC container in an Ubuntu host, the "uname -r" command returns something like this:
Wouldn't it be better to get the arch with the "-m" option of "uname"?
-m, --machine print the machine hardware name
That would imply changing the if's in the script, as the strings returned are different.
|Steps To Reproduce||1. Create a Debian-based container in Ubuntu.|
2. Configure Kali repos.
3. Install Zap.
4. Try to run it.
|Additional Information||Haven't tried with other architectures besides x86_64, but shouldn't break anything.|
||Kali Linux is not Ubuntu and you cannot just add our repositories to a distribution and have it become Kali Linux.|
Just wanted to note that the container is Debian based (Ubuntu acts as the container host).
And yes, even in that case, I know that Kali is not just adding your repositories to Debian; I just thought that using "uname -r" was a neatest way of finding out the Kernel architecture.
||I agree with pachulo but this needs to be reported to the zap's developers, not us.|
|2015-04-23 19:02||pachulo||New Issue|
|2015-04-23 19:33||dookie||Note Added: 0003259|
|2015-04-23 19:33||dookie||Status||new => closed|
|2015-04-23 19:33||dookie||Assigned To||=> dookie|
|2015-04-23 19:33||dookie||Resolution||open => no change required|
|2015-04-23 21:24||pachulo||Note Added: 0003260|
|2015-04-23 21:24||pachulo||Status||closed => feedback|
|2015-04-23 21:24||pachulo||Resolution||no change required => reopened|
|2015-04-24 06:33||muts||Status||feedback => closed|
|2015-04-24 06:33||muts||Resolution||reopened => no change required|
|2015-04-24 06:53||rhertzog||Note Added: 0003262|