Comments (3)
It seems that the number of mounts created by customizer multiplies by 8 each time I rebuild the ISO.
After rebuilding the ISO twice (as above) I ran mount | grep customizer | wc -l
and got 256. While rebuilding a third time, I counted the mounts as it built and got 512...1030...2048...4096.
from customizer.
I enabled MOUNT_DEBUG in src/lib/misc.py and got the following output;
=> Gathering information
=> Mounting --bind /proc: /home/customizer/FileSystem/proc
=> Mounting --bind /dev: /home/customizer/FileSystem/dev
=> Mounting --bind /dev/pts: /home/customizer/FileSystem/dev/pts
=> Mounting --bind /dev/shm: /home/customizer/FileSystem/dev/shm
=> Mounting --bind /sys: /home/customizer/FileSystem/sys
=> Mounting --bind /tmp: /home/customizer/FileSystem/tmp
=> Mounting --bind /var/lib/dbus: /home/customizer/FileSystem/var/lib/dbus
=> Mounting --bind /run/dbus: /home/customizer/FileSystem/run/dbus
=> Unmounting -f -l: /home/customizer/FileSystem/run/dbus
=> Unmounting -f -l: /home/customizer/FileSystem/sys
=> Unmounting -f -l: /home/customizer/FileSystem/dev/shm
=> Unmounting -f -l: /home/customizer/FileSystem/dev/pts
=> Unmounting -f -l: /home/customizer/FileSystem/dev
=> Unmounting -f -l: /home/customizer/FileSystem/proc
The issue seems to be that os.path.ismount returns False for /home/customizer/FileSystem/tmp
and /home/customizer/FileSystem/var/lib/dbus
even though they clearly are mounted. The python docs for ismount say that "it is not able to reliably detect bind mounts on the same filesystem" - so I guess that's the problem.
If I remove the ismount check everything seems to work correctly.
from customizer.
Wow, thanks for debugging that for me, it's happened in the past and I had no idea where to start.
I'll see what I can think of to rework how customizer keeps track of mounts so ismount
isn't relied on.
from customizer.
Related Issues (20)
- Deprecated dependency: python3.6 on Ubuntu 19.04 HOT 1
- Rebild failed "No space left" HOT 1
- error buiding ISO - initrd.img... not in gzip format\ncpio HOT 3
- on 19.04 actual release do not install HOT 2
- Latest version built fails with "unmkinitramfs" mission HOT 4
- Bytes conversion issue HOT 1
- upgraded version on 18.04.2 does not boot HOT 6
- QEMU boot bug [python 3] HOT 2
- Booting EFI from ISO written to USB HOT 4
- Does Custom Live CD == Custom Install Media? HOT 5
- The customizer does not seem to support the Ubuntu server HOT 6
- "No space left on device" despite plenty left HOT 2
- No such file or directory: '/home/customizer/FileSystem/boot/initrd.img.old' HOT 7
- xorriso : FAILURE : Given path does not exist on disk: -boot_image system_area='/usr/lib/ISOLINUX/isohdpfx.bin' HOT 1
- ModuleNotFoundError: No module named 'PyQt4' on Ubuntu 20.04 HOT 1
- Unexpected error: 'NoneType' object has no attribute 'group' HOT 1
- ModuleNotFoundError: No module named 'lib.message' HOT 3
- How to install
- Rebuilding a classic 20.04 Ubuntu HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customizer.