Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
equery_f_virt-manager.txt.gz application/octet-stream
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>
[gentoo-user] Re: GUI-less (non-dbus) virt-manager (to run Tails in Gentoo) Miroslav Rovis <miro.rovis@××××××××××××××.hr>