Skip to content

RHEL 8.8 weird behavior #327

@spikebike

Description

@spikebike

Not sure if this is worth a bug. But I was having REALLY weird issues with duc+sqlite3. Even simple stuff like:
for i in a b c d e f g h; do dd if=/dev/urandom of=$i count=16 bs=4M; done

./bin/duc ls test
 35.6M g
  3.6M d
  1.0K a
  1.0K b
  1.0K c
  1.0K e
  1.0K f
  1.0K h

I recreated this several times with RHEL8.8. I even made a ubuntu container, which didn't show the bug. I made a rocky:8.8 container, which didn't show the bug. Frustrating. Here's my script :

podman pull rocky:8.8
podman run -it --name duc-test rocky:8.8
#apt update
#apt install git gcc autoconf build-essential pkg-config libsqlite3-dev
yum install sqlite-devel sqlite-devel git gcc autoconf pkg-config automake make
adduser test
su - test
git clone https://github.com/zevv/duc
cd duc
autoreconf -i
./configure --with-db-backend=sqlite3 --disable-cairo --disable-ui --disable-x11 --prefix=/home/test/pkg
make -j4 install
mkdir test
cd test
for i in a b c d e f g h; do dd if=/dev/urandom of=$i count=16 bs=4M; done
cd
mkdir -p ~/.cache/duc
~/pkg/bin/duc index ~
~/pkg/bin/duc 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions