It is currently Thu Jul 20, 2017 5:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Init Script on Debian Sid
PostPosted: Sun Dec 27, 2009 9:05 pm 
Hi,

after building the source from scratch as a debian package I hit two problems.

Fist one was a "name clash" in defining "AUTH_NONE". It's been solved here already: viewtopic.php?f=3&t=11

The other one is the init.d script of the package. there's an error in the insserv-header:
Code:
# Required-Start:    2 3 4 5
# Required-Stop:     0 1 6


the "Required-Start:" and "Required-Stop:" should hold the needed (boot-)facilities from /etc/insserv.conf and not the runlevel information (!).

I changed it to the following:

Code:
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog


and everything works as exptected :)

Here's a small patch:

Code:

--- init.d.old  2008-09-24 22:40:44.000000000 +0200
+++ init.d      2009-12-27 20:57:40.465523561 +0100
@@ -4,8 +4,8 @@
# Provides:          openl2tpd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
-# Required-Start:    2 3 4 5
-# Required-Stop:     0 1 6
+# Required-Start:    $network $remote_fs $syslog
+# Required-Stop:     $network $remote_fs $syslog
# Short-Description: Start openl2tp daemon
# Description:       Start openl2tp daemon
### END INIT INFO



Merry X-Mas and a happy new year !

Greetz, Stony!


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group