On 02/18/2011 12:10 AM, Daniel Baumann wrote:
your attached init script isn't different from mine in the patch applied
to last message apart from the fact that it doesn't fail if a directory
isn't existing, but that's just a cosmetical thing.
It is, you are adding a $(echo ... awk ...) stuff.
The manpage indicates that in.tftpd() can simply take multiple
directories on the command line.
right, but still, as said previously, it doesn't work for me:
---snip---
[...]
Starting HPA's tftpd: in.tftpd+ log_daemon_msg_post Starting HPA's tftpd
in.tftpd
+ :
+ do_start
+ start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/in.tftpd
-- --listen --user tftp --address 0.0.0.0:69 --secure /srv/tftp /srv/tftp2
root@debian:~# echo $?
64
root@debian:~#
---snip---
which is why i'm still puzzled why it works for you.
You can't use multiple directories with --secure (the manpage says:
"When --secure is specified, exactly one directory should be specified
on the command line.")
I'm not sure what the $(echo ...) bit is trying to do; it seems that
simply using the variable as-is should work.
there's only one '$(echo' in the packaging, and that is in the postinst.
are you refereing to this? if so.. that echo is supposed to set the home
directory of the adduser call to first directory specified in
TFTP_DIRECTORY, as a user can't have multiple home directories at the
same time.
I was referring to the $(echo...) your proposed patch added.
-- John
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org