Hello all,
I have a service, reduced to the following:
however it is behaving strangely. I have
I am unable to figure out why this happens, mostly due to the fact that when I run this service after boot it works as intended, logging
Does anyone have an idea why this may be the case? The specific program I try to execute does not matter much, python, bash, fish, all fail with similar errors. Help would be appreciated.
P.S.
This is in a jail, but I guessed that this should be irrelevant for this issue
I have a service, reduced to the following:
Code:
#!/bin/sh
#
# PROVIDE: test
. /etc/rc.subr
name="test"
rcvar="test_enable"
load_rc_config ${name}
command="/usr/sbin/daemon"
command_args="-f -o /var/log/test/test.log -u operator bash -c 'echo hi'"
run_rc_command "$1"
however it is behaving strangely. I have
/test_enable="YES" in my /etc/rc.conf, and every boot it logs the following to the log file: /ld-elf.so.1: Shared object "libintl.so.8" not found, required by "bash".I am unable to figure out why this happens, mostly due to the fact that when I run this service after boot it works as intended, logging
/hi.Does anyone have an idea why this may be the case? The specific program I try to execute does not matter much, python, bash, fish, all fail with similar errors. Help would be appreciated.
P.S.
This is in a jail, but I guessed that this should be irrelevant for this issue