Can anybody confirm that this is doing the same thing on their system? I'm wondering if this has anything to do with hyperthreading (it has that feel of being a race condition).
Here's how you can see the bug.
1. Boot a clean copy of Knoppix 4.0.2 CD English
2. Type "apt-get remove mozilla-thunderbird-locale-de"
UnionFS is now in an inconsistent state. To see the problem, type this:
% ls -al /ramdisk/var/lib/mozilla-thunderbird/
total 8
drwxr-xr-x 7 root root 220 Dec 15 19:28 .
drwxr-xr-x 7 root root 140 Dec 15 19:28 ..
-rwxr-xr-x 1 root root 0 Dec 15 19:28 .wh.components.ini
-rwxr-xr-x 1 root root 0 Dec 15 19:28 .wh.defaults.ini
drwxr-xr-x 3 root root 140 Dec 15 19:28 chrome
drwxr-xr-x 2 root root 140 Dec 15 19:28 components
-rw-r--r-- 1 root root 24 Dec 15 19:28 components.ini
-rw-r--r-- 1 root root 48 Dec 15 19:28 defaults.ini
drwxr-xr-x 2 root root 100 Dec 15 19:28 extensions
drwxr-xr-x 2 root root 60 Dec 15 19:28 extensions.d
drwxr-xr-x 2 root root 60 Dec 15 19:28 locales.d
As you can see, the directory listing contains both "components.ini" and its whiteout, ".wh.components.ini". After some testing, I have discovered that when both the file and the whiteout are present, the results are unpredictable - sometimes the file is there, sometimes it's not.
The reason I noticed this is that I was trying to remaster knoppix, but the remastering howto suggests this step:
cp -Rp /KNOPPIX/* /mnt/hda1/knx/source/KNOPPIX
But I thought, instead of copying the CD to a read-write partition, why not just use unionfs to merge /KNOPPIX with an empty read-write directory? But of course, it didn't work right, and this UnionFS bug is the reason.
- Josh
Can anybody confirm that this is doing the same thing on their system? I'm wondering if this has anything to do with hyperthreading (it has that feel of being a race condition).
IIWY, I'd send an email to Klaus Knopper and inform him of the problem.
Originally Posted by Josh Yelon
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$269.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
1TB Portable External 2.5 inch sata (Hard Drive)(random color delievery)
$9.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung SSD 860 EVO 1TB 2.5 Inch SATA III Internal Solid State Drive
$49.99
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US
$41.69
512GB SSD 2.5" SATA - Windows 10 or 11 Preinstalled - Laptop or Desktop Drive
$78.99