1 |
Hi list, |
2 |
I 'm trying to emerge net-analyzer/tcpdump-4.6.2, to debug some ICMPv6 |
3 |
problem I recently encountered. So, I type: |
4 |
|
5 |
Riaqn-Laptop ~ # emerge -av tcpdump |
6 |
|
7 |
These are the packages that would be merged, in order: |
8 |
|
9 |
Calculating dependencies... done! |
10 |
[ebuild N ] sys-libs/libcap-ng-0.7.4 USE="-python -static-libs" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB |
11 |
[ebuild N ] net-analyzer/tcpdump-4.6.2 USE="drop-root ipv6 ssl -samba -smi -suid {-test}" 0 KiB |
12 |
|
13 |
Total: 2 packages (2 new), Size of downloads: 0 KiB |
14 |
|
15 |
Would you like to merge these packages? [Yes/No] yes |
16 |
|
17 |
>>> Verifying ebuild manifests |
18 |
|
19 |
>>> Emerging (1 of 2) sys-libs/libcap-ng-0.7.4::gentoo |
20 |
* libcap-ng-0.7.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] |
21 |
>>> Unpacking source... |
22 |
>>> Unpacking libcap-ng-0.7.4.tar.gz to /var/tmp/portage/sys-libs/libcap-ng-0.7.4/work |
23 |
>>> Source unpacked in /var/tmp/portage/sys-libs/libcap-ng-0.7.4/work |
24 |
>>> Preparing source in /var/tmp/portage/sys-libs/libcap-ng-0.7.4/work/libcap-ng-0.7.4 ... |
25 |
* ACCESS DENIED: open_wr: /proc/sys/net/ipv6/conf/enp4s0/autoconf |
26 |
* ACCESS DENIED: open_wr: /proc/sys/net/ipv6/conf/enp4s0/accept_ra |
27 |
* Running eautoreconf in '/var/tmp/portage/sys-libs/libcap-ng-0.7.4/work/libcap-ng-0.7.4' ... |
28 |
* Running libtoolize --install --copy --force --automake ... |
29 |
* ACCESS DENIED: open_wr: /proc/sys/net/ipv6/conf/enp4s0/autoconf |
30 |
* ACCESS DENIED: open_wr: /proc/sys/net/ipv6/conf/enp4s0/accept_ra [ ok ] |
31 |
|
32 |
Riaqn-Laptop ~ # cat /var/tmp/portage/sys-libs/libcap-ng-0.7.4/temp/autoconf.out |
33 |
***** autoconf ***** |
34 |
***** PWD: /var/tmp/portage/sys-libs/libcap-ng-0.7.4/work/libcap-ng-0.7.4 |
35 |
***** autoconf |
36 |
|
37 |
sysctl: permission denied on key 'net.ipv6.conf.enp4s0.autoconf' |
38 |
sysctl: permission denied on key 'net.ipv6.conf.enp4s0.accept_ra' |
39 |
|
40 |
However, the permission looks quite right, I(root) can even write to it: |
41 |
Riaqn-Laptop ~ # ls -l /proc/sys/net/ipv6/conf/enp4s0/autoconf |
42 |
-rw-r--r-- 1 root root 0 12月 9 22:58 /proc/sys/net/ipv6/conf/enp4s0/autoconf |
43 |
|
44 |
Even if I emerge with FEATURES="-userpriv" doesn't help, same output. |
45 |
I don't know if it's related, but as far as I noticed, dhcpcd will set |
46 |
these two values to 0, to disable the kernel configuring the IPv6 |
47 |
address.(I checked dhcpcd source) |
48 |
|
49 |
Any comment is appreciated! |
50 |
|
51 |
Regards, |
52 |
-- |
53 |
Zesen Qian (钱泽森) |