The symptom/bug remains reproducible in 8.10.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel T Chen
Sent: Thursday, December 04, 2008 6:30 PM
To: [EMAIL PROTECTED]
Subject: [Bug 206610] Re: tftp service restart fails
Is this symptom still reproducible in 8.10 or 9.04?
** Changed in: tftp-hpa (Ubuntu)
Status: New => Incomplete
--
tftp service restart fails
https://bugs.launchpad.net/bugs/206610
You received this bug notification because you are a direct subscriber
of the bug.
Status in “tftp-hpa” source package in Ubuntu: Incomplete
Bug description:
$ sudo /etc/init.d/tftp-hpa restart # stops, but does not start the service
$ lsb_release -rd
Description: Ubuntu 7.04
Release: 7.04
As evidenced by the following terminal session, a restart of the tftpd-
hpa service does not [ever?] work. My investigation lead me to conclude
that the script's call to d_stop never returns; the script simply exits.
I fixed the problem on my platform [virtualized Ubuntu 7.04] by placing
the call to d_stop in a sub-shell:
$ cat -n /etc/init.d/tftpd-hpa
o o o
71 restart|force-reload)
72 #
73 # If the "reload" option is implemented, move the
"force-reload"
74 # option to the "reload" entry above. If not,
"force-reload" is
75 # just the same as "restart".
76 #
77 echo -n "Restarting $DESC: $NAME"
78 # d_stop # broken - exits script prematurely
79 ( d_stop ) # fixed - returns to call d_start
80 sleep 1
81 d_start
82 echo "."
83 ;;
o o o
... Dave
$ sudo /etc/init.d/tftpd-hpa restart
Password:
Restarting HPA's tftpd: in.tftpd~/omnitrol/latest/rx/mgmtserver $
$ ps -aef | grep tft
root 2846 27782 0 10:53 pts/0 00:00:00 tftp
feathers 3015 28822 0 10:55 pts/1 00:00:00 grep tft
$ ps -aef | grep ftp
root 2846 27782 0 10:53 pts/0 00:00:00 tftp
feathers 3055 28822 0 10:56 pts/1 00:00:00 grep ftp
$ sudo /etc/init.d/tftpd-hpa stop
Stopping HPA's tftpd: in.tftpd~/omnitrol/latest/rx/mgmtserver $
$ ps -aef | grep ftp
root 2846 27782 0 10:53 pts/0 00:00:00 tftp
feathers 3127 28822 0 10:57 pts/1 00:00:00 grep ftp
$ sudo /etc/init.d/tftpd-hpa start
Starting HPA's tftpd: in.tftpd.
$ ps -aef | grep ftp
root 2846 27782 0 10:53 pts/0 00:00:00 tftp
root 3140 1 0 10:57 ? 00:00:00 /usr/sbin/in.tftpd -a
192.168.112.101:8069 -c -l -u root -p -B 1024 -s /usr/local
feathers 3147 28822 0 10:57 pts/1 00:00:00 grep ftp
--
tftp service restart fails
https://bugs.launchpad.net/bugs/206610
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs