Gentoo Archives: gentoo-user

From: Miroslav Rovis <miro.rovis@××××××××××××××.hr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Inconsistent behavior in my Gentoo OS instance
Date: Tue, 02 May 2017 14:15:02
Message-Id: 20170502141329.GA19128@g0n.xdwgrp
In Reply to: [gentoo-user] Inconsistent behavior in my Gentoo OS instance by Miroslav Rovis
1 I've received one reply, and thanks again, but I had better remove the
2 gzip-"inconsistency" related bloat from my own previous email... I need the
3 previous text to make the remaining three important
4 parts/issues/inconsistencies clearer and easier to check, and reply to,
5 any of the three.
6
7 I will also reorder my quotes to get them easier to skip or skip to,
8 since they are separate issues/inconsistencies.
9
10 On 170501-18:17+0200, Miroslav Rovis wrote:
11 ...
12 First issue
13 ===========
14 (All first issue-related text have been removed here from all quotes
15 from my previous message)
16 ...
17
18 Second issue
19 ============
20 > Another part is actually on Wireshark mailing list. Pls. see:
21 >
22 > Filtering on (negated) frame.time_relative filters out wrong frame.number
23 > https://www.wireshark.org/lists/wireshark-users/201704/msg00037.html
24 > as well as my study at:
25 > https://www.croatiafidelis.hr/foss/cap/cap-170313-git-devuan-mail/git-devuan-mail-4.php
26 That page has just been updated with clearer instructions.
27
28 > (and the previous ones there, but I gave the last as it is simplest/fastest to check)
29 >
30 > There is information that any advanced reader can easily provide by retracing
31 > some of my steps there, and which would clear some uncertainties here.
32 ...
33 > ... That's a serious bug or a
34 > serious malfunction in my Gentoo, the latter being most likely...
35 >
36 > And if it is the latter, it can only be one or the other way. One: the cause
37 > is in some Gentoo packge. Two: it is an attack by some unknown means.
38 >
39 > (
40 > If Air-Gapped is some info, I did try and editcap (and the whole
41 > Wireshark) behave in the same wrong way in my Air-Gapped too.
42 > ...
43 > )
44 >
45
46
47 Third issue
48 ==========
49
50 The text it too much because the command line in which bash throw
51 strange error is a long for loop. The main point is marked with short new
52 text below.
53 > This is one of a series of commands that I used to check one of the backups,
54 > in three different instances of tar-gzip'd archive I checked (such as the
55 > /root directory tar-gzip'd today), and which showed faultless upon
56 > decompression in all the three instances, despite the three instances of
57 > tar-gzip'd archives not being identical (as their SHA256 sums show):
58 >
59 > # for i in $(ls -1d root_170430_g0n*.d/); do sum=$(echo $i|sed 's/\.d\//\.sum/'); echo $sum ; read FAKE ; j=$(echo $i | sed 's/\.d\//\.tar.gz/'); ls -l $j $i ; cd $i; pwd ; read FAKE ; for file in $(find ./ -name '*'); do if [ -f "$file" ]; then sha256sum $file >> ../$sum ; fi; done ; cd - ; done ;
60 >
61 > Now if I just place the cursor, by moving with Alt-F (skipping "words") and Ctrl-F (skipping 1 char) to just after:
62 >
63 > "for i in $(ls -1d root_170430_g0n*.d/" in that command,
64 >
65 > and if I then hit Tab for completion on the experssion there, I get (and I'm
66 > sorry for the mess, but that's what I get):
67 >
68 > g0n ~ # for i in $(ls -1d root_170430_g0n*.dbash: unexpected EOF while looking for matching `)'bash: syntax error: unexpected end of file//\.tar.gz/'); ls -l $j $i ; cd $i; pwd ; read FAKE ; for file in $(find ./ -name '*'); do if [ -f "$file" ]; then sha256sum $file >> ../$sum ; fi; done ; cd - ; done ;
69 >
70 > NOTE (at proofreading time): rechecked, I do get that same behavior the day
71 > after (wrote most of this yesterday, still to send this morning).
72 >
73 > [[
74 > NOTE (before delayed sending): In fact, it is only this clone that exibits the
75 > above Bash malfunctioning. I just checked the same for loop command (some six
76 > paragraphs above) in my Air-Gapped master [1] (never any internet it sees,
77 The [1] is important for understanding, especially this Bash issue in my
78 Gentoo instance.
79 Because in my Air-Gapped Gentoo instance that issue does not show at
80 all.
81 > longer workaround/detailed checking before updating it with stuff from
82 > internet, sneakernet or optical media), and it is just fine. That line, simply
83 > gave what it should:
84 >
85 > # for i in $(ls -1d root_170430_g0n*.d/); do sum=$(echo $i|sed 's/\.d\//\.sum/'); echo $sum ; read FAKE ; j=$(echo $i | sed 's/\.d\//\.tar.gz/'); ls -l $j $i ; cd $i; pwd ; read FAKE ; for file in $(find ./ -name '*'); do if [ -f "$file" ]; then sha256sum $file >> ../$sum ; fi; done ; cd - ; done
86 > root_170430_g0n_1.d// root_170430_g0n_2.d// root_170430_g0n.d//
87 > # [[and the same command line was back here]]
88 >
89 > under exact same conditions/circumstances as the clone of my Air-Gapped. And
90 > it's similar with some other completion issues: they seem non-existent in my
91 > Air-Gapped.
92 > ]]
93
94 This is the main point (in my clone that I use for online):
95 > IOW, first, Bash sullied the entire line, which is not very considerate of
96 > Her, and second that's not some usual error. Just for clarity, it wrote this:
97 >
98 The error:
99 > bash: unexpected EOF while looking for matching `)'bash: syntax error: unexpected end of file
100 >
101 > (and it wrote it by overwriting, which I never used to see in Bash)
102 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
103 | | | | | | | | | | | |
104 Anyone else such behavior as well?
105
106 >
107 > What's going on there?... Ah... Importantly:
108 >
109 > do any of you other users get some erratic unusual behavior like this with Bash?
110 >
111 > Of course, I can move to the start of the line with Ctrl-A and then issue
112 > Ctrl-K to clear and capture to the entire line and then issue Ctrl-Y to paste
113 > it back, and no disorderly message remains, but Bash isn't behaving...
114 >
115 ...
116 > ... if the reader has this bash version installed:
117 > $ bash --version
118 > GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
119 > Copyright (C) 2016 Free Software Foundation, Inc.
120 > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
121 >
122 > This is free software; you are free to change and redistribute it.
123 > There is NO WARRANTY, to the extent permitted by law.
124 > $
125 > they might be able to reproduce such kind of misbehavior.
126 Else it's only in my Gentoo instance (and only the for-online clone, not
127 in my Air-Gapped Gentoo instance).
128
129 Fourth issue
130 ============
131 > And finally, and this is what eix throws on any package that I would check:
132 >
133 > g0n ~ # eix memtest86+
134 > * sys-apps/memtest86
135 > Available versions: 4.3.7 (~)4.3.7-r1 {serial}
136 > Homepage: http://www.memtest86.com/
137 > Description: A stand alone memory test for x86 computers
138 ...
139 >
140 > Found 2 matches
141 > Received SIGSEGV - you probably found a bug in eix.
142 > Please proceed with the following few instructions and help us find the bug:
143 > * install gdb (sys-devel/gdb)
144 > * reemerge eix with FEATURES="nostrip" CXXFLAGS="-g -ggdb3" LDFLAGS=""
145 > * enter gdb with "gdb --args eix your_arguments_for_eix"
146 > * type "run" and wait for the segfault to happen
147 > * type "bt" to get a backtrace (this helps us a lot)
148 > * post a bugreport and be sure to include the output from gdb.
149 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
150 | | | | | | | | | | | |
151 Anyone else gets this too?
152
153 ...
154 > ---
155 > [1] My methods are still these:
156 > Air-Gapped Gentoo Install, Tentative
157 > https://forums.gentoo.org/viewtopic-t-987268.html
158 >
159 > and
160 >
161 > Postfix smtp/TLS, Bkp/Cloning Mthd, Censorship/Intrusion
162 > https://forums.gentoo.org/viewtopic-t-999436.html#7613044
163 >
164
165 --
166 Miroslav Rovis
167 Zagreb, Croatia
168 https://www.CroatiaFidelis.hr

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
RE: [gentoo-user] Inconsistent behavior in my Gentoo OS instance Bobby Kent <rkent@××××××××××××××××.net>
RE: [gentoo-user] Inconsistent behavior in my Gentoo OS instance Bobby Kent <rkent@××××××××××××××××.net>