View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003012 | Kali Linux | General Bug | public | 2016-01-24 14:04 | 2017-12-06 15:13 |
Reporter | binkybear | Assigned To | muts | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | kali-dev | ||||
Summary | 0003012: apt-get errors in kali-dev | ||||
Description | When working on Nethunter chroot in Android we are getting apt-get errors with kali-rolling. It appears that something is firewalling or filtering out our connection with permission denied. A normal apt-get update returns: apt-get update Changing to IP only in apt sources returns this error: root@kali:~# apt-get update | ||||
Steps To Reproduce | apt-get update | ||||
Additional Information | Changing DNS servers does not help. We can ping and dig http.kali.org without errors. Multiple users have reported same error. | ||||
Also tried changing DNS servers to OpenDNS and Google DNS with same error. |
|
Issues seem to be related to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807371 with introduction of new user _apt. Trying to cat resolve.conf from user _apt results in permission denied: root@kali:/# su _apt -s /bin/sh -c "cat /etc/resolv.conf" By default in chroot: root@kali:/# ls -l |grep etc Changing permissions on resolv.conf to 644 allows it to be read but doesn't solve issues: Being dangerous I changed _apt UID: _apt:x:0:65534::/nonexistent:/bin/false and it works! I moved _apt to GID instead: _apt:x:104:3004::/nonexistent:/bin/false It works now (issue can be closed). |
|
What is GID 3004 on your system? So you believe that the fact that the _apt user is part of "nogroup" is actually the problem? Does Android treat the nogroup in some special way? |
|
This was fixed in our nethunter builds. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-24 14:04 | binkybear | New Issue | |
2016-01-24 14:24 | binkybear | Note Added: 0004600 | |
2016-01-26 20:26 | binkybear | Note Added: 0004619 | |
2016-01-27 08:13 | rhertzog | Note Added: 0004621 | |
2016-02-02 23:21 | muts | Note Added: 0004656 | |
2016-02-02 23:21 | muts | Status | new => closed |
2016-02-02 23:21 | muts | Assigned To | => muts |
2016-02-02 23:21 | muts | Resolution | open => fixed |