Originally Posted by
Ksandro
I'm trying to build a custom ISO without the beep at boot. Just edited the menu.cfg file and followed the instructions from the oficial guide (
https://www.kali.org/docs/developmen...stom-kali-iso/) but I keep getting the following error:
build.log
I've tried running the 0140-remove-log-files.hook.chroot as a regular user and as a root but still getting the same error. Tried chown the postgresql-12-main.log file to the give the regular user ownership but stil no luck. Also tried running the script in bin/bash and the error is the same.
uname -a
Any help on how to proceed or fix this would be appreciated!
The problem comes from the sticky bit set on the /var/log/postgresql dir.
This doesn't work even if we are running as root :
Code:
: > postgresql-12-main.log
This would work:
Code:
truncate -cs 0 postgresql-12-main.log