| 1 |
|
| 2 |
No longer update Changelog, add more useful info in the git log, please. |
| 3 |
|
| 4 |
|
| 5 |
2008-01-26 Junichi Uekawa <[email protected]> |
| 6 |
|
| 7 |
* cowdancer-ilistdump.c (main): update for test. |
| 8 |
|
| 9 |
* cowdancer.c (verify_ilist_header, load_ilist): |
| 10 |
* ilist.h (ILISTSIG): |
| 11 |
* ilistcreate.c (ilistcreate): add header and signature checking. |
| 12 |
|
| 13 |
2008-01-10 Junichi Uekawa <[email protected]> |
| 14 |
|
| 15 |
* parameter.c (parse_parameter): add error checking. |
| 16 |
|
| 17 |
2007-12-04 Junichi Uekawa <[email protected]> |
| 18 |
|
| 19 |
* tests/900_test_pbuilder.sh: use debootstrap instead of |
| 20 |
cdebootstrap, which is currently broken. |
| 21 |
|
| 22 |
2007-12-03 Junichi Uekawa <[email protected]> |
| 23 |
|
| 24 |
* cow-shell.1: add a comment on ENOMEM |
| 25 |
|
| 26 |
2007-11-02 Junichi Uekawa <[email protected]> |
| 27 |
|
| 28 |
* cowbuilder.c (cpbuilder_build): write to "/.ilist" inside chroot, not |
| 29 |
ilistpath. |
| 30 |
|
| 31 |
2007-10-28 Junichi Uekawa <[email protected]> |
| 32 |
|
| 33 |
* parameter.c (parse_parameter): fix parameter passing for --debbuildopts. |
| 34 |
|
| 35 |
2007-10-25 Junichi Uekawa <[email protected]> |
| 36 |
|
| 37 |
* qemubuilder.c (cpbuilder_build): support debbuildopts |
| 38 |
* parameter.c (parse_parameter, load_config_file): |
| 39 |
* parameter.h: support debbuildopts |
| 40 |
|
| 41 |
* qemubuilder.c: add support for --components in qemubuilder. |
| 42 |
* parameter.c (parse_parameter): add --components option. |
| 43 |
(load_config_file): support COMPONENTS option |
| 44 |
|
| 45 |
2007-10-15 Junichi Uekawa <[email protected]> |
| 46 |
|
| 47 |
* debian/qemubuilder.files: install bash-completion file to qemubuilder |
| 48 |
|
| 49 |
* Makefile: install bash_completion. |
| 50 |
|
| 51 |
* bash_completion.qemubuilder: create (a start of) qemubuilder bash completion script. |
| 52 |
|
| 53 |
* bash_completion.cowbuilder: add cowbuilder bash completion script. |
| 54 |
|
| 55 |
2007-09-10 Junichi Uekawa <[email protected]> |
| 56 |
|
| 57 |
* cowbuilder.c (main): specify cowdancer-reuse |
| 58 |
(cpbuilder_internal_cowcopy): remove .ilist file here. |
| 59 |
(get_ilistfile_path, cpbuilder_internal_cowcopy) |
| 60 |
(cpbuilder_build): consolidate common code to get_ilistfile_path. |
| 61 |
|
| 62 |
* qemubuilder.c (run_second_stage_script): set date / time inside |
| 63 |
chroot with date command; it will be different by a few seconds. |
| 64 |
|
| 65 |
2007-09-07 Junichi Uekawa <[email protected]> |
| 66 |
|
| 67 |
* cow-shell.c: fix case where .ilist didn't exist before. |
| 68 |
|
| 69 |
* qemubuilder.c: fix typo from "Jean-Baptiste Note" |
| 70 |
<[email protected]> |
| 71 |
(run_second_stage_script): get network device name with ifconfig |
| 72 |
and grep. Can I assume 'ethX' here? |
| 73 |
|
| 74 |
2007-09-06 Junichi Uekawa <[email protected]> |
| 75 |
|
| 76 |
* qemubuilder.c (fork_qemu): change 'termination signal' to |
| 77 |
'termination message' so that it's not confusing. |
| 78 |
|
| 79 |
2007-09-04 Junichi Uekawa <[email protected]> |
| 80 |
|
| 81 |
* cow-shell.c: delete .ilist file if reuse flag is not set. |
| 82 |
|
| 83 |
* cowbuilder.c (cpbuilder_create): add cleanup code. |
| 84 |
|
| 85 |
* qemubuilder.c: cosmetic fixes. |
| 86 |
|
| 87 |
2007-09-03 Junichi Uekawa <[email protected]> |
| 88 |
|
| 89 |
* qemubuilder.c (create_ext3_block_device): use mke2fs -F instead |
| 90 |
of yes|mke2fs |
| 91 |
(fork_qemu): do not handle fd '0', so that tty control can be |
| 92 |
done. |
| 93 |
(fix_terminal): fix termios after exit from qemu, at least put |
| 94 |
echo on. |
| 95 |
(fork_qemu): Handle exit-codes. |
| 96 |
|
| 97 |
2007-09-01 Junichi Uekawa <[email protected]> |
| 98 |
|
| 99 |
* Makefile (check-syntax): add check-syntax target for flymake mode. |
| 100 |
Remove redundant #include statements. |
| 101 |
|
| 102 |
* cowbuilder.c: run cowdancer-ilistcreate within chroot if it |
| 103 |
exists. |
| 104 |
|
| 105 |
* parameter.c: |
| 106 |
* forkexec.c: move fork/exec code from parameter.c |
| 107 |
|
| 108 |
* tests/014_ilistdump_test.sh: rewrite testsuite to use the generic dumping code. |
| 109 |
* Makefile: install dumping code. |
| 110 |
* cowdancer-ilistdump.1: document |
| 111 |
* cowdancer-ilistdump.c: create dumping code, from testsuite data. |
| 112 |
|
| 113 |
2007-08-31 Junichi Uekawa <[email protected]> |
| 114 |
|
| 115 |
* cow-shell.1: add reference to cowdancer-ilistcreate |
| 116 |
* cowdancer-ilistcreate.1: document. |
| 117 |
* Makefile (install): install ilistcreate. |
| 118 |
* cowdancer-ilistcreate.c: create new command. |
| 119 |
|
| 120 |
2007-08-29 Junichi Uekawa <[email protected]> |
| 121 |
|
| 122 |
* qemubuilder.c (cpbuilder_create): add aptitude into chroot. |
| 123 |
|
| 124 |
2007-08-21 Junichi Uekawa <[email protected]> |
| 125 |
|
| 126 |
* parameter.c: config file parsing improved by patch from Jan-Marek Glogowski |
| 127 |
|
| 128 |
2007-06-27 Junichi Uekawa <[email protected]> |
| 129 |
|
| 130 |
* cowdancer.c (initialize_functions): work around glibc bug: dlvsym failure |
| 131 |
isn't setting dlerror. |
| 132 |
(load_ilist): close fd used for mmap after use. |
| 133 |
|
| 134 |
2007-06-21 Junichi Uekawa <[email protected]> |
| 135 |
|
| 136 |
* cowdancer.c (initialize_functions): try to load chown@@GLIBC_2.1 |
| 137 |
if it exists. |
| 138 |
It is translated to lchown on i386, if I try to load the unversioned symbol. |
| 139 |
|
| 140 |
2007-06-19 Junichi Uekawa <[email protected]> |
| 141 |
|
| 142 |
* parameter.c (load_config_file): support BUILDPLACE |
| 143 |
configuration. |
| 144 |
(parse_parameter): make it an error that BUILDPLACE is not |
| 145 |
set. Default is set in pbuilderrc. |
| 146 |
(parse_parameter): process --distribution command-line option |
| 147 |
properly. |
| 148 |
|
| 149 |
* qemubuilder.8: |
| 150 |
* cowbuilder.8: update documentation for dumpconfig. |
| 151 |
|
| 152 |
* qemubuilder.c (cpbuilder_help): |
| 153 |
* cowbuilder.c (cpbuilder_help): |
| 154 |
* parameter.c (parse_parameter): add dumpconfig command. |
| 155 |
|
| 156 |
2007-06-17 Junichi Uekawa <[email protected]> |
| 157 |
|
| 158 |
* cowbuilder.8: add examples |
| 159 |
|
| 160 |
* qemubuilder.c (qemu_arch_qemu): change x86_64/i386 logic. |
| 161 |
|
| 162 |
2007-06-09 Junichi Uekawa <[email protected]> |
| 163 |
|
| 164 |
* tests/014_ilistdump_test.sh: change deprecated sort +2 to -k 2 |
| 165 |
|
| 166 |
* tests/014_ilistdump_test.c: fix testsuite |
| 167 |
|
| 168 |
* Makefile: fix rules to include ilistcreate. |
| 169 |
|
| 170 |
* cowbuilder.c: ignore ./home |
| 171 |
|
| 172 |
* cow-shell.c: |
| 173 |
* ilistcreate.c (ilistcreate): move function, and reorganize code. |
| 174 |
|
| 175 |
2007-06-06 Junichi Uekawa <[email protected]> |
| 176 |
|
| 177 |
* qemubuilder.c: clean up code and generally initialize variables. |
| 178 |
|
| 179 |
* Makefile (install): qemubuilder installed to sbin, since it |
| 180 |
needs root privilege |
| 181 |
|
| 182 |
* qemubuilder.c (copy_dscfile): support signed .dsc file. |
| 183 |
|
| 184 |
* parameter.h: |
| 185 |
* parameter.c: new files, moved common code from cowbuilder/qemubuilder |
| 186 |
|
| 187 |
2007-06-05 Junichi Uekawa <[email protected]> |
| 188 |
|
| 189 |
* cowbuilder.c (load_config_file): |
| 190 |
* qemubuilder.c (load_config_file): set -e in sourcing configuration file. |
| 191 |
|
| 192 |
2007-06-04 Junichi Uekawa <[email protected]> |
| 193 |
|
| 194 |
* tests/902_test_cowbuilder_fail.sh, etc.: skip when ran inside |
| 195 |
cowbuilder. |
| 196 |
|
| 197 |
* qemubuilder.1: document ARCH= option, and |
| 198 |
add a sample pbuidlerrc |
| 199 |
|
| 200 |
2007-05-28 Junichi Uekawa <[email protected]> |
| 201 |
|
| 202 |
* qemubuilder.1: document buildresult. |
| 203 |
* cowbuilder.8: |
| 204 |
|
| 205 |
* cowbuilder.c: support buildresult |
| 206 |
|
| 207 |
* qemubuilder.c: support buildresult |
| 208 |
|
| 209 |
2007-05-27 Junichi Uekawa <[email protected]> |
| 210 |
|
| 211 |
* qemubuilder.c: sync twice before shutdown. |
| 212 |
|
| 213 |
* qemubuilder.1: create from cowbuilder doc. |
| 214 |
|
| 215 |
* cowbuilder.8: fix doc |
| 216 |
|
| 217 |
* qemubuilder.c: support INITRD config option. |
| 218 |
|
| 219 |
* Makefile (install): add install target for qemubuilder. |
| 220 |
|
| 221 |
2007-04-18 Junichi Uekawa <[email protected]> |
| 222 |
|
| 223 |
* Makefile: do not install qemubuilder for now. |
| 224 |
|
| 225 |
* qemubuilder.c (qemubuilder_create): fix deb source line. |
| 226 |
(qemu_arch_qemu): return kvm only when kvm is available. |
| 227 |
make this work with x86_64 host x86_64 target. |
| 228 |
|
| 229 |
2007-04-05 Junichi Uekawa <[email protected]> |
| 230 |
|
| 231 |
* qemubuilder.c: initial import to cowdancer repository. rename |
| 232 |
functions to 'qemubuilder_'. |
| 233 |
(qemubuilder_create): add mirror place to call to 'debootstrap |
| 234 |
--second-stage'. |
| 235 |
|
| 236 |
2007-03-08 Junichi Uekawa <[email protected]> |
| 237 |
|
| 238 |
* cowdancer.c(ctor): add constructor |
| 239 |
|
| 240 |
* tests/021_test_open.c (main): C source for testing it. |
| 241 |
(main): add check that initial open is the problem. |
| 242 |
|
| 243 |
* tests/021_test_open.sh (TESTCODE): create test for close(0);open(XXX,XXXX)=0; |
| 244 |
|
| 245 |
2007-03-04 Junichi Uekawa <[email protected]> |
| 246 |
|
| 247 |
* cow-shell.c (main): remove use of /usr/lib and use value of |
| 248 |
LIBDIR |
| 249 |
|
| 250 |
* cowdancer.spec: create specfile |
| 251 |
|
| 252 |
* Makefile (install): fix makefile |
| 253 |
|
| 254 |
2006-12-31 Junichi Uekawa <[email protected]> |
| 255 |
|
| 256 |
* Makefile (%.o): do not use strict aliasing for compiling |
| 257 |
cow-shell.c |
| 258 |
|
| 259 |
* cow-shell.c (ilistcreate): add debug hook. |
| 260 |
|
| 261 |
* tests/020_test_lchown.sh: add new test. |
| 262 |
|
| 263 |
* cow-shell.c (ilistcreate): include symbollic links to the list. |
| 264 |
|
| 265 |
* cowdancer.c (check_inode_and_copy, and others): do not |
| 266 |
canonicalize file name for lchown case. Add a new flag and change |
| 267 |
every function to use it. |
| 268 |
|
| 269 |
2006-12-21 Junichi Uekawa <[email protected]> |
| 270 |
|
| 271 |
* tests/900_test_pbuilder.sh: do not call pdebuild through sudo. |
| 272 |
|
| 273 |
2006-10-29 Junichi Uekawa <[email protected]> |
| 274 |
|
| 275 |
* tests/902_test_cowbuilder_fail.sh: use workaround hooks. |
| 276 |
|
| 277 |
* tests/901_test_pbuilder_create.sh: use workaround hooks. |
| 278 |
|
| 279 |
* tests/900_test_pbuilder.sh: use workaround hooks. |
| 280 |
|
| 281 |
2006-08-31 Junichi Uekawa <[email protected]> |
| 282 |
|
| 283 |
* cowbuilder.c (cpbuilder_update): fix to use command-line options. |
| 284 |
|
| 285 |
2006-08-26 Junichi Uekawa <[email protected]> |
| 286 |
|
| 287 |
* cowdancer.c: copyright update |
| 288 |
|
| 289 |
* debian/README.Debian: update |
| 290 |
|
| 291 |
* cowbuilder.8: add see-also. |
| 292 |
|
| 293 |
* cowbuilder.c (cpbuilder_help): add comment of other pbuilder options. |
| 294 |
|
| 295 |
* cowbuilder.8: fix up documentation to explain other options are |
| 296 |
passed through. |
| 297 |
|
| 298 |
* cowbuilder.c (main): fix up parameter handling |
| 299 |
|
| 300 |
2006-08-20 Junichi Uekawa <[email protected]> |
| 301 |
|
| 302 |
* cowbuilder.c (cpbuilder_build, cpbuilder_login) |
| 303 |
(cpbuilder_execute, cpbuilder_update): abort and do not clean up |
| 304 |
if return code is wrong. |
| 305 |
|
| 306 |
2006-07-26 Junichi Uekawa <[email protected]> |
| 307 |
|
| 308 |
* cowbuilder.c (cpbuilder_update): do not remove base.cow if |
| 309 |
update failed. |
| 310 |
|
| 311 |
2006-06-24 Junichi Uekawa <[email protected]> |
| 312 |
|
| 313 |
* cowbuilder.c (main): s/basepath/buildplace/ for -B. |
| 314 |
|
| 315 |
2006-06-21 Junichi Uekawa <[email protected]> |
| 316 |
|
| 317 |
* cowbuilder.c (cpbuilder_build): support COWDANCER_REUSE option |
| 318 |
in build target. pbuilder-satisfydepends seems faster now. 50 |
| 319 |
seconds -> 33 seconds to build pbuilder inside chroot. |
| 320 |
|
| 321 |
* tests/902_test_cowbuilder_fail.sh: fix thinko. |
| 322 |
|
| 323 |
* cow-shell.1: document. |
| 324 |
|
| 325 |
* cow-shell.c (main): COWDANCER_REUSE option; it is definitely |
| 326 |
faster. |
| 327 |
|
| 328 |
[08:23:25]dancer64:linux-2.6> time echo exit| cow-shell |
| 329 |
Invoking /bin/bash |
| 330 |
|
| 331 |
real 0m0.323s |
| 332 |
user 0m0.059s |
| 333 |
sys 0m0.256s |
| 334 |
[08:23:25]dancer64:linux-2.6> time echo exit| COWDANCER_REUSE=yes cow-shell |
| 335 |
Invoking /bin/bash |
| 336 |
|
| 337 |
real 0m0.006s |
| 338 |
user 0m0.004s |
| 339 |
sys 0m0.002s |
| 340 |
|
| 341 |
2006-06-15 Junichi Uekawa <[email protected]> |
| 342 |
|
| 343 |
* tests/901_test_pbuilder_create.sh: check for failure states in test. |
| 344 |
|
| 345 |
* tests/902_test_cowbuilder_fail.sh: check that exit code is |
| 346 |
processed properly; it seems like it isn't in some cases? |
| 347 |
|
| 348 |
* tests/010_test_noilistfile.sh: variable was wrong, it should be |
| 349 |
COWDANCER_ILISTFILE |
| 350 |
|
| 351 |
* cowbuilder.c (main): mkdir with 0777, not 777. |
| 352 |
|
| 353 |
2006-06-11 Junichi Uekawa <[email protected]> |
| 354 |
|
| 355 |
* cow-shell.c (ilistcreate): use find -links +1. |
| 356 |
(ilistcreate): fix the -type f location, it needs to be before |
| 357 |
-print0 |
| 358 |
(ilistcreate): error out with a message when there is no |
| 359 |
hardlinked file. |
| 360 |
|
| 361 |
[14:32:00]dancer64:test> touch 1 2-1 3-1 4-1 |
| 362 |
[14:32:07]dancer64:test> ln 2-1 2-2 |
| 363 |
[14:32:10]dancer64:test> ln 3-1 3-2 |
| 364 |
[14:32:13]dancer64:test> ln 3-1 3-3 |
| 365 |
[14:32:14]dancer64:test> ln 4-1 4-2 |
| 366 |
[14:32:18]dancer64:test> ln 4-1 4-3 |
| 367 |
[14:32:19]dancer64:test> ln 4-1 4-4 |
| 368 |
[14:32:20]dancer64:test> ls -li |
| 369 |
242255 -rw-r--r-- 1 dancer dancer 0 2006-06-11 14:32 1 |
| 370 |
242258 -rw-r--r-- 2 dancer dancer 0 2006-06-11 14:32 2-1 |
| 371 |
242258 -rw-r--r-- 2 dancer dancer 0 2006-06-11 14:32 2-2 |
| 372 |
242262 -rw-r--r-- 3 dancer dancer 0 2006-06-11 14:32 3-1 |
| 373 |
242262 -rw-r--r-- 3 dancer dancer 0 2006-06-11 14:32 3-2 |
| 374 |
242262 -rw-r--r-- 3 dancer dancer 0 2006-06-11 14:32 3-3 |
| 375 |
242263 -rw-r--r-- 4 dancer dancer 0 2006-06-11 14:32 4-1 |
| 376 |
242263 -rw-r--r-- 4 dancer dancer 0 2006-06-11 14:32 4-2 |
| 377 |
242263 -rw-r--r-- 4 dancer dancer 0 2006-06-11 14:32 4-3 |
| 378 |
242263 -rw-r--r-- 4 dancer dancer 0 2006-06-11 14:32 4-4 |
| 379 |
[14:32:22]dancer64:test> find -links +2 |
| 380 |
./3-1 |
| 381 |
./4-1 |
| 382 |
./3-2 |
| 383 |
./3-3 |
| 384 |
./4-2 |
| 385 |
./4-3 |
| 386 |
./4-4 |
| 387 |
[14:32:31]dancer64:test> find -links +1 |
| 388 |
. |
| 389 |
./2-1 |
| 390 |
./3-1 |
| 391 |
./4-1 |
| 392 |
./2-2 |
| 393 |
./3-2 |
| 394 |
./3-3 |
| 395 |
./4-2 |
| 396 |
./4-3 |
| 397 |
./4-4 |
| 398 |
[14:32:34]dancer64:test> find -links +3 |
| 399 |
./4-1 |
| 400 |
./4-2 |
| 401 |
./4-3 |
| 402 |
./4-4 |
| 403 |
|
| 404 |
|
| 405 |
* cowdancer.c (check_inode_and_copy): test for regular files |
| 406 |
before investing too much. |
| 407 |
(check_inode_and_copy): check that st_nlink > 1, otherwise, it's |
| 408 |
not hardlinked at all. |
| 409 |
|
| 410 |
* tests/901_test_pbuilder_create.sh: fix test script to work around problem with debootstrap not supporting --debug |
| 411 |
|
| 412 |
2006-06-06 Junichi Uekawa <[email protected]> |
| 413 |
|
| 414 |
* tests/900_test_pbuilder.sh: add debug option |
| 415 |
|
| 416 |
* tests/901_test_pbuilder_create.sh: add a test for bootstrapping each distribution. |
| 417 |
|
| 418 |
2006-05-29 Junichi Uekawa <[email protected]> |
| 419 |
|
| 420 |
* tests/014_ilistdump_test.sh: sort both |
| 421 |
|
| 422 |
* tests/900_test_pbuilder.sh: use cowbuilder to test instead of |
| 423 |
hand-assembled stuff. |
| 424 |
|
| 425 |
* cowbuilder.c (cpbuilder_login): handle error |
| 426 |
(cpbuilder_execute, cpbuilder_update): handle error |
| 427 |
(main): create /var/cache/pbuilder/build/ directory if it doesn't |
| 428 |
already exist. |
| 429 |
(main): support --distribution option. |
| 430 |
(main): support --buildplace option. |
| 431 |
|
| 432 |
* cowbuilder.8: --basepath, not --basetgz. |
| 433 |
|
| 434 |
2006-05-27 Junichi Uekawa <[email protected]> |
| 435 |
|
| 436 |
* cowbuilder.c (main): help iplementation. |
| 437 |
(pbuilder_help): help message. |
| 438 |
(main): |
| 439 |
|
| 440 |
2006-05-26 Junichi Uekawa <[email protected]> |
| 441 |
|
| 442 |
* debian/control: update description. |
| 443 |
|
| 444 |
2006-05-24 Junichi Uekawa <[email protected]> |
| 445 |
|
| 446 |
* debian/TODO: update, note .ilist handling is a problem I have |
| 447 |
pondered and not reached any conclusions. I need to measure some |
| 448 |
timings and other stuff. |
| 449 |
|
| 450 |
* debian/changelog: fixed entry. |
| 451 |
|
| 452 |
* NEWS: added entry. |
| 453 |
|
| 454 |
* cowbuilder.c (main): implement save-after-login |
| 455 |
(cpbuilder_login, cpbuilder_execute) |
| 456 |
(cpbuilder_internal_saveupdate, cpbuilder_update): unify the |
| 457 |
replace-original routine. |
| 458 |
|
| 459 |
* debian/TODO: document more TODO items until cowbuilder becomes really usable. |
| 460 |
|
| 461 |
* cowbuilder.c: change default basepath and buildplace. basepath |
| 462 |
is in /var/cache/pbuilder/base.cow, and buildplace is in |
| 463 |
/var/cache/pbuilder/build. |
| 464 |
(cpbuilder_execute): effects of pbuilder --execute with -- seems sane. |
| 465 |
pbuilder documentation is updated with this insight. |
| 466 |
|
| 467 |
$ sudo pbuilder execute -- /bin/echo --world |
| 468 |
W: /home/dancer/.pbuilderrc does not exist |
| 469 |
Building the build Environment |
| 470 |
-> extracting base tarball [/var/cache/pbuilder/base.tgz] |
| 471 |
|
| 472 |
$ sudo ./cowbuilder.c --execute hello --world |
| 473 |
./cowbuilder.c: unrecognized option `--world' |
| 474 |
Unhandled option |
| 475 |
|
| 476 |
[08:51:22]ibookg4:cowdancer> time sudo ./cowbuilder.c --execute -- /bin/echo hello --world |
| 477 |
-> Copying COW directory |
| 478 |
-> Invoking pbuilder |
| 479 |
DEBUG: 0: pbuilder |
| 480 |
DEBUG: 1: execute |
| 481 |
DEBUG: 2: --buildplace |
| 482 |
DEBUG: 3: /var/cache/pbuilder/build/cow9150 |
| 483 |
DEBUG: 4: --no-targz |
| 484 |
DEBUG: 5: --internal-chrootexec |
| 485 |
DEBUG: 6: chroot /var/cache/pbuilder/build/cow9150 cow-shell |
| 486 |
DEBUG: 7: /bin/echo |
| 487 |
DEBUG: 8: hello |
| 488 |
DEBUG: 9: --world |
| 489 |
W: /home/dancer/.pbuilderrc does not exist |
| 490 |
-> Running in no-targz mode |
| 491 |
-> copying local configuration |
| 492 |
-> mounting /proc filesystem |
| 493 |
ln: creating symbolic link `/var/cache/pbuilder/build/cow9150/etc/mtab' to `../proc/mounts': File exists |
| 494 |
-> mounting /dev/pts filesystem |
| 495 |
-> policy-rc.d already exists |
| 496 |
Obtaining the cached apt archive contents |
| 497 |
hello --world |
| 498 |
Copying back the cached apt archive contents |
| 499 |
-> unmounting dev/pts filesystem |
| 500 |
-> unmounting proc filesystem |
| 501 |
-> Cleaning COW directory |
| 502 |
|
| 503 |
real 0m5.646s |
| 504 |
user 0m2.165s |
| 505 |
sys 0m2.290s |
| 506 |
|
| 507 |
|
| 508 |
* debian/README.Debian (BUGS): update |
| 509 |
|
| 510 |
* Makefile (install): install manual and install cowbuilder in sbin. |
| 511 |
|
| 512 |
* cowbuilder.8: rough manual |
| 513 |
|
| 514 |
* cowbuilder.c: introduce generic argument passing mechanism, and |
| 515 |
support all reasonable options pbuilder currently supports. |
| 516 |
|
| 517 |
2006-05-22 Junichi Uekawa <[email protected]> |
| 518 |
|
| 519 |
* debian/TODO: update |
| 520 |
|
| 521 |
2006-05-21 Junichi Uekawa <[email protected]> |
| 522 |
|
| 523 |
* Makefile: install cowbuilder |
| 524 |
|
| 525 |
* cowbuilder.c: add cowbuilder code. |
| 526 |
|
| 527 |
2006-04-29 Junichi Uekawa <[email protected]> |
| 528 |
|
| 529 |
* cow-shell.c (ilistcreate, main): instead of hard-coding |
| 530 |
".ilist", use ilistpath variable to specify the ilist location. |
| 531 |
|
| 532 |
2006-03-05 Junichi Uekawa <[email protected]> |
| 533 |
|
| 534 |
* cowdancer.c (check_inode_and_copy): make 'canonical' be always |
| 535 |
defined rather than conditionally using 's' |
| 536 |
|
| 537 |
* tests/019_test_filename_with_space.sh: test quote character also. |
| 538 |
|
| 539 |
* cowdancer.c (check_inode_and_copy): rewrite with exec. |
| 540 |
|
| 541 |
* tests/019_test_filename_with_space.sh: add test for filename with a space. |
| 542 |
|
| 543 |
* cowdancer.c (check_inode_and_copy): support filename with a |
| 544 |
space. Doesn't support filename with a "'" character, but that'll |
| 545 |
need to be handled in a completely different way. |
| 546 |
|
| 547 |
2006-01-25 Junichi Uekawa <[email protected]> |
| 548 |
|
| 549 |
* NEWS: update for 0.11 |
| 550 |
|
| 551 |
* cow-shell.1: update manual. It does cross device boundaries. |
| 552 |
Note that -I or -i option should be used on debuild. |
| 553 |
Note that hardlinks are broken all the time. |
| 554 |
|
| 555 |
* cowdancer.c (check_inode_and_copy): return int. |
| 556 |
(open): set errno=ENOMEM |
| 557 |
(fchmod,...): check for error condition returned from check_inode_and_copy |
| 558 |
|
| 559 |
2006-01-14 Junichi Uekawa <[email protected]> |
| 560 |
|
| 561 |
* cowdancer.c (initialize_functions): use mkstemp to create a temp |
| 562 |
file. |
| 563 |
(check_inode_and_copy): thinko. fix ~~ handling. |
| 564 |
|
| 565 |
* tests/017_tempfilecheck.sh: fix temp file handling. |
| 566 |
|
| 567 |
* tests/015_test_ilistdelete.c: update to be a pthread-based test. |
| 568 |
|
| 569 |
* tests/018_testcxx.cc (main): test for C++ code. |
| 570 |
|
| 571 |
* tests/018_testcxx.sh: add test for C++ code |
| 572 |
|
| 573 |
* debian/changelog: 0.10 preparation. |
| 574 |
|
| 575 |
* NEWS: 0.10 preparation |
| 576 |
|
| 577 |
* tests/016_memleakcheck.sh: use mcheck to see if memory leaks |
| 578 |
happen. |
| 579 |
Why does this not fail when check is failing? |
| 580 |
|
| 581 |
* tests/015_test_ilistdelete.sh: disabled the check since it's |
| 582 |
difficult to formulate the test yet. |
| 583 |
|
| 584 |
* tests/002_test_open.c (main): fix thinko. It was never tested, |
| 585 |
really. |
| 586 |
|
| 587 |
2006-01-13 Junichi Uekawa <[email protected]> |
| 588 |
|
| 589 |
* tests/015_test_ilistdelete.c (main): a preliminary |
| 590 |
implementation, this is wrong. |
| 591 |
I should also test pthread and doing something racy. |
| 592 |
|
| 593 |
* cowdancer.c (initialize_functions): logic error, if someone else |
| 594 |
is initializing and it has failed, we'd probably need to retry, |
| 595 |
not hang. |
| 596 |
|
| 597 |
* tests/015_test_ilistdelete.sh: test ilist delete code path. |
| 598 |
|
| 599 |
2006-01-08 Junichi Uekawa <[email protected]> |
| 600 |
|
| 601 |
* NEWS: update |
| 602 |
|
| 603 |
* debian/TODO: document the problem with ld.so overwrite |
| 604 |
|
| 605 |
* cowdancer.c (check_inode_and_copy): try to tackle the problem of |
| 606 |
ld.so overwrite while exec. |
| 607 |
|
| 608 |
This happens because we do rename before cp. |
| 609 |
before: |
| 610 |
rename a a~~ |
| 611 |
cp -a a~~ a (requires working libc) |
| 612 |
rm a~~ |
| 613 |
|
| 614 |
modified: |
| 615 |
cp -a a a~~ |
| 616 |
rename a~~ a |
| 617 |
|
| 618 |
2006-01-07 Junichi Uekawa <[email protected]> |
| 619 |
|
| 620 |
* tests/900_test_pbuilder.sh: skip this test unless it's a known |
| 621 |
working location |
| 622 |
|
| 623 |
* Makefile: make it easier to see test failure results. |
| 624 |
|
| 625 |
* debian/pbuilder-test/000_prepinstall: |
| 626 |
* debian/pbuilder-test/001_makecheck: testsuite to run make-check inside chroot. |
| 627 |
|
| 628 |
* tests/900_test_pbuilder.sh: |
| 629 |
|
| 630 |
* debian/TODO: note that cpbuilder test fails today, because it's |
| 631 |
probably forking when it should not be. |
| 632 |
|
| 633 |
* Makefile: use VERSION string without debian dependency. |
| 634 |
|
| 635 |
2005-12-29 Junichi Uekawa <[email protected]> |
| 636 |
|
| 637 |
* debian/TODO: update |
| 638 |
|
| 639 |
* debian/README.Debian (BUGS): add fchown/fchmod notes. |
| 640 |
|
| 641 |
* tests/014_ilistdump_test.sh: add a test to check for ilist dumping. |
| 642 |
|
| 643 |
* tests/014_ilistdump_test.c: add a test program for dumping ilist file contents. |
| 644 |
|
| 645 |
* cowdancer.c (load_ilist): add error checks. |
| 646 |
|
| 647 |
* Makefile (%.o): define _REENTRANT |
| 648 |
|
| 649 |
2005-12-28 Junichi Uekawa <[email protected]> |
| 650 |
|
| 651 |
* NEWS: update news file. |
| 652 |
|
| 653 |
* cowdancer.c: insert sched_yield in parts to make things look a |
| 654 |
bit more quasi-thread-safe. |
| 655 |
|
| 656 |
2005-12-25 Junichi Uekawa <[email protected]> |
| 657 |
|
| 658 |
* cowdancer.c (check_inode_and_copy): use bsearch |
| 659 |
(check_fd_inode_and_warn): use bsearch |
| 660 |
|
| 661 |
* ilist.h (compare_ilist): comparison function here. |
| 662 |
|
| 663 |
* cow-shell.c: move compare_ilist to header file. |
| 664 |
|
| 665 |
* tests/900_test_pbuilder.sh: ignore this test for now. |
| 666 |
|
| 667 |
* cowdancer.c (load_ilist): use mmap. |
| 668 |
|
| 669 |
* cow-shell.c: include ilist. |
| 670 |
|
| 671 |
* ilist.h (struct ilist_struct): create ilist struct separately. |
| 672 |
|
| 673 |
2005-11-23 Junichi Uekawa <[email protected]> |
| 674 |
|
| 675 |
* debian/changelog: 0.7 |
| 676 |
|
| 677 |
* tests/002_test_open.c: write(2) requires unistd.h |
| 678 |
|
| 679 |
* NEWS: add comments on what has been changed. |
| 680 |
|
| 681 |
* tests/900_test_pbuilder.sh (COWDEB): use a better algorithm for |
| 682 |
determining the deb package to use. |
| 683 |
|
| 684 |
* Makefile (DESTDIR): export VERSION |
| 685 |
|
| 686 |
* tests/013_test_chmod.sh (TESTCODE): |
| 687 |
* tests/012_test_chown.sh (NEWID): |
| 688 |
* tests/004_test_fopen64.sh (TESTCODE): |
| 689 |
* tests/003_test_fopen.sh (TESTCODE): |
| 690 |
* tests/002_test_open.sh (TESTCODE): |
| 691 |
* tests/001_test_symlink.sh (TESTDIR): |
| 692 |
* tests/000_test_basic.sh (TESTDIR): cp -al 1/ 2/ no longer works, |
| 693 |
change to cp -al 1/ 2 |
| 694 |
|
| 695 |
* cow-shell.c (main): work around new 'stat' feature, which doesn't |
| 696 |
add a newline after --format. |
| 697 |
Add a space after it so that scanf can read in. |
| 698 |
Tested with Debian sarge and sid. |
| 699 |
|
| 700 |
* cow-shell.1: add reference to COWDANCER_DEBUG environmental variable. |
| 701 |
|
| 702 |
* cowdancer.c (debug_cowdancer_2, debug_cowdancer): use COWDANCER_DEBUG |
| 703 |
environment variable for debug toggling. |
| 704 |
|
| 705 |
2005-11-02 Junichi Uekawa <[email protected]> |
| 706 |
|
| 707 |
* Makefile (VERSION): Change VERSION to be dpkg-parsechangelog-based |
| 708 |
|
| 709 |
* tests/012_test_chown.c (main): |
| 710 |
* tests/013_test_chmod.c (main): do not test fchmod, fchown. |
| 711 |
|
| 712 |
* cowdancer.c (check_fd_inode_and_warn): do not die even if |
| 713 |
fchown/fchmod is used; try allowing things to run albeit the warning... |
| 714 |
I am guessing test_pbuilder.sh is going to be non-functional. |
| 715 |
|
| 716 |
2005-10-31 Junichi Uekawa <[email protected]> |
| 717 |
|
| 718 |
* tests/900_test_pbuilder.sh: update for 0.6 |
| 719 |
test fails for pbuilder test since fchmod is used here: |
| 720 |
|
| 721 |
cowdancer-unsupported operation, read-only open and fchown/fchmod: 2049:274641 |
| 722 |
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.3.5-7_amd64.deb (--unpack): |
| 723 |
error setting ownership of `./usr/bin/gencat': No such file or directory |
| 724 |
|
| 725 |
|
| 726 |
2005-10-28 Junichi Uekawa <[email protected]> |
| 727 |
|
| 728 |
* tests/013_test_chmod.c (main): |
| 729 |
* tests/012_test_chown.c (main): expect fchown and fchmod to fail. |
| 730 |
|
| 731 |
* cowdancer.c (initialize_functions): chown, fchown, and lchown implementation. they look like the following: |
| 732 |
chown("/tmp/1/a", 1000, 24) = 0 |
| 733 |
fchown(3, 1000, 24) = 0 |
| 734 |
lchown("/tmp/1/c", 1000, 24) = 0 |
| 735 |
fchown will be an unsupported operation, hopefully noone will use that. |
| 736 |
(check_fd_inode_and_warn, fchown, lchown, chown): implement. |
| 737 |
(chmod, fchmod): implement. |
| 738 |
chmod("/tmp/1/a", 0400) = 0 |
| 739 |
fchmod(3, 0400) = 0 |
| 740 |
|
| 741 |
* cowdancer.c (load_ilist): use calloc instead of malloc. |
| 742 |
(check_inode_and_copy): clear memory before match. |
| 743 |
Required to get working on my ibook. Probably the |
| 744 |
structs weren't packed. |
| 745 |
|
| 746 |
2005-10-08 Junichi Uekawa <[email protected]> |
| 747 |
|
| 748 |
* tests/012_test_chown.sh (TESTCODE): |
| 749 |
* tests/013_test_chmod.sh (TESTCODE): |
| 750 |
* tests/012_test_chown.c: |
| 751 |
* tests/013_test_chmod.c: test for chown/chmod functionality. |
| 752 |
|
| 753 |
2005-09-21 Junichi Uekawa <[email protected]> |
| 754 |
|
| 755 |
* cow-shell.c (main): SHELL may contain non-full path value. |
| 756 |
'SHELL=bash', execlp instead of execl. |
| 757 |
Fall back to /bin/sh if SHELL is bogus. |
| 758 |
|
| 759 |
2005-08-30 Junichi Uekawa <[email protected]> |
| 760 |
|
| 761 |
* NEWS: 0.4 release. |
| 762 |
|
| 763 |
* tests/900_test_pbuilder.sh (COWDEB): update to 0.4; |
| 764 |
note that this test depends on local ../cowdancer. |
| 765 |
It will be updated when cowdancer package exists in Debian. |
| 766 |
|
| 767 |
2005-08-29 Junichi Uekawa <[email protected]> |
| 768 |
|
| 769 |
* cowdancer.c (load_ilist): add error checking for NULL. |
| 770 |
|
| 771 |
* tests/010_test_noilistfile.sh: new test to test error checking; the log is more significant. |
| 772 |
|
| 773 |
* Makefile (VERSION): 0.4 |
| 774 |
|
| 775 |
* cowdancer.c (load_ilist): errorcheck |
| 776 |
(outofmemory): do not kill myself. |
| 777 |
(initialize_functions): return 1 on error. |
| 778 |
(fopen, fopen64): return NULL on error |
| 779 |
(creat64, creat, open64, open): return -1 on error. |
| 780 |
|
| 781 |
2005-08-20 Junichi Uekawa <[email protected]> |
| 782 |
|
| 783 |
* NEWS: update NEWS |
| 784 |
|
| 785 |
* debian/changelog: update changelog |
| 786 |
|
| 787 |
* tests/900_test_pbuilder.sh: use dsh as example, not cowdancer itself. |
| 788 |
|
| 789 |
2005-08-19 Junichi Uekawa <[email protected]> |
| 790 |
|
| 791 |
* tests/900_test_pbuilder.sh: with fixed pbuilder 0.130, it works |
| 792 |
|
| 793 |
* cowdancer.c (likely_fopen_write, fopen, fopen64): implement fopen. |
| 794 |
(initialize_functions): implement fopen. |
| 795 |
|
| 796 |
* tests/004_test_fopen64.sh: |
| 797 |
* tests/004_test_fopen64.c: |
| 798 |
* tests/003_test_fopen.sh: |
| 799 |
* tests/003_test_fopen.c: |
| 800 |
* tests/002_test_open.sh: |
| 801 |
* tests/002_test_open.c: Add testsuite. fopen test fails. |
| 802 |
|
| 803 |
2005-08-18 Junichi Uekawa <[email protected]> |
| 804 |
|
| 805 |
* Makefile (check): fix redirect in testsuite. |
| 806 |
|
| 807 |
* cowdancer.c (check_inode_and_copy): use the canonical filename |
| 808 |
rather than the possible symbollic link. |
| 809 |
|
| 810 |
* tests/001_test_symlink.sh: create code to test symlink handling. |
| 811 |
|
| 812 |
* tests/README: add a readme. |
| 813 |
|
| 814 |
* tests/900_test_pbuilder.sh: rename to 900. |
| 815 |
|
| 816 |
2005-08-17 Junichi Uekawa <[email protected]> |
| 817 |
|
| 818 |
* cowdancer.c (check_inode_and_copy): add hook to avoid looping around; should not be |
| 819 |
a problem, but as a safety measure. |
| 820 |
(check_inode_and_copy): Fix free routine location. |
| 821 |
(check_inode_and_copy): add debugging error message |
| 822 |
(check_inode_and_copy): check that the file is a regular file |
| 823 |
before trying to do anything on it; directories and special files |
| 824 |
and sockets really don't want this. |
| 825 |
|
| 826 |
* cow-shell.c (main): -xdev to find. |
| 827 |
|
| 828 |
* tests/001_test_pbuilder.sh: cow working simulation |
| 829 |
|
| 830 |
* Makefile (check): create logfiles. |
| 831 |
|
| 832 |
2005-08-16 Junichi Uekawa <[email protected]> |
| 833 |
|
| 834 |
* tests/000_test_basic.sh: Created a basic test. |
| 835 |
|
| 836 |
2005-08-13 Junichi Uekawa <[email protected]> |
| 837 |
|
| 838 |
* Makefile (VERSION): 0.2 |
| 839 |
|
| 840 |
* cowdancer.c (load_ilist): buffer overflow. |
| 841 |
|
| 842 |
* Makefile: install manpage |
| 843 |
|
| 844 |
* cow-shell.1: create a manpage |
| 845 |
|
| 846 |
* cow-shell.c: unset COWDANCER_IGNORE |
| 847 |
|
| 848 |
* NEWS: create a NEWS file. |
| 849 |
|
| 850 |
* cowdancer.c: fix obscure messages. |
| 851 |
|
| 852 |
* cow-shell.c: fix a few thinko's |
| 853 |
|
| 854 |
* Makefile (clean): new target for cleaning. |
| 855 |
(BINARY): -ldl is required, some programs are not linked against -ldl. |
| 856 |
|
| 857 |
* cow-shell.c: created |
| 858 |
|
| 859 |
* Makefile: created. |
| 860 |
|
| 861 |
* cowdancer.c: Created. |
| 862 |
|
| 863 |
|
| 864 |
cowdancer -- a Copy-on-write data-access; No-cow-easy-replacement |
| 865 |
|
| 866 |
Copyright 2005 Junichi Uekawa |
| 867 |
GPL v2 or later. |