Debian Codegraph @

Logfile

raw
1 http://neil.franklin.ch/Projects/dphys-swapfile/Logfile - done, to do
2 author Neil Franklin, last modification see last entry near bottom
3 copyright ETH Zuerich Physics Departement
4 use under either modified/non-advertising BSD or GPL license
5
6 background is the dphys2 project, read its Logfile at:
7 http://nic.phys.ethz.ch/projects/dphys2/Logfile
8 and its successor, the dphys3 project, read its Logfile at:
9 http://nic.phys.ethz.ch/projects/dphys3/Logfile
10 as part of that wrote this tool to auto-generate/us an swapfile
11 here only log of the events pertaining to making this tool
12
13 2003.01.09 Thu
14 dphys2 milestone 1 is reached, make archive copy to ../dphys2-20021218
15
16 2003.04.17 Thu
17 dphys2 milestone 2 is reached, make archive copy to ../dphys2-20030417
18
19 2003.08.04 Mon
20 dphys2 milestone 3 is reached, make archive copy to ../dphys2-20030804
21
22 2003.08.14 Thu
23 setup-dphys2, dbootstrap, INSTALL added option for no swap partition
24 only make option for partition/none, for file set to none and add later
25 so simply set ${CONF_SWAP_SIZE} to 0 or comment out its definition
26 also avoids trouble if user gives 0 and system tries to mkswap/use it
27 all mounting seems to be in /etc/rcS.d, check when swap need to be up
28 before S35mountall.sh the swap file needs be be ready
29 but also used in S10checkroot.sh, for while fsck, and that before writable
30
31 2003.08.15 Fri
32 make package dphys-swapfile to set up and later resize existing swap file
33 run between rcS.d 30 (fsck, /var ready) and 35 (mount, uses swapfile)
34 making 1G takes 25s and mkswap 5s, so not every time, just when resize
35 compute new size, compare with old, if diff remove and make new
36 if config file do that size, else 2*RAM, usually about 1G
37 looking at host berlin, only 1.9G free from 10G disk, is 1.8G apt cache
38 add an apt-get clean to dphys-admin, as unlikely to reinstall, have LAN
39 decided to auto-select 2*RAM, unless user config /etc/default/dpyhs-swapfile
40 also limit to max 2G kernel limit
41 script is an init.d, will start on reboot, also run once on pkg install
42 added --purge to drop swapfile from fstab, swapoff, rm
43 packaged version 20030815.175513-1, changelog:
44 "auto-generated release from versionless (=current) upstream"
45
46 2003.10.03 Fri
47 convert existing binary packages to using makesourcepackage
48 dsbg leave old hosts arizona,bludger,dudley (will be deleted later)
49 do as last with him site (he is actively working on it)
50 every package that is converted and on server, remove from CVS
51 do all other dphys-build/*/DEBIAN: admin, host-hagrid, ide-dma, reboot,
52 site-franklin-experimental, swapfile, user-info
53
54 2003.10.31 Fri
55 setup-dphys2 default swap off (for using use dphys-swap or similar)
56 dphys2-swap worked over dphys-swap, /etc/rcS.d script
57 S32 is too early, /var may not be mounted (only in S35), use S37
58 S37 after swapon in S35, so need own swapo[n|ff], no line in fstab, comment
59
60 2003.11.06 Thu
61 further with converting dphys-swap to dphys2-swap, make upstream Makefile
62 move over existing changelog (uncompressed and renamed) to start new one
63 move over existing conffiles, fix packagename in /e/i.d/<packagename>
64 extend makesourcepackage to insert conffiles into package
65 also more than just README upstream doc, improve commenting dh_* sections
66 also to conffiles and postinst|prerm add also preinst and postrm
67 also install init.d script from debian/init.d, not in upstream Makefile
68 postinst angepasst, kein swapon, da init.d start das schon macht
69 prerm macht eh nix, standard nehmen
70 postrm muss nicht mehr benutztes swapfile loeschen
71 kann nicht /e/i.d/d2-s purge benutzen weil das bereits geloescht ist
72
73 2003.11.07 Fri
74 dphys2-swap init.d makesourcepackage to modify/generate postinst and postrm
75 makesourcepackage rules file call to execute this section
76 dphys2-swap upload to package server, apt-get update and install, OK
77 stop and start, OK, remove and install, OK, purge and install, OK
78 packaged version 20031107.173603-1, changelog:
79 "ported to makesourcepackage, fixed runlevel"
80
81 2003.11.13 Thu
82 deleted old dphys-swapfile package from server, only in use on my home machines
83 index.html rename dphys-swap to dphys2-swap and link .tar|.dsc|.tar.gz files
84 doku remarks that PXE net boot is possible (user failled to notice it)
85 added remark that makepackage is deprecated, use makesourcepackage
86 dphys2 root disk option to autoinstall dphys2-swap package
87 setup-dphys2 option, makeroot copy into root image
88 dbootstrap copy into target system and install base-config script
89 dropped use of SWAP_TYPE variable, directly use CONF_SWAP_SIZE
90 base-config script install package using dpkg --install
91 for this endfirstrun SYS_BASECONF_DIR in setup-dphys2, for dbootstrap also
92 same with DEBUG_LEAVE_SCRIPTS, renamed to DEBUG_LEAVE_BC_SCRIPTS
93 enfirstrun eliminate last CONF_* variable, direct in code, simpler
94
95 2003.11.14 Fri
96 dphys2 autoinstall dphys2-swap package finished additions
97
98 2003.11.20 Thu
99 dphys2-swapfile fixed init.d script bug, missing output redirect to /dev/null
100 dphys2-swapfile added an example config file in /etc/default/dphys2-swapfile
101 extended makesourcepackage to install such an config if existant
102 testing noticed init.d start when already running gives swapon error
103 same on init.d stop if not still running, or on deconfig, correct this
104 changes to use variable names CONF_SWAPFILE and CONF_SWAPSIZE
105 CVS deleted old dphys-swapfile stuff, package also gone, and no use any more
106 setup-dphys2 option dphys2-swapfile tidy up code in dbootstrap
107 put entire part that works in /target in subshell ( chroot /target ... )
108 packaged version 20031120.124554-1, changelog:
109 "fixed init.d start output redirect bug"
110 packaged version 20031120.135304-1, changelog:
111 "added /etc/default example config file"
112 packaged version 20031120.142404-1, changelog:
113 "fixed init.d dual start|stop swapon|off error message"
114
115 2003.11.27 Thu
116 dphys2-swapfile still messes up output, with "Adding Swap: ... (priority -1)"
117 between the keeping it and , done. outputs from init.d script
118 test swapoff/swapon has no such output, but it appears on the console
119 is kernel -> klogd -> syslogd which is doing this, no option, leave it
120
121 2003.12.04 Thu
122 swapfile syslog output cannot be prevented, so finish our line before syslog
123 packaged version 20031204.141601-1, changelog:
124 "no makesourcepackage stuff in init.d, separate script"
125
126 2004.02.19 Thu
127 dphys2 release 4th milestone, copy to ../dphys2-20040219, make tar file of it
128
129 2004.05.14 Fri
130 convert dphys2-swapfile to new dh_* based makesourcepackage
131 updated Makefile preset variables, debian/control added Build debhelper
132 rm debian/conffiles (was auto-generated anyway)
133 mv default dphys2-swapfile.default, changed it to normal hand edited, not gen
134 mv init.d dphys2-swapfile.init, removed automatic modifications, hand edited
135 rm debian/postinst (will be generated), prerm (same)
136 postrm changed to include #DEBHELPER#, and only mod fstab and del swapfile
137 CONF_SWAPFILE as variable, even if set only here, not by /etc/default/*
138 renamed to debian/<packagename>.postrm, man dh_installdb incomprehensible
139 generated new style debian/rules file, so ready to package
140
141 2004.05.27 Thu
142 dphys2-swapfile heeb file should not be 644, can have root processes in it
143 added an chmod 600 to start), while at it uninstall) in init.d script
144 init.d script, default, postrm comments updated, made package and uploaded it
145 packaged version 20040527.143106-1, changelog:
146 "change to using dh_* based source package"
147
148 2004.05.28 Fri
149 dphys2-swapfile separate project, as only replacing swappartit, not installing
150 rename it into dphys-swapfile, no 2 as not part of dphys2 any more
151 made FAQ, INSTALL, (this) Logfile, Makefile add tar stuff, new own README
152 debian dir, rename files and names in them
153 index.html.en, linked from projects and startup page
154 make tar, generating standard .tar.gz file
155 packaged, (re-)generating .dsc, debianised .tar.gz and .deb files
156 no new makesourcepackage -l yet, as release most likely next week
157 index.html.en link to also to the package stuff, still old number
158 dito also in FAQ and INSTALL remarks which is newest package version
159
160 2004.06.03 Thu
161 renaming makes this package replace old name package
162 heeb policy discussion, no Conflicts:/Provides:/Replaces: in control
163 simply - dphys2-swapfile + dphys-swapfile in main-pkglist
164 worst case if no swapoff possible 2nd nameless swap remains until reboot
165 init script added full paths to all programs, so path/pwd independant
166 split init script, most in main dir (/sbin/), only call in debian (/etc/init.d)
167 updated Makefile to package it, and index.html.en to show this
168 also Makefile code to install it, independant from Debian part
169 delete swapfile moved from postrm to prerm, when script and config still exists
170 so it can use /sbin script (with uninstall), and config stuff used by that
171 user who removes and reinstalls package will have to regenerate swapfile
172 config as such is not lost, and that is then auto-deleted when purge
173
174 2004.06.04 Fri
175 wrote man page for /sbin Script, added to Makefile
176 in swapon and uninstall added test for file, in swapon error if not present
177 improved docs with better description of reason for own swapon/off
178 added makesourcepackage -l with descriptions, change all references
179 CVS remove dphys-admin, commit, update, this time it really is gone
180 packaged version 20040604.142815-1, changelog:
181 "separate project, renamed, separate action/init, delete in prerm"
182
183 2004.06.11 Fri
184 bug in config file reading, fixed
185 packaged version 20040611.145856-1, changelog:
186 "fixed config file reading bug"
187
188 2004.07.21 Wed
189 index.html.en added man page
190
191 2004.07.29 Thu
192 improved docs, INSTALL show what steps need to be done, i.e. are important
193 created debian/dphys-swapfile.docs, with README, FAQ, index.html.en
194 release 5th milestone, copy to ../dphys-swapfile-20040729, make tar file of it
195 modifed index.html and FAQ and INSTALL to show the milestone release
196 redo ../dphys-swapfile.tar.gz tar archive of current state
197 packaged version 20040729.164251-1, changelog:
198 "added docs, new upstream milestone"
199
200 2004.08.27 Fri
201 man pages expand explanation, added examples of use section
202 showing typical usage, including an minimal example init.d script
203 change copyright remarks to mention modified/non-advertising BSD
204 packaged version 20040827.135743-1, changelog:
205 "expanded man page"
206
207 2005.04.21 Thu
208 checked up that this package has no woody dependencies, will run under sarge
209 not really surprising, as it also runs OK on my personal slackware systems
210 as no needed changes, leave the slight problem with /etc/default unchanged
211 imported this package into local sarge package server
212
213 2006.08.11 Fri
214 added all "packaged version ????????.??????-?, changelog:" lines
215
216 2006.09.15 Fri
217 get ready for publication as an official Debian Linux ?.? (etch) package
218 all actions here analog to everything done in dphys-config
219 reworked and updated documentation, FAQ, INSTALL, README, index.html.en
220 senguen wanst to make own debian/* as lintian complains about native package
221 looked into any information lost if deleting debian/* to avoid collision
222 debian/changelog is all info duplicated in this Logfile, deleted it
223 debian/control is just docu text, add to other docs, README and index.html.en
224 debian/copyright is nearly same as in README, updated that
225 debian/dphys-swapfile.default moved to dphys-swapfile.example
226 changed code and man page to reflect no /etc/default/* any more
227 will also install into /usr/share/doc/examples and not /etc/default
228 was already on "todo" since 2005.04.21 entry up above
229 debian/dphys-swapfile.docs is nothing, deleted it
230 debian/dphys-swapfile.init is simple example, move to main dir
231 add to Makefile installation into examples directory
232 debian/dphys-swapfile.prerm notified senguen what he needs to do, deleted it
233 debian/rules has nothing specific, deleted it
234 as only producing an "upstream" and senguen doing "maintainer" version
235 remove FAQ and INSTALL and index.html.en references to my old packages
236 bug source check possibility of cut -f 2- or similar where no delimitors
237 bug source check echo "${blah}" against possible * or similar ${blah} data
238 better bug discovery addition set -e
239 changed code to read in config file only once, no after computation overwrite
240 released 6th (and 2nd feature completed, just repackaged and fixes) milestone
241 modified index.html and FAQ and INSTALL to show the milestone release
242 no Debian packaging any more, senguen does this now, no changelog entry
243 copy to ../dphys-swapfile-20060915, made tar file of that
244 remade ../dphys-swapfile.tar.gz archive for current state
245
246 2006.10.13 Fri
247 do all changes done since then to dphys-config, get up to same code standard
248 PATH= revised, removed absolute paths in commands
249 no /usr/local stuff, as no FreeBSD port intended, too Linux specific
250 Makefile dphys-swapfile init.d.example
251 check possibly problematic code features
252 echo -e replaced by normal echo, no \? in it anyway
253 no ./<commandname> config script called, cut -f only 1 harmless one
254 "" quoting updated in dphys-swapfile init.d.example
255 no ~ used anywhere, as is not user software
256 no shell functions, so no keyword function to remove
257 remade ../dphys-swapfile.tar.gz archive
258
259 2006.10.20 Fri
260 analog to dphys-config also run automatic quoting check
261 added all missing, even in places where it can never fail, so check quiet
262 remade ../dphys-swapfile.tar.gz archive
263 after all bugfixes and changes new release
264 updated FAQ, INSTALL, README, index.html.en
265 copy to ../dphys-swapfile-20061020, made tar file of that
266 remade ../dphys-swapfile.tar.gz archive for current state
267
268 2006.12.22 Fri
269 as part of taking this over als personal project, after leaving job
270 moved everything from www.phys.ethz.ch/~franklin to neil.franklin.ch website
271 changes all URLs to refer to new home, expanded links to other projects
272 we decided that I will keep on maintaining this project (and dphys-config)
273 as I also use these 2 projects at home on my own non-Debian systems
274
275 2010.05.04 Wed
276 bugfixes for reported bug by the new Debian maintainer Axel Beckert
277 this was not prevented because of the old maintainers unreported patch
278 which apparently was changed to have no 2048M limit any more
279 request to make SWAPFACTOR and MAXSWAP into user CONF_* variables
280 and user switchable fixed size CONF_SWAPSIZE or above computed size
281 newer 2.6.32 AMD64 kernels report senselessly large 128T /proc/kcore sizes
282 dphys-swapfile tries to genrate 2*kcore File, fills /var or / Partition
283 also noticed 2 spelling mistakes in comments and man page
284
285 2010.05.05 Thu
286 renamed SWAPFACTOR and MAXSWAP to CONF_*, modified/improved comments there
287 while at it also allow CONF_MAXSWAP to be undefined, for limitless
288 this is apparently what the old maintainer wanted to achieve
289 updated man page with the new CONF_* stuff, and improved descriptions
290 updated dphys-swapfile.example for /etc/dphys-swapfile to fit program CONF_*
291 change now kernelupgrade-broken old size estimation, use /proc/meminfo
292 fix a few typos, overwride -> override (or was that intended as overwrite?)
293 dphys-config uses override, so use that here also for consistency
294 allready -> already, overwriding -> overriding, man neccessary -> necessary
295 also a bit of general code tidy up, newer structures from dphys-config
296 remade ../dphys-swapfile.tar.gz archive for current state
297 mail to Axel Beckert for his packaging and site testing
298 mail answer from Axel Beckert about only integral swap factor problem
299 switch to using dc instead of expr, as in all my other private scripts
300 allows CONF_SWAPFACTOR to also hab non integral values, such as 1.5
301 report that Debian kFreeBSD predictably fails, on swapon -s
302 while investigation noticed /etc/fstab comment no linebreaks, fixed it
303
304
305 ------ project status
306
307 doing:
308
309 todo:
310
311 possible extensions: