RE: [Bug 206610] Re: tftp service restart fails

2008-12-05 Thread David Featherstone
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
   71restart|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/000:00:00 tftp
feathers  3015 28822  0 10:55 pts/100:00:00 grep tft
$ ps -aef | grep ftp
root  2846 27782  0 10:53 pts/000:00:00 tftp
feathers  3055 28822  0 10:56 pts/100: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/000:00:00 tftp
feathers  3127 28822  0 10:57 pts/100: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/000: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/100: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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 206610] [NEW] tftp service restart fails

2008-03-25 Thread David Featherstone
Public bug reported:

$ 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
   71restart|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/000:00:00 tftp
feathers  3015 28822  0 10:55 pts/100:00:00 grep tft
$ ps -aef | grep ftp
root  2846 27782  0 10:53 pts/000:00:00 tftp
feathers  3055 28822  0 10:56 pts/100: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/000:00:00 tftp
feathers  3127 28822  0 10:57 pts/100: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/000: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/100:00:00 grep ftp

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 206193] [NEW] kernel compilation broken by -fno-omit-frame-pointer flag

2008-03-24 Thread David Featherstone
Public bug reported:

Binary package hint: linux-source-2.6.20

$ lsb_release -rd
Description: Ubuntu 7.04
Release: 7.04

DESCRIPTION
-
The compilation of $SRC_INSTALL/linux-source-2.6.20/ubuntu/misc/acerhk.c fails 
due to the presence of the -fno-omit-frame-pointer flag [i.e. builds fine with 
-fomit-frame-pointer]:

$ cd $SRC_INSTALL/linux-source-2.6.20
$ sudo make-kpkg --verbose --initrd --revision=oprof.1.0 kernel_image
o o o
gcc -m32 -Wp,-MD,ubuntu/misc/.acerhk.o.d  -nostdinc -isystem 
/usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include 
include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float 
-mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic 
-ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default 
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g  -fno-stack-protector 
-Wdeclaration-after-statement -Wno-pointer-sign   -DMODULE -DKBUILD_STR(s)=#s 
-DKBUILD_BASENAME=KBUILD_STR(acerhk)  -DKBUILD_MODNAME=KBUILD_STR(acerhk) 
-c -o ubuntu/misc/.tmp_acerhk.o ubuntu/misc/acerhk.c
ubuntu/misc/acerhk.c: In function ‘call_bios_52x’:
ubuntu/misc/acerhk.c:610: error: bp cannot be used in asm here

** Affects: linux-source-2.6.20 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
kernel compilation broken by -fno-omit-frame-pointer flag
https://bugs.launchpad.net/bugs/206193
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs