Repository navigation
Commit b47eef7
committed
bootc imports from the host namespace, so the container fixes never reached it
Three attempts at the same failure, each addressing a place the writing
was not happening. TMPDIR in this script fixed the pull. TMPDIR in the
container did nothing. Mounting the target over the container's
/var/tmp did nothing either, and that is what identified it: bootc does
the ostree import from the host mount namespace, which is what
--pid=host is for, so the /var/tmp it fills is the live session's.
On live media that is the RAM overlay, which is how a 3.4 GB import
dies on a disk with sixty gigabytes free. The host's /var/tmp is now
bound to the target for the duration of the install, and only when it
is memory: a machine with a real /var/tmp needs no help, and moving
somebody's temporary directory onto a disk being installed is not
something to do for no reason. Unbound before the filesystem under it
goes away.1 parent 67b48b9 commit b47eef7
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| 290 | + | |
| 291 | + | |
289 | 292 | | |
290 | 293 | | |
291 | 294 | | |
| |||
342 | 345 | | |
343 | 346 | | |
344 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
345 | 365 | | |
346 | 366 | | |
347 | 367 | | |
| |||
620 | 640 | | |
621 | 641 | | |
622 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
623 | 650 | | |
624 | 651 | | |
625 | 652 | | |
| |||
0 commit comments