Ticket #679: bug.htm

File bug.htm, 3.0 KB (added by victor gattegno, 11 years ago)

Tests on SLES 11 and RHEL 6

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3 <head>
4
5 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
6 </head>
7 <body>
8 <p>
9 There is a problem with some files named boot/strings......
10 </p>
11 <p>
12 Example, in RHEL 3 : /boot/strings_rhel3_vmlinuz-2.4.21-50.EL.txt
13 </p>
14 <p>
15 Then /boot/strings_rhel3_vmlinuz-2.4.21-50.EL.txt is used by
16 function <span class="missing wiki">GetInitrdFilesystemToUse</span>()
17 instead of /boot/vmlinuz-2.4.21-50.EL
18 </p>
19 <p>
20 The problem comes from mindi, line 2376 (mindi <a
21 class="changeset"
22 href="http://trac.mondorescue.org/changeset/3104" title="- Allow
23 people to access ftp.mondorescue.org|com as an http site
24 ">r3104</a>) :
25 </p>
26 <h2>Line 2376 of /usr/sbin/mindi :</h2>
27 for fname in `find $root -maxdepth 2 -type f | grep -Ei
28 'lin|kern|xen' | grep -Ev '^/proc/|^/net/'` ; do<br>
29 <h2>Tests SLES 11 SP1</h2>
30 <h4># find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
31 -Ev '^/proc/|^/net/'</h4>
32 /lib/libselinux.so.1<br>
33 /mondobackup/linux-m8p5-2012-12-17-1.iso<br>
34 /bin/readlink<br>
35 /lib64/libselinux.so.1<br>
36 /lib64/libreadline.so.5.2<br>
37 /sbin/get_kernel_version<br>
38 /sbin/kernelversion<br>
39 /sbin/installkernel<br>
40 /sbin/modeline2fb<br>
41 /sbin/activate_dm_linear<br>
42 /boot/vmlinuz-2.6.32.12-0.7-default<br>
43 /boot/vmlinux-2.6.32.12-0.7-default.gz<br>
44 <h3>I recommend this solution :</h3>
45 <h4># find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
46 -Ev
47'^/proc/|^/net/|^/lib|^/lib64|^/bin|^/sbin|^/etc|^/mondobackup|^/boot/strings'</h4>
48 /boot/vmlinuz-2.6.32.12-0.7-default<br>
49 /boot/vmlinux-2.6.32.12-0.7-default.gz<br>
50 <br>
51 <h2>Tests RHEL 6<br>
52 </h2>
53 <h4># find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
54 -Ev '^/proc/|^/net/'</h4>
55 /lib/libreadline.so.6.0<br>
56 /lib/libselinux.so.1<br>
57 /sbin/installkernel<br>
58 /sbin/new-kernel-pkg<br>
59 /sbin/telinit<br>
60 /boot/.vmlinuz-2.6.32-279.22.1.el6.i686.hmac<br>
61 /boot/vmlinuz-2.6.32-279.19.1.el6.i686<br>
62 /boot/.vmlinuz-2.6.32-279.14.1.el6.i686.hmac<br>
63 /boot/.vmlinuz-2.6.32-279.19.1.el6.i686.hmac<br>
64 /boot/vmlinuz-2.6.32-279.22.1.el6.i686<br>
65 /boot/vmlinuz-2.6.32-279.14.1.el6.i686<br>
66 /bin/unlink<br>
67 /bin/link<br>
68 /bin/readlink<br>
69 /etc/prelink.cache<br>
70 /etc/prelink.conf<br>
71 <h3>I recommend this solution :</h3>
72 <h4>
73 # find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep -Ev
74'^/proc/|^/net/|^/lib|^/lib64|^/bin|^/sbin|^/etc|^/mondobackup|^/boot/strings'</h4>
75 /boot/.vmlinuz-2.6.32-279.22.1.el6.i686.hmac<br>
76 /boot/vmlinuz-2.6.32-279.19.1.el6.i686<br>
77 /boot/.vmlinuz-2.6.32-279.14.1.el6.i686.hmac<br>
78 /boot/.vmlinuz-2.6.32-279.19.1.el6.i686.hmac<br>
79 /boot/vmlinuz-2.6.32-279.22.1.el6.i686<br>
80 /boot/vmlinuz-2.6.32-279.14.1.el6.i686<br>
81 </body>
82</html>