Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbound variable on install #3

Open
knlnlo opened this issue Sep 29, 2021 · 3 comments
Open

Unbound variable on install #3

knlnlo opened this issue Sep 29, 2021 · 3 comments

Comments

@knlnlo
Copy link

knlnlo commented Sep 29, 2021

Installation could not proceed due to an error occurred:

make install
./systemd.sh -c paranoid.conf.sample /
[OK] Found which
[OK] Found systemctl
[OK] Found hwclock
/home/user/paranoid-ninja/src/functions: line 18: red: unbound variable
make: *** [Makefile:18: insDaemon] Error 1
@knlnlo
Copy link
Author

knlnlo commented Sep 29, 2021

Replaced line 18 in src/functions with printf "%s%s\n" \ Helped. Now another problem has arisen.

./systemd.sh -c paranoid.conf.sample /
[OK] Found which
[OK] Found systemctl
[OK] Found hwclock
[-] hostname no found
make: *** [Makefile:18: insDaemon] Error 1

I don't understand what he wants from me.

@szorfein
Copy link
Owner

szorfein commented Oct 4, 2021

It search for the binary hostname here, try to install it.

On Gentoo, hostname is available in the package sys-apps/net-tools. On Archlinux, you can search with the command pacman -Ql hostname

@knlnlo
Copy link
Author

knlnlo commented Oct 4, 2021

In Arch, the inetutils package is responsible for this. I also had to install dhcpcd. Lots of dependencies for a simple service.

Thanks for the help.

UDP.

New problem:

sudo paranoid-ninja -p -c /etc/paranoid-ninja/paranoid.conf
/lib/paranoid-ninja/nftables.sh: line 17: checkArgConfig: command not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants