Your message dated Sun, 19 Feb 2012 14:50:32 +1100
with message-id <[email protected]>
and subject line Re: Bug#634496: dh-make: error in autogenerated init.d files
has caused the Debian Bug report #634496,
regarding dh-make: error in autogenerated init.d files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
634496: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634496
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-make
Version: 0.59
Severity: normal
Hi,
Making a Debian package, I add a initscript. dh-make created package.init.
And one of lines is:
start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS
But doing that, even if I pass an argument to $DAEMON_OPTS, it is not applied.
In my case, I put "-l 1", this option wasn't seen at runtime of the daemon.
The only way I found to fix the problem was moving -- before $DAEMON and after
$PIDFILE, instead of after $DAEMON.
It's probably a bug I guess.
Maybe could be fixed? Or it can work properly in other circumstances?
Because I'm sure I didn't change this line myself, it was generated by dh-make.
I can test again if you want.
Regards, thanks
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make depends on:
ii debhelper 8.9.1 helper programs for debian/rules
ii dpkg-dev 1.16.0.3 Debian package development tools
ii make 3.81-8.1 An utility for Directing compilati
ii perl 5.12.4-1 Larry Wall's Practical Extraction
dh-make recommends no packages.
Versions of packages dh-make suggests:
ii build-essential 11.5 Informational list of build-essent
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue, Jul 19, 2011 at 05:38:35AM +0200, jp wrote:
> Making a Debian package, I add a initscript. dh-make created package.init.
> And one of lines is:
> start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS
That is not the format of the dh-make created init file. Neither
start_daemon nor DAEMON_OPTS appears in that file.
So, I don't know what it is, but its not a dh-make init script.
> Maybe could be fixed? Or it can work properly in other circumstances?
> Because I'm sure I didn't change this line myself, it was generated by
> dh-make.
Use the dh-make generated one, it has
do_start instead of start_daemon
and
DAEMON_ARGS instead of DAEMON_OPTS
- Craig
--
Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
--- End Message ---