start-stop-daemon failing to create pidfile on telnetd

Thaddeus Ternes tternes at gmail.com
Fri Oct 20 14:51:59 UTC 2006


Yeah, that would definitely be a nice addition to telnetd.  I'd be
curious to know why it wasn't included in the first place.

-Thaddeus

On 10/19/06, Jason Schoon <floydpink at gmail.com> wrote:
> On 10/19/06, Larry Brigman <larry.brigman at gmail.com> wrote:
> > This process of upgrading to 1.2.1 was to determine if
> > the start-stop-daemon was fixed for a specific problem.
> >
> > It does not log the pid of telnetd.
> >
> > start-stop-daemon --start --quiet --pidfile /var/run/telnetd.pid
> > --exec /usr/sbin/telnetd
> >
> > It does this for all the other programs but not telnetd
>
> Telnetd happens to fork itself into the background.  (fork() followed by
> another fork()).  Unfortunately, this prevents start-stop-daemon from
> storing the PID.  I thought about adding a --foreground option to telnetd to
> work around exactly this issue.
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
>



More information about the busybox mailing list