Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] newly installed daemons don't start

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Pierre Abbat <phma AT phma.hn.org>
  • To: sm-users AT lists.ibiblio.org
  • Subject: Re: [SM-Users] newly installed daemons don't start
  • Date: Wed, 15 Sep 2004 13:01:37 -0400

I ran the script with bash -x and got this:

+ PROGRAM=/usr/sbin/sshd
+ RUNLEVEL=3
+ NEEDS=+network +remote_fs
+ . /etc/init.d/smgl_init
++ . /etc/init.d/smgl_functions
+++ umask 022
+++ export PATH=/bin:/usr/bin:/sbin:/usr/sbin
+++ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+++ KILLDELAY=3
++++ stty size
+++ COLUMNS=51 124
+++ COLUMNS=124
+++ COL=114
+++ WCOL=94
+++ SET_COL=builtin echo -en \033[114G
+++ SET_WCOL=builtin echo -en \033[94G
+++ CURS_UP=builtin echo -en \033[A
+++ NORMAL=builtin echo -en \033[0;39m
+++ SUCCESS=builtin echo -en \033[1;32m
+++ WARNING=builtin echo -en \033[1;33m
+++ FAILURE=builtin echo -en \033[1;31m
+++ SCRIPTC=builtin echo -en \033[1;37m
+++ export -f echo
+++ export INITSTORE
+++ export -f logger_func
+++ export -f print_status
++ PATH=/bin:/sbin:/usr/bin:/usr/sbin
+++ basename sshd
+++ path=sshd
+++ '[' -z sshd ']'
+++ path=sshd
+++ builtin echo sshd
++ scriptname=sshd
++ trap 'exit_code=$? _handle_exit "$@"' EXIT
++ '[' start = start ']'
++ . /etc/sysconfig/facilities
+++ network=network
+++ syslog=
+++ local_fs=mountall.sh
+++ remote_fs=mountnetwork
+++ identd=
+++ portmap=
+++ mta=postfix
+++ display_manager=
++ handle_needs
++ '[' -z '+network +remote_fs' ']'
++ _SUB_NEEDED=1
++ '[' + == + ']'
++ facility=network
+++ eval builtin echo '$network'
++++ builtin echo network
++ service=network
++ '[' -z network ']'
++ need network
++ '[' + == + ']'
++ facility=remote_fs
+++ eval builtin echo '$remote_fs'
++++ builtin echo mountnetwork
++ service=mountnetwork
++ '[' -z mountnetwork ']'
++ need mountnetwork
++ exit 7
++ exit 7
+ exit_code=7
+ _handle_exit start
+ '[' start = start ']'
+ '[' 7 -eq 0 -a /usr/sbin/sshd ']'
+ '[' 7 -ne 0 -a '' = yes ']'

mountnetwork exited 7 because there is no portmap. So I cast portmap and sshd
starts. But why do sshd, postfix, proftpd, and alsa need remote-fs?

phma
--
li fi'u vu'u fi'u fi'u du li pa




Archive powered by MHonArc 2.6.24.

Top of Page