[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more glibc breakage on kfreebsd-amd64 (fix for screen)



Hi,

screen does't work due to 64bit AND non-linux.
With following fix it starts:

--- osdef.h.in~ 2006-03-15 16:53:47.000000000 +0100
+++ osdef.h.in  2006-03-15 16:53:47.000000000 +0100
@@ -107,6 +107,7 @@
 extern char *tgoto __P((char *, int, int));
 
 #ifdef POSIX
+#include <string.h>
 extern int   setsid __P((void));
 extern int   setpgid __P((int, int));
 extern int   tcsetpgrp __P((int, int));

Can you please test it more ?


> > I have working sshd in kfreebsd-amd64 under qemu,
>
> Btw, were you affected by #356929 ?

No, but I am using qemu 8.0.


> Ah, that EBADF is the same error we see during startup (on i386 too):
> 
> /lib/init/mount-functions.sh: line 108: 0: Bad file descriptor
> /etc/rcS.d/S10checkroot.sh: line 41: 0: Bad file descriptor

Yes, and it is very strange - descriptor 0 is stdin.
It looks like it have been closed or even 
not passed open by kernel to /sbin/init ...

Petr





Reply to: