Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Strange F9 networking problem after LCD install

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


phil at pricom

Jun 6, 2008, 12:31 PM

Post #1 of 4 (671 views)
Permalink
Strange F9 networking problem after LCD install

People,

I had problems installing from the Fedora 9 iso file ie one hard disk to
another HD after booting from an existing F8 setup so I did a F9 LiveCD
install (I never had problems installing from HD for previous Fedora
versions). The netqmail install puts a line in:

/etc/inittab

which is:

SV:123456:respawn:/command/svscanboot

but it doesn't work and I have to manually run it after the boot finishes.

Any ideas why it does not run automatically during the boot? (It has
been working fine since Fedora Core 3).

Thanks,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil[at]pricom.com.au


jms1 at jms1

Jun 6, 2008, 3:57 PM

Post #2 of 4 (646 views)
Permalink
Re: Strange F9 networking problem after LCD install [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2008-06-06, at 1531, Philip Rhoades wrote:
>
> I had problems installing from the Fedora 9 iso file ie one hard
> disk to
> another HD after booting from an existing F8 setup so I did a F9
> LiveCD
> install (I never had problems installing from HD for previous Fedora
> versions). The netqmail install puts a line in:
>
> /etc/inittab
>
> which is:
>
> SV:123456:respawn:/command/svscanboot
>
> but it doesn't work and I have to manually run it after the boot
> finishes.
>
> Any ideas why it does not run automatically during the boot? (It has
> been working fine since Fedora Core 3).

because fedora 9 doesn't use "init". the only line in /etc/inittab
which has any bearing on the system is the "id:" line.

read /etc/inittab, it explains all this, and will point you in the
right direction.

i wouldn't be surprised to find somebody's already written a web page
about it- if not, i have an old G4 laptop running fedora 9 and plan to
figure it out myself over the weekend, so don't be surprised if
something appears on my web site, either tomorrow or monday.

http://qmail.jms1.net/


- --------------------------------------------------------
| John M. Simpson -- KG4ZOW -- Programmer At Large |
| http://www.jms1.net/ <jms1[at]jms1.net> |
- --------------------------------------------------------
| Hope for America -- http://www.ronpaul2008.com/ |
- --------------------------------------------------------





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkhJwM8ACgkQEB9RczMG/PteiwCgyRgYmjU58CV1vIkycfjXUg/S
c9IAoPlo+hiw+3my06Lmop04vUz66fXs
=MJ+g
-----END PGP SIGNATURE-----


mbhangui at gmail

Jun 7, 2008, 7:26 AM

Post #3 of 4 (632 views)
Permalink
Re: Strange F9 networking problem after LCD install [In reply to]

init has been replaced by upstart http://upstart.ubuntu.com/

I will be trying this out and written the script which I will place
in /etc/event.d

script starts just below this arrow -------------------->
# WARNING: This file was auto-generated. Do not edit!
# $Log: svscanboot.sh,v $
# Revision 1.5 2003-10-12 01:14:37+05:30 Manny
# added SCANINTERVAL
#
# Revision 1.4 2003-01-05 23:53:11+05:30 Manny
# skip directories if not present
#
# Revision 1.3 2002-12-28 09:21:30+05:30 Manny
# added option of specifying multiple directories as command line
arguments
#
# Revision 1.2 2002-09-26 20:56:02+05:30 Manny
# made service directory configurable
#
# $Id: svscanboot.sh,v 1.5 2003-10-12 01:14:37+05:30 Manny Stab root $

start on runlevel-5

stop on shutdown
stop on runlevel-2
stop on runlevel-3
stop on runlevel-4

script
PATH=/var/qmail/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin

exec </dev/null
exec >/dev/null
exec 2>/dev/null

if [ -d /service1 ] ; then
SERVICEDIR=/service1
elif [ -d /service2 ] ; then
SERVICEDIR=/service2
else
SERVICEDIR=/service
fi
if [ -f /var/qmail/control/scaninterval ] ; then
SCANINTERVAL=`cat /var/qmail/control/scaninterval`
else
SCANINTERVAL=300
fi
/var/qmail/bin/svc -dx $SERVICEDIR/* $SERVICEDIR/*/log
env - PATH=$PATH SCANINTERVAL=$SCANINTERVAL \
/var/qmail/bin/svscan $SERVICEDIR 2>&1 | \
env - PATH=$PATH /var/qmail/bin/readproctitle $SERVICEDIR
errors: ................................................................................................................................................................................................................................................................................................................................................................................................................

end script
scripts ends above this arrow ---------------------------->

On Sat, 2008-06-07 at 05:31 +1000, Philip Rhoades wrote:
> People,
>
> I had problems installing from the Fedora 9 iso file ie one hard disk to
> another HD after booting from an existing F8 setup so I did a F9 LiveCD
> install (I never had problems installing from HD for previous Fedora
> versions). The netqmail install puts a line in:
>
> /etc/inittab
>
> which is:
>
> SV:123456:respawn:/command/svscanboot
>
> but it doesn't work and I have to manually run it after the boot finishes.
>
> Any ideas why it does not run automatically during the boot? (It has
> been working fine since Fedora Core 3).
>
> Thanks,
>
> Phil.


bruno at wolff

Jun 9, 2008, 9:31 AM

Post #4 of 4 (612 views)
Permalink
Re: Strange F9 networking problem after LCD install [In reply to]

On Sat, Jun 07, 2008 at 05:31:29 +1000,
Philip Rhoades <phil[at]pricom.com.au> wrote:
>
> SV:123456:respawn:/command/svscanboot
>
> but it doesn't work and I have to manually run it after the boot finishes.
>
> Any ideas why it does not run automatically during the boot? (It has
> been working fine since Fedora Core 3).

As noted this was due to the upstart change. My fix was to put the following
in /etc/event.d/svscanboot :
# rcS - runlevel compatibility
#
# Start deamontools watcher

start on startup

script
/command/svscanboot
end script

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.