Tiny Core Base > Corepure64
fakechroot in CorePure64
(1/1)
Zhurman:
Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly.
Here’s my .dep file:
readline.tcz
ncursesw.tcz
glibc.tcz
gdbm.tcz
db.tcz
libxcrypt.tcz
fakeroot.tcz
coreutils.tcz
util-linux.tcz
Also, running ldd on fakechroot causes a segmentation fault with the same result.
What can I do to get fakechroot working correctly? Or is writing my own minimal implementation a more valid solution?
[EDIT] I also see the Alpine Linux, maybe I start work with this?
Rich:
Hi Zhurman
Welcome to the forum.
When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.
--- Quote from: Zhurman on June 30, 2025, 08:17:31 AM ---Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. ...
--- End quote ---
Grabbing binaries from other distros can be a hit or miss exercise.
--- Quote --- ... I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly. ...
--- End quote ---
Did you try running it with the -s option:
--- Code: ---fakechroot -s ...
--- End code ---
Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
https://github.com/dex4er/fakechroot
Zhurman:
--- Quote from: Rich on June 30, 2025, 09:10:45 AM ---When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.
--- End quote ---
OK, sure.
TC16.1, architecture x86_64
--- Quote from: Rich on June 30, 2025, 09:10:45 AM ---Did you try running it with the -s option:
--- Code: ---fakechroot -s ...
--- End code ---
--- End quote ---
That command also give segfaults and breaks my system.
--- Quote from: Rich on June 30, 2025, 09:10:45 AM ---Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
--- End quote ---
[EDIT] Starting to try.
Zhurman:
--- Quote from: Rich on June 30, 2025, 09:10:45 AM ---Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
https://github.com/dex4er/fakechroot
--- End quote ---
That's works! Thanks :D
And sorry to have bothered you.
Rich:
Hi Zhurman
--- Quote from: Zhurman on July 01, 2025, 04:48:11 PM ---That's works! Thanks :D ...
--- End quote ---
You are welcome. Glad I could help.
--- Quote --- ... And sorry to have bothered you.
--- End quote ---
You were no bother at all. You ask a few questions, solved
your problem, and reported your success.
Everyones problems should be this easy. :)
Navigation
[0] Message Index
Go to full version