Skip to contentSkip to conversation

run_init

DISCUSSION Carlos Anísio Monteiro 3 participants 3 messages Jan 15, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Helo.

I am with problems when running the run_init utility.

*# run_init /etc/init.d/apache start
Authenticating root.
Password:
execvp: File or directory not found.
#*

The script apache in the /etc/init.d exist.
If running:

*# /etc/init.d/apache start
Starting web server: ok*
#

Thanks.

Signature · 3 lines
Carlos Anisio Monteiro  <[email protected]>
IPEN/CNEN-SP
Sao Paulo - Brasil
#1 lore raw
Quoted 9 lines · Carlos Anísio Monteiro

Helo.

I am with problems when running the run_init utility.

*# run_init /etc/init.d/apache start
Authenticating root.
Password:
execvp: File or directory not found.
#*

Most probably this is because you haven't installed expect which is needed by run_init.
I think this should get a better error message.

HTH,
Thomas

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
In reply to Carlos Anísio Monteiro
Quoted 7 lines · Carlos Anísio Monteiro

I am with problems when running the run_init utility.

# run_init /etc/init.d/apache start
Authenticating root.
Password:
execvp: File or directory not found.
#

Do you have expect installed? There was a bug in the Debian package where it didn't depend on expect that I only fixed fairly recently.