Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Being Facebook member: How to anon?
Date: Tue, 24 Oct 2017 02:47:14
Message-Id: 20171024024654.omryprp5anqbi6y5@solfire
In Reply to: Re: [gentoo-user] [OT] Being Facebook member: How to anon? by tuxic@posteo.de
1 On 10/24 03:58, tuxic@××××××.de wrote:
2 > On 10/24 02:12, tuxic@××××××.de wrote:
3 > > On 10/24 02:04, tuxic@××××××.de wrote:
4 > > > On 10/23 09:33, Róbert Čerňanský wrote:
5 > > > > On Mon, 23 Oct 2017 17:56:40 +0200
6 > > > > tuxic@××××××.de wrote:
7 > > > >
8 > > > > > On 10/23 09:56, Stroller wrote:
9 > > > > > >
10 > > > > > > > On 22 Oct 2017, at 16:50, tuxic@××××××.de wrote:
11 > > > > > > >
12 > > > > > > > for its invasive nature and its data gathering I really dont like
13 > > > > > > > facebook.
14 > > > > > > >
15 > > > > > > > And now it seems that I cant with out it:
16 > > > > > > > There is a HUGE user group for the Creality CR-10 3D printer there
17 > > > > > > > and veryone and everything is referencing it.
18 > > > > > > >
19 > > > > > > > My question is:
20 > > > > > > > Are there ways (and which ones) to become member of facebook
21 > > > > > > > just to read and write to this user grout (like a mailinglist)
22 > > > > > > > and keep the impact on privacy an personal fingerprinting as
23 > > > > > > > small as ever possible?
24 > > > > > >
25 > > > > > > I joined Facebook for the first time this week, for similar reasons
26 > > > > > > as, and with similar reservations to, you.
27 > > > > > >
28 > > > > > > When people upload a photo of you, it performs facial recognition
29 > > > > > > and they can "tag" you as being in the photo. You don't have to
30 > > > > > > upload a photo of yourself (I'm thinking of trying one in
31 > > > > > > sunglasses) and in the privacy settings you're also able to forbid
32 > > > > > > people from tagging you.
33 > > > > > >
34 > > > > > > There are quite granular settings to allow anyone but friends to
35 > > > > > > see or post on your timeline - I was quite impressed by how much
36 > > > > > > privacy appears to be available to users. I suspect this allows you
37 > > > > > > more privacy from you family and colleagues than it does from
38 > > > > > > Facebook, though.
39 > > > > > >
40 > > > > > > Stroller.
41 > > > > > >
42 > > > > > >
43 > > > > >
44 > > > > > Hi,
45 > > > > >
46 > > > > > thanks a lot for all the input...it seems not only my problem which I
47 > > > > > have with facehook.
48 > > > > >
49 > > > > > I will try th docker-way at first.
50 > > > > > But: I am a total (in words: "total") newbie when it comes to docker.
51 > > > > > And as I want "only" to encapsulate my inner self from the faces in
52 > > > > > that book (and for the first dont need to explore the huge planet of
53 > > > > > docker)...does one know of a good documentation for that
54 > > > > > purpose...something like: "Facebook for Dummies: How to use docker
55 > > > > > for anon access to facebook" ...or something like that ... ;)
56 > > > >
57 > > > > Well, here is very compressed "how to start" (partly from top of my
58 > > > > head):
59 > > > >
60 > > > > 1. emerge app-emulation/docker and /etc/init.d/docker start
61 > > > > 2. Add yourself to docker group; re-login
62 > > > > 3. Choose docker image that you like on hub.docker.com; for example:
63 > > > > https://hub.docker.com/r/openhs/firefox-ubuntu/ as I have mentioned in
64 > > > > previous mail. It's what I've made for myself and published.
65 > > > > 4. Follow instructions for your chosen image how to run it. For the
66 > > > > openhs/firefox-ubuntu image above, the following command should start
67 > > > > Firefox:
68 > > > >
69 > > > > $ docker run --name firefox -e DISPLAY=$DISPLAY --device /dev/snd \
70 > > > > -v /tmp/.X11-unix:/tmp/.X11-unix \
71 > > > > -v $XAUTHORITY:/tmp/.host_Xauthority:ro -dti openhs/firefox-ubuntu
72 > > > >
73 > > > > What it does is: from image openhs/firefox-ubuntu it creates container
74 > > > > named 'firefox' and starts it. (The image is downloaded automatically.)
75 > > > >
76 > > > > This long command is needed only for the first time. Next time you can
77 > > > > start it with:
78 > > > >
79 > > > > $ docker start firefox
80 > > > >
81 > > > > Some basic docker commands:
82 > > > >
83 > > > > $ docker ps [-a] - lists running containers [or all containers]
84 > > > > $ docker images - lists images
85 > > > > $ docker rm [container_name] - removes container
86 > > > > $ docker rmi [image_name] - removes image
87 > > > >
88 > > > > The official documentation is pretty good:
89 > > > > https://docs.docker.com/get-started/
90 > > > >
91 > > > > Regards,
92 > > > > Robert
93 > > > >
94 > > > >
95 > > > > --
96 > > > > Róbert Čerňanský
97 > > > > E-mail: openhs@×××××××××.com
98 > > > > Jabber: hs@××××××.sk
99 > > > >
100 > > >
101 > > > Hi Robert,
102 > > >
103 > > > oh YEAH!
104 > > > Thanks a lot for that quick start!
105 > > >
106 > > > I didi it, but...
107 > > > #>eix -I docker
108 > > > [I] app-emulation/docker
109 > > > Available versions: 17.03.2^si (~)17.06.2^si (~)17.09.0^si **9999^si {apparmor aufs btrfs +container-init +device-mapper hardened overlay pkcs11 seccomp}
110 > > > Installed versions: 17.09.0^si(05:48:14 PM 10/23/2017)(container-init device-mapper seccomp -apparmor -aufs -btrfs -hardened -overlay -pkcs11)
111 > > > Homepage: https://dockerproject.org
112 > > > Description: The core functions you need to create Docker images and run Docker containers
113 > > >
114 > > > [I] app-emulation/docker-proxy
115 > > > Available versions: 0.8.0_p20161111 (~)0.8.0_p20170917^t **9999
116 > > > Installed versions: 0.8.0_p20170917^t(05:46:10 PM 10/23/2017)
117 > > > Homepage: https://github.com/docker/libnetwork
118 > > > Description: Docker container networking
119 > > >
120 > > > [I] app-emulation/docker-runc
121 > > > Available versions: 1.0.0_rc2_p20170308^t (~)1.0.0_rc3_p20170706^t (~)1.0.0_rc4_p20170917^t {+ambient apparmor hardened +seccomp}
122 > > > Installed versions: 1.0.0_rc4_p20170917^t(05:46:07 PM 10/23/2017)(ambient seccomp -apparmor -hardened)
123 > > > Homepage: http://runc.io
124 > > > Description: runc container cli tools (docker fork)
125 > > >
126 > > >
127 > > > #>groups
128 > > > wheel mail uucp audio cdrom video games cdrw usb users docker wireshark vboxusers vlock realtime
129 > > > ^----^
130 > > >
131 > > > (as root)
132 > > > #>/etc/init.d/docker start
133 > > > * WARNING: docker has already been started
134 > > > (so it is runnig)
135 > > >
136 > > > (as user again)
137 > > > #>docker run --name firefox -e DISPLAY=$DISPLAY --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix -v $XAUTHORITY:/tmp/.host_Xauthority:ro -dti openhs/firefox-ubuntu
138 > > >
139 > > > docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
140 > > > See 'docker run --help'.
141 > > > [1] 10401 exit 125 docker run --name firefox -e DISPLAY=$DISPLAY --device /dev/snd -v -v -dti
142 > > >
143 > > > Hmmmm...seems I missed something...
144 > > >
145 > > > Cheers
146 > > > Meino
147 > > >
148 > > >
149 > > >
150 > > >
151 > >
152 > > Found this in dmesg
153 > >
154 > > [ 1587.391861] device-mapper: table: 254:0: thin-pool: unknown target type
155 > > [ 1587.391863] device-mapper: ioctl: error adding target to table
156 > >
157 > > these two lines are added when I try to start /etc/ini.d/docker as root.
158 > >
159 > > Cheers
160 > > Meino
161 > >
162 > >
163 > >
164 >
165 > I could this problem by defining
166 >
167 > CONFIG_DM_THIN_PROVISIONING=y
168 >
169 > in the kernel, recompile it and the message disappears.
170 > BUT:
171 > still docker does not start...
172 >
173 > How can I fix that?
174 >
175 > Cheers
176 > Meino
177 >
178 >
179
180 Next fix:
181 Need to activate the complete cgroup features.
182
183 Now I get this error message in /var/log/docker.log
184
185 time="2017-10-24T04:42:39.358339658+02:00" level=info msg="Loading containers: start."
186 time="2017-10-24T04:42:39.869600530+02:00" level=error msg="could not get initial namespace: no such file or directory"
187 time="2017-10-24T04:42:39.884438663+02:00" level=error msg="failed to set to initial namespace, readlink /proc/4588/task/4588/ns/net: no such file or directory, initns fd -1: bad file descriptor"
188 time="2017-10-24T04:42:39.885161875+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
189 time="2017-10-24T04:42:39.885339857+02:00" level=error msg="failed to set to initial namespace, readlink /proc/4588/task/4588/ns/net: no such file or directory, initns fd -1: bad file descriptor"
190 Error starting daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: Failed to inject DOCKER in PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables: No chain/target/match by that name.
191
192 ...and now I really did not know how to hack further...
193
194 Any help is very appreciated...
195
196 Cheers
197 Meino

Replies

Subject Author
Re: [gentoo-user] [OT] Being Facebook member: How to anon? Todd Goodman <tsg@×××××××××.net>