1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="content-type" content="text/html;
|
---|
5 | charset=windows-1252">
|
---|
6 | </head>
|
---|
7 | <body>
|
---|
8 | Dans le mondoarchive20130402.log de Didier (RHEL 3) :<br>
|
---|
9 | <br>
|
---|
10 | Line 6896: tar: Removing leading `/' from member
|
---|
11 | names<br>
|
---|
12 | Line 6897: tar: Removing leading `/usr/../' from
|
---|
13 | member names<br>
|
---|
14 | Line 6898: tar: Removing leading `/' from hard
|
---|
15 | link targets<br>
|
---|
16 | Line 9176: tar: <b>bin/gawk</b>: Cannot hard
|
---|
17 | link to `bin/gawk': No such file or directory<br>
|
---|
18 | Line 9177: tar: lib/libnss_compat-2.3.2.so:
|
---|
19 | Cannot hard link to `lib/libnss_compat-2.3.2.so': No such file or
|
---|
20 | directory<br>
|
---|
21 | Line 9178: tar: lib/libnss_compat.so.2: Cannot
|
---|
22 | hard link to `lib/libnss_compat.so.2': No such file or directory<br>
|
---|
23 | Line 9179: tar: lib/libnss_files-2.3.2.so: Cannot
|
---|
24 | hard link to `lib/libnss_files-2.3.2.so': No such file or directory<br>
|
---|
25 | Line 9180: tar: lib/libnss_files.so.2: Cannot
|
---|
26 | hard link to `lib/libnss_files.so.2': No such file or directory<br>
|
---|
27 | Line 9181: tar: Exiting with failure status due
|
---|
28 | to previous errors<br>
|
---|
29 | <div class="comment searchable">
|
---|
30 | <p> <font color="#cc0000">Le problème apparaît avec gawk,
|
---|
31 | libnss_compat et libnss_files car jai constaté que sur <b>RHEL
|
---|
32 | 3</b>, <b>RHEL 4</b>, <b>RHEL 6</b> (et sûrement <b>RHEL
|
---|
33 | 5</b>), gawk et un ensemble de libnss sous /usr/lib sont des
|
---|
34 | liens sur ../../xxxxxx.</font> </p>
|
---|
35 | <ul>
|
---|
36 | <li>/usr/bin/gawk -> ../../bin/gawk<br>
|
---|
37 | </li>
|
---|
38 | <li>/usr/lib/libnss_compat.so -> ../../lib/libnss_compat.so.2
|
---|
39 | </li>
|
---|
40 | <li> /usr/lib/libnss_files.so -> ../../lib/libnss_files.so.2
|
---|
41 | </li>
|
---|
42 | <li>etc.<br>
|
---|
43 | </li>
|
---|
44 | </ul>
|
---|
45 | <ul>
|
---|
46 | </ul>
|
---|
47 | </div>
|
---|
48 | <h3>Mes tests RHEL 4</h3>
|
---|
49 | <p><b># /bin/tar --version<br>
|
---|
50 | </b>tar (GNU tar) 1.14<br>
|
---|
51 | <br>
|
---|
52 | <b># whereis gawk | xargs ls -l</b><tt><br>
|
---|
53 | </tt><tt>-rwxr-xr-x 1 root root 252380 Nov 4
|
---|
54 | 2004 /bin/gawk</tt><tt><br>
|
---|
55 | </tt><tt>lrwxrwxrwx 1 root root 14
|
---|
56 | Apr 6 2006 /usr/bin/gawk -> ../../bin/gawk</tt><tt><br>
|
---|
57 | </tt><tt>-rw-r--r-- 2 root root 24639 Nov
|
---|
58 | 4 2004 /usr/share/man/man1/gawk.1.gz</tt><br>
|
---|
59 | <br>
|
---|
60 | <b># mindi --readalllink /usr/bin/gawk</b><br>
|
---|
61 | /usr/bin/gawk<br>
|
---|
62 | <font color="#cc0000">/usr/../bin/gawk</font><br>
|
---|
63 | </p>
|
---|
64 | <p><b># echo "../../bin/gawk" | perl -pi -e
|
---|
65 | 's|([^/]+)/([^/]+)/\.\./([^/]+)|$1/$3|'</b><br>
|
---|
66 | ../../bin/gawk</p>
|
---|
67 | <p><b># echo "/usr/test/../bin/gawk" | perl -pi -e
|
---|
68 | 's|([^/]+)/([^/]+)/\.\./([^/]+)|$1/$3|'</b><br>
|
---|
69 | /usr/bin/gawk <font
|
---|
70 | color="#6633ff">(ne fonctionne que dans ce cas de test
|
---|
71 | hypothétique)</font><br>
|
---|
72 | </p>
|
---|
73 | <h3>Mes tests SLES 11 SP1 (pas de pb)<br>
|
---|
74 | </h3>
|
---|
75 | <b># /bin/tar --version<br>
|
---|
76 | </b>tar (GNU tar) 1.26<b><br>
|
---|
77 | <br>
|
---|
78 | # whereis gawk | xargs ls -l</b><tt><br>
|
---|
79 | </tt><tt>-rwxr-xr-x 1 root root 319528 Aug 19 2011 /bin/gawk</tt><tt><br>
|
---|
80 | </tt><tt>lrwxrwxrwx 1 root root 9 Nov
|
---|
81 | 26 13:32 /usr/bin/X11/gawk -> /bin/gawk</tt><tt><br>
|
---|
82 | </tt><tt>lrwxrwxrwx 1 root root 9 Nov
|
---|
83 | 26 13:32 /usr/bin/gawk -> /bin/gawk</tt><tt><br>
|
---|
84 | </tt><tt>-rw-r--r-- 1 root root 26261 Aug 19 2011
|
---|
85 | /usr/share/man/man1/gawk.1.gz</tt><br>
|
---|
86 | <b><br>
|
---|
87 | # mindi --readalllink /usr/bin/gawk</b><br>
|
---|
88 | /usr/bin/gawk<br>
|
---|
89 | /bin/gawk<br>
|
---|
90 | <br>
|
---|
91 | <br>
|
---|
92 | <br>
|
---|
93 | </body>
|
---|
94 | </html>
|
---|