Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
On 12/06/12 17:42, Guillem Jover wrote: > I don't think neither perl nor screen are using libbsd-dev, though? Hmmm I see. Perl doesn't detect the setproctitle stub (because it isn't including bsd/unistd.h I guess; I think it would need to start doing so if an implementation became available) : > setproctitle() NOT found. and it can't find prctl (Linux) either: > prctl() NOT found. This leaves Perl_magic_set() in mg.c non-functional. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd787e7.7090...@pyro.eu.org
Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
On Tue, 2012-06-12 at 14:34:16 +0100, Steven Chamberlain wrote: > On 12/06/12 14:23, Axel Beckert wrote: > > But on kfreebsd this process renaming don't seem to work. This doesn't > > seem to be a screen issue but a general kfreebsd issue as the following > > works as expected on Linux, but not on kfreebsd: > > > > $ perl -e '$0 = "foobar!"; <>' > I recall that setproctitle was implemented as a no-op in libbsd. So > that is probably a known bug / unimplemented yet. I don't think neither perl nor screen are using libbsd-dev, though? regards, guillem -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120612164206.ga27...@gaara.hadrons.org
Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
Hi Steven, Steven Chamberlain wrote: > On 12/06/12 14:23, Axel Beckert wrote: > > But on kfreebsd this process renaming don't seem to work. This doesn't > > seem to be a screen issue but a general kfreebsd issue as the following > > works as expected on Linux, but not on kfreebsd: > > > > $ perl -e '$0 = "foobar!"; <>' > > I recall that setproctitle was implemented as a no-op in libbsd. So > that is probably a known bug / unimplemented yet. Thanks for the confirmation! Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120612134003.ga3...@sym.noone.org
Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
Hi, some more details: Axel Beckert wrote: > [...] on kfreebsd this process renaming don't seem to work. This doesn't > seem to be a screen issue but a general kfreebsd issue as the following > works as expected on Linux, but not on kfreebsd: > > $ perl -e '$0 = "foobar!"; <>' JFTR: hurd-i386 seems not to be affected, works as expected there, too. > Happened with kernel 8.2-1-686-smp which seems no more to be available. > Will test later if it still happens with current kernels and if so, file > a seperated bug report against some kfreebsd-image-* packages. According to lifeng on IRC the same happens with our 9.0 kernel, too. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120612133805.gz3...@sym.noone.org
Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
On 12/06/12 14:23, Axel Beckert wrote: > But on kfreebsd this process renaming don't seem to work. This doesn't > seem to be a screen issue but a general kfreebsd issue as the following > works as expected on Linux, but not on kfreebsd: > > $ perl -e '$0 = "foobar!"; <>' Hi Axel, I recall that setproctitle was implemented as a no-op in libbsd. So that is probably a known bug / unimplemented yet. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd74558.9050...@pyro.eu.org
Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
Package: screen Version: 4.1.0~20120320gitdb59704-2 Severity: serious User: debian-bsd@lists.debian.org Usertags: kfreebsd The implemented workaround for http://bugs.debian.org/644788 uses "pidof SCREEN" to detect running screen servers as screen server processes rename themselves in the process listing to "SCREEN". But on kfreebsd this process renaming don't seem to work. This doesn't seem to be a screen issue but a general kfreebsd issue as the following works as expected on Linux, but not on kfreebsd: $ perl -e '$0 = "foobar!"; <>' Happened with kernel 8.2-1-686-smp which seems no more to be available. Will test later if it still happens with current kernels and if so, file a seperated bug report against some kfreebsd-image-* packages. Planned workaround for the workaround is to also check for "pidof screen". At least that showed a running screen server on kfreebsd. Manual temporary workaround for the workaround is to downgrade to screen from testing or -- if e.g. apt/aptitude/dpkg is still running and a second apt/aptitude/dpkg is therefore not possible without killing apt/aptitude/dpkg -- to extract the screen binary from the package in testing and then use that one: # dget screen=4.0.3-14 # dpkg-deb -x screen_4.0.3-14_kfreebsd-*.deb screen-4.0.3 # screen-4.0.3/usr/bin/screen -rd Sorry for the inconvenience. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/878vfseka4@sym2.noone.org