Gentoo Archives: gentoo-soc

From: Alice Ferrazzi <alicef@g.o>
To: gentoo-soc@l.g.o
Cc: Gokturk Yuksek <gokturk@g.o>, Mike Pagano <mpagano@g.o>
Subject: [gentoo-soc] Fwd: Google Summer of Code summary week 06
Date: Tue, 11 Jul 2017 14:09:46
Message-Id: CANWzcUpFi-LypEzcu=T0vQcrVOeXVA2odci7R3YLW7abVD=hNA@mail.gmail.com
1 Summary:
2
3 * Created UUID client identification (needed for dealing with multiple request)
4 * Made function for standardize the subrocess commands. (needed for
5 dealing with multiple request)
6 * Working with getting the linux kernel version from configuration file.
7 * Unifying the patch and configuration file send function (needed for
8 dealing with multiple request)
9 * Discussion with mentor about what we need:
10 - Availability and replicability of downloading kernel sources. [needed]
11 - Represent same kernel sources as the client kernel source (use
12 flags for now and in the future user added patches) [needed]
13 - Support multiple request at the same time. [needed]
14 - Modularity for adding VM machine or container support. (in the future)
15
16 * Made function for download and get old kernel sources and install
17 sources under the designated temporary folder. (needed for dealing
18 with multiple request)
19 * Create overlay for keeping old gentoo-sources ebuild where we will
20 keep retrocompatibility (needed for give kernel sources
21 retrocompatibility)
22 * Fixed git clone of the gentoo-sources overlay under a temporary
23 directory (Fix)
24 * Fixed download directories (Fix)
25
26 --------------------------------------------------------------
27 day 27
28
29 `What was my plan for today?`
30
31 * testing and improving elivepatch
32
33 `What i did today?`
34
35 * Fixed git clone of the gentoo-sources overlay under a temporary directory
36 * Fixed download directories
37 * Tested elivepatch
38
39 `what i will do next time?`
40
41 * testing and improving elivepatch
42
43 --------------------------------------------------------------
44 day 26
45
46
47 `What was my plan for today?`
48
49 * testing and improving elivepatch
50
51 `What i did today?`
52
53 After discussion with mentor.
54 I need:
55 * Availability and replicability of downloading kernel sources. [needed]
56 * Represent same kernel sources as the client kernel source (use flags
57 for now and in the future user added patches) [needed]
58 * Support multiple request at the same time. [needed]
59 * Modularity for adding VM machine or container support. (in the future)
60
61 Create overlay for keeping old gentoo-sources ebuild where we will
62 keep retrocompatibility
63 for old kernels:
64 https://github.com/aliceinwire/gentoo-sources_overlay
65
66 Made function for download and get old kernel sources and install sources
67 under the designated temporary folder.
68
69
70 `what i will do next time?`
71
72 * Going on improving elivepatch
73
74 --------------------------------------------------------------
75 day 25
76
77 `What was my plan for today?`
78
79 * Cleaning code
80 * testing and improving elivepatch
81
82 `What i did today?`
83
84 As discussed with my mentor I worked on unifying the patch and
85 configuration file
86 RESTful api call.
87 And made function for standardize the subrocess commands.
88
89 meeting with mentor.
90
91 the problem on
92 https://github.com/dynup/kpatch/blob/master/kpatch-build/kpatch-build#L537
93 Need investigating
94
95 `what i will do next time?`
96
97 * testing it and improving elivepatch
98 * working on kpatch and investigating
99 https://github.com/dynup/kpatch/blob/master/kpatch-build/kpatch-build#L537
100
101 --------------------------------------------------------------
102 day 24
103
104
105 `What was my plan for today?`
106
107 * Cleaning code
108 * testing it
109 * Go on with programming and starting implementing the CVE
110
111 `What i did today?`
112
113 * Working with getting the linux kernel version from configuration
114 * file
115 * Working with parsing CVE repository
116
117 I could implement to get the linux kernel version from the
118 configuration file,
119 and I'm working on parsing the CVE repository.
120 Would also be a nice idea to work with the kpatch scripts for making
121 it Gentoo
122 compatible.
123 But I also got into one problem, that is we need to find a way to
124 download
125 old gentoo-sources ebuild for building old kernel,
126 where in the server there isn't the needed version of kernel sources.
127 This depend from how much back compatibility we want to give.
128 And with old gentoo-sources we cannot assure that is working.
129 Because old gentoo-sources was using different versions of gentoo
130 repository,
131 eclass.
132 So is a problem to discuss in the next days.
133
134 `what i will do next time?`
135
136 * work on the CVE repository
137 * testing it
138
139 --------------------------------------------------------------
140 day 23
141
142 `What was my plan for today?`
143
144 * Testing elivepatch
145 * Cleaning code
146
147 `What i did today?`
148
149 * commented some code part
150 * First draft of UserID working
151
152 elivepatch server will generate a UUID for a client connection,
153 and it will assign the UUID for each client.
154 The livepatch and configs files will be generated in differents
155 folders for each client request and returned using the UUID.
156 As now is just a draft but for how I could test it looks
157 working.
158
159 `what i will do next time?`
160 * Cleaning code
161 * testing it
162 * Go on with programming and starting implementing the CVE
163
164 --
165 Thanks,
166 Alice Ferrazzi
167
168 Gentoo Kernel Project Leader
169 Mail: Alice Ferrazzi <alicef@g.o>
170 PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A