1 |
I have /usr/portage/distfiles nfs shared, and emerge has broken because of |
2 |
this; |
3 |
|
4 |
>>> Emerging (1 of 3) net-wireless/wpa_supplicant-2.6-r3::gentoo |
5 |
* Fetching files in the background. |
6 |
* To view fetch progress, run in another terminal: |
7 |
* tail -f /var/log/emerge-fetch.log |
8 |
bash: /usr/portage/distfiles/.__portage_test_write__: Is a directory |
9 |
rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__': Is a |
10 |
directory |
11 |
|
12 |
distfiles # ls -la |
13 |
total 756 |
14 |
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 . |
15 |
drwxr-xr-x 175 portage portage 4096 Mar 24 2017 .. |
16 |
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 |
17 |
.pinentry-1.0.0.tar.bz2.portage_lockfile |
18 |
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 .__portage_test_write__ |
19 |
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 |
20 |
.wpa_supplicant-2.6.tar.gz.portage_lockfile |
21 |
distfiles # touch test |
22 |
distfiles # ls -l |
23 |
total 188 |
24 |
drwxrwxr-x 2 root portage 188416 Oct 17 10:31 test |
25 |
distfiles # file * |
26 |
test: directory |
27 |
distfiles # ls * |
28 |
ls: reading directory 'test': Not a directory |
29 |
distfiles # |
30 |
|
31 |
On the server they show up as files to both ls and file, so it appears to |
32 |
be an NFS bug. Gentoo-sources 4.13.7 has the issue but 4.13.5 is ok. |