Results 1 to 3 of 3

Thread: Another bug in UnionFS (in knoppix 4.0.2)

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    2

    Another bug in UnionFS (in knoppix 4.0.2)

    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

  2. #2
    Junior Member
    Join Date
    Dec 2005
    Posts
    2

    xyz

    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).

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: xyz

    IIWY, I'd send an email to Klaus Knopper and inform him of the problem.

    Quote Originally Posted by Josh Yelon
    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).

Similar Threads

  1. does knoppix, use aufs? or unionfs? ...still says /UNIONFS..
    By starlyptErin_. in forum General Support
    Replies: 0
    Last Post: 08-22-2009, 10:55 PM
  2. Root file system links to UNIONFS (e.g. bin -> /UNIONFS/b
    By Jim Tonic in forum Customising & Remastering
    Replies: 1
    Last Post: 05-24-2006, 04:14 AM
  3. Is Unionfs working in Knoppix 4.0?
    By tablet_guy in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-27-2005, 12:48 PM
  4. How to replace UNIONFS in Knoppix 3.9?
    By tr in forum Customising & Remastering
    Replies: 8
    Last Post: 07-24-2005, 09:52 AM
  5. Unionfs hangs - Knoppix v3.9
    By toltech in forum Hardware & Booting
    Replies: 0
    Last Post: 06-25-2005, 06:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU picture

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU

$197.76



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$95.20



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Dell PowerEdge VRTX 2.5

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)

$1599.99



HPE PROLIANT BL460C GEN 9 813198-B21 2.5

HPE PROLIANT BL460C GEN 9 813198-B21 2.5"x2 Server Blade SEE NOTES

$21.08



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis picture

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis

$274.99



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$174.99



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER

$1499.97