Gentoo Archives: gentoo-user

From: Miroslav Rovis <miro.rovis@××××××××××××××.hr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GUI-less (non-dbus) virt-manager (to run Tails in Gentoo)
Date: Fri, 13 Jan 2017 22:50:17
Message-Id: 20170113225006.GB21469@g0n.xdwgrp
In Reply to: [gentoo-user] GUI-less (non-dbus) virt-manager (to run Tails in Gentoo) by Miroslav Rovis
1 I made it!
2
3 See:
4 http://www.croatiafidelis.hr/foss/cap/cap-170113_tails/
5 or open:
6 $ <your-browser> \
7 http://www.croatiafidelis.hr/foss/cap/cap-170113_tails/Screen_170113_2102_g0n_1.webm
8
9 (and also Screen_170113_2102_g0n_2.webm and Screen_170113_2102_g0n_3.webm )
10
11 But there are stories to tell, along with patches to share, and a place
12 for a nice bug report, coming.
13
14 ( only when it's short info, and clear from the title what it's about,
15 do I top post )
16
17 On 170111-21:55+0100, Miroslav Rovis wrote:
18 > Hi!
19 >
20 > This is my installation of the package virt-manager:
21 >
22 > # equery l virt-manager
23 > * Searching for virt-manager ...
24 > [IP-] [ ] app-emulation/virt-manager-1.4.0-r2:0
25 > #
26 >
27 > # emerge -pv virt-manager
28 >
29 > These are the packages that would be merged, in order:
30 >
31 > Calculating dependencies ... done!
32 > [ebuild R ] app-emulation/virt-manager-1.4.0-r2::gentoo USE="sasl -debug
33 > -gnome-keyring -gtk -policykit" LINGUAS="-as -bg -bn_IN -bs -ca -cmn -cs -da
34 > -de -en_GB -es -fi -fr -gu -hi -hr -hu -is -it -ja -kn -ko -ml -mr -ms -nb -nl
35 > -or -pa -pl -pt -pt_BR -ro -ru -sk -sr -sr@latin -sv -ta -te -tr -uk -vi
36 > -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 0 KiB
37 >
38 > Total: 1 package (1 reinstall), Size of downloads: 0 KiB
39 > #
40 >
41 > Also gunzip the equery_f_virt-manager.txt.gz for the list of files, of which I
42 > present only those that I will, apparently, have to try and use, once my
43 > initial query is cleared:
44 >
45 > /usr/bin/virt-clone
46 > /usr/bin/virt-convert
47 > /usr/bin/virt-install
48 > /usr/bin/virt-xml
49 >
50 > While at the list of files, pls. notice that there is no executable named
51 > 'virt-manager' in my system's virt-manager install:
52 >
53 > # grep -E '\/?bin\/virt-manager' equery_f_virt-manager.txt
54 > #
55 >
56 > or:
57 >
58 > # grep 'virt-manager$' equery_f_virt-manager.txt
59 > #
60 >
61 > both return empty.
62 >
63 > If I try sticking:
64 > echo "app-emulation/virt-manager gtk" >> /etc/portage/package.use/package.use.file
65 >
66 > hopeful to get the GUI, then:
67 >
68 > # emerge -pv virt-manager
69 >
70 > These are the packages that would be merged, in order:
71 >
72 > Calculating dependencies ... done!
73 >
74 > !!! All ebuilds that could satisfy "x11-libs/gtk+:3[introspection]" have been masked.
75 > !!! One of the following masked packages is required to complete your request:
76 > - x11-libs/gtk+-3.22.5::gentoo (masked by: package.mask)
77 > /etc/portage/package.mask/package.mask.file:
78 > #media-video/libav
79 > #gnome-base/gconf
80 >
81 > - x11-libs/gtk+-3.22.4::gentoo (masked by: package.mask)
82 > - x11-libs/gtk+-3.20.9::gentoo (masked by: package.mask)
83 > - x11-libs/gtk+-3.18.9::gentoo (masked by: package.mask)
84 > - x11-libs/gtk+-3.16.7::gentoo (masked by: package.mask, missing keyword)
85 >
86 > (dependency required by "app-emulation/virt-manager-1.4.0-r2::gentoo[gtk]" [ebuild])
87 > (dependency required by "virt-manager" [argument])
88 > For more information, see the MASKED PACKAGES section in the emerge
89 > man page or refer to the Gentoo Handbook.
90 >
91 > #
92 >
93 > And that is a story that I have met many times with many packages, and, in
94 > short, it hasn't ever been possible to solve it because in my
95 > security-oriented no-frills true-unix only system I have "-dbus" among other
96 > useflags:
97 >
98 > # grep -B3 -A6 '\-dbus' /etc/portage/make.conf
99 > # These are the USE flags that were used in addition to what is provided by the
100 > # profile used for building.
101 > USE="a52 alsa apache2 audit bash-completion berkdb bzip2 caps cdr crypt \
102 > cscope css -dbus dri dvb dvdr fam ffmpeg fontconfig gdbm \
103 > -geoip gif git -gnome gnutls gpm gstreamer gzip hardened \
104 > imagemagick -introspection jack jpeg jpeg2k -kde lame libcaca -libav \
105 > mad maildir mhash mng mplayer ncurses nls ogg opengl -pam png -policykit \
106 > readline sasl sdl -selinux -systemd sysvipc smp sound sox sqlite sqlite3 \
107 > ssl subversion svg tiff truetype -udev unicode v4l vim-syntax vorbis \
108 > X x264 xattr xine xv xvid zlib -pulseaudio"
109 >
110 > (
111 > A sidenote: notice what is banned with the '-' prefix. It's an
112 > non-poetterware [1], true-unix only system, and the 'hardened' useflag is of
113 > course for grsecurity-based hardened system, not for NSA Linux based. Oh
114 > sorry, I meant SELinux, but NSA, at the turn of the millenium, created SELinux
115 > just as, say, Mozilla, back in the Netscape days, created Javascript. So it
116 > should be called that, shouldn't it?
117 > )
118 >
119 > So I guess, to get Tails installed, the way I will need to follow:
120 >
121 > https://tails.boum.org/doc/advanced_topics/virtualization/virt-manager/index.en.html
122 >
123 > is certainly not literally. Exampli gratia, there is not anything to click at
124 > at all in my virt-manager, for me to be able to follow, say, let me paste just the
125 > first step into here from that "advanced_topics" Tails page:
126 >
127 > PASTING->
128 > Running Tails from an ISO image
129 >
130 > Start virt-manager.
131 > Double-click on localhost (QEMU) to connect to the QEMU system of your host.
132 > To create a new virtual machine, choose File -> New Virtual Machine.
133 > In step 1, choose Local install media (ISO image or CDROM).
134 > In step 2, choose:
135 > Use ISO image, then Browse..., and Browse Local to browse for the ISO image that you want to start from.
136 > OS type: Linux.
137 > Version: Debian Wheezy.
138 > In step 3, allocate at least 1024 MB of RAM.
139 > In step 4, disable storage for this virtual machine.
140 > In step 5:
141 > Type a name for the new virtual machine.
142 > Click Finish to start the virtual machine.
143 > ->PASTED
144 >
145 > Instead, I fear that I am left to these:
146 >
147 > /usr/bin/virt-clone
148 > /usr/bin/virt-convert
149 > /usr/bin/virt-install
150 > /usr/bin/virt-xml
151 >
152 > to accomplish the above GUI tasks, but translated into command line tasks, of
153 > course.
154 >
155 > Am I correct? And [I]f [I] [U]nderstand [C]orrectly, has anybody done this
156 > yet? And (again, IIUC) surely there must be Gentooers who did this?! But
157 > (again, IIUC and there are Gentooers who accomplished that), can they tell us
158 > what exact commands they used?
159 >
160 > And, on my part, if I ever make it before any of the assumed existing
161 > Gentooers who acoomplished the no-GUI virt-manager Tails installing and
162 > running tell us, if I ever make it, I will tell everybody the commands that I
163 > used to accomplish that.
164 >
165 > By the way, it's good to get more in depth and in detail about things ;-)
166 > It is only now that I have noticed that there is a dedicated (well, libvirt
167 > and things) ML... Only now! (The http://virt-manager.org$ is listed in bottom
168 > if you run 'eix virt-manager', and visiting it I found the ML.)
169 >
170 > So, the mailing list:
171 >
172 > https://www.redhat.com/mailman/listinfo/virt-tools-list
173 >
174 > (
175 > And it's good to get more in depth when posting questions because you often
176 > get (some) answers from your own self while posting :-) .
177 > )
178 >
179 > But still, this part that I post here is mostly Gentoo specific, and then, I am
180 > also curious if I will get not-so-warm reception
181 > (
182 > I just subscribed, and will point
183 > to this in-depth Gentoo-installation details in this email, when I post my
184 > question there.
185 >
186 > But I intend just to ask how to get my GUI-less virt-manager to run Tails as
187 > VM, and not go into moral details of dbus-imposition there _at all_.
188 > )
189 >
190 > Why "not-so-warm reception"? Because in Gentoo, we often emphasized the
191 > red-hattisms and systemDestruction as detrimental to true-unix way things
192 > should be...
193 >
194 > But lo and behold, the relatively small, poor money, if any, involved
195 > (
196 > Gentoo is one of the most scantily financed FOSS entities in the whole of
197 > GNU-FOSS'dom. When there's no GSoC, not even the tiny dimes, the stingy tiny
198 > dimes that the Schmoog the Scmoogle heavy heartedly departs from, nay, tear
199 > away from their hearts wreaking in moneys...
200 >
201 > To learn about, pls. consider viewing:
202 > Gentoo Foundation, background and status report Robin Johnson
203 > https://youtu.be/S3bmXVbxMgE
204 >
205 > {When there's no [G]oogle [S]ummer [o]f [C]ode}, the financial entries is a
206 > truly tiny tiny trickle, and the Schmoog pays only, basically, and I guess
207 > really stingily for that too, for the code it gets from the participating
208 > Gentoo developers. It's a pay, not a donation. And it uses Gentoo in its
209 > CoreOS that it deploys. And so donates, in essence, nothing for the use of it.
210 > Like a huge parasite on a healthy body, yes!
211 >
212 > Don't worry, the stingy spies on the whole world, the Schmoog, won't opt for
213 > anything but Gentoo for their CoreOS, because nothing matches Gentoo... And
214 > you don't get a community like Gentoo created just so easily, so the big one
215 > here really is Gentoo, not the Schmoog, they are kind of just a small user.
216 > here.
217 >
218 > Oh, if I were rich, I would donate to Gentoo, I would!
219 > )
220 >
221 > [But lo and behold], we depend on the big Red Hat (full of U.S. military's
222 > id est U.S. of America taxpayers' moneys) for virtualization, and, does this
223 > not sound strange?, we depend on the big Red Hat to..., take good notice: to
224 > get anonymous?!
225 >
226 > We depend on the big Red Hat...
227 >
228 > ...to get ...anonymous?!
229 >
230 > The Red Hat that is all for poetterware, all for systemd, all for *kits and
231 > pulseaudio and things, which, the majority of us in Gentoo (the hardest of all
232 > Linuces to understand and use, and the most advanced in most respects; nothing
233 > can work as reliably on your system as what you install by compiling
234 > specifically for your system, and especially if you can install it almost
235 > really in any way on Earth that you can think of), [we depend on]... [the Red
236 > Hat that is all for poetterware] that we, mostly, do not want in our boxen.
237 >
238 > And we get virtualization, on which anonymization ever more often depends
239 > upon, from that beast of financially nearly unlimited resources (at least in
240 > comparison to Gentoo Foundation), and it is resources from, essentially, one
241 > superpower's of the world only?!
242 >
243 > This is beyond me now... It's too big to understand. Maybe just: I prefer to
244 > remain poor. At least nobody will ever be able to claim, as, in secret, they
245 > can for many, that they bought me.
246 >
247 > I decided to post this query integral, with big picture included prominent.
248 >
249 > But I won't go about it in endless discussions, should any ensue. Surely will
250 > read every sensible arguments proposed, pro or con, if any will be claimed.
251 >
252 > But I'm really mostly eager to get Tails running in my Gentoo...
253 >
254 > And someone would really need to dismiss big-time my arguments that I wrote in
255 > this email, for me to put yet more of my time into discussion on the more
256 > moral sides of this matter.
257 >
258 > I came to Gentoo, ninth year of my using of Gentoo is this current year 2017,
259 > because in Gentoo I found the best. And I understand ever more what Gentoo is,
260 > and want to tell others about it so others get to know Gentoo, be it that they
261 > decide even for the non-true unix options available in Gentoo, or even for the
262 > NSA Linux however much that I could never recommend it...
263 >
264 > And this is, to my best understanding, my integral view on the issue about
265 > virt-manager, a program that I need if I want to get Tails running in my
266 > Gentoo system. This is my integral view because it is comprising of the
267 > aspects that are, even though partly technical, still more in the moral and
268 > ethical domain in their nature, and which aspects are yes: very important.
269 >
270 > These aspects go beyond the merely technical deployment of the said
271 > virt-manager, but are, yes theya are: very important to understand.
272 >
273 > Exampli gratia, why would there be the need to impose dbus if you want to run
274 > a GUI that runs those commands? Why?
275 >
276 > Why? Here's why: dbus is embattled. It is being abandoned by a growing
277 > majority of unix-oriented FOSS developers. Just an example or two: in Devuan,
278 > the very young Debian non-systemd fork, developers regard it as mostly a systemd
279 > impositioner. The GnuPG developers didn't want to use it, because they openly
280 > didn't trust it. And I'm certain every informed developer can tell you many
281 > more really good examples.
282 >
283 > And so, why not get a nice point of entry for the embattled dbus! they must
284 > have thought!
285 >
286 > People like me, which are not as advanced as to, say, convert programs to
287 > their liking, get to a page like (link already given above, repeating it):
288 > https://tails.boum.org/doc/advanced_topics/virtualization/virt-manager/index.en.html
289 > and they see they can't (easily) install virt-manager without installing dbus,
290 > and so, what happens?
291 >
292 > Very few of the likes of me (in the level of aptness for developing) have the
293 > kind of time like this time that I am dedicating to this issue, and what do
294 > they do? They install that poetterware-introducer opaque dbus thing! And the
295 > poetterization of their system is almost guarrantied! How dirty...!
296 >
297 > ----
298 > [1] poetterware stands for Poettering ware, after the name of the main
299 > developer (or if it shows right in your mail client, and in the web: Lennart
300 > Pöttering, written with the German "ö", o with umlaut, in original charset
301 > --it should show, UTF-8 is set in my Mutt--; btw he is not a kind German that
302 > I admire, and I am somewhat of a fan of teutonic culture and teutonic ways of
303 > life), who is the main author of systemd and other non-true unix and non-true
304 > FOSS programs that plague huge swaths of FOSS nowadays.
305 >
306 > --
307 > Miroslav Rovis
308 > Zagreb, Croatia
309 > http://www.CroatiaFidelis.hr
310
311
312
313
314
315 --
316 Miroslav Rovis
317 Zagreb, Croatia
318 http://www.CroatiaFidelis.hr

Attachments

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

Replies

Subject Author
Re: [gentoo-user] GUI-less (non-dbus) virt-manager (to run Tails in Gentoo) Miroslav Rovis <miro.rovis@××××××××××××××.hr>