Bug#548099: broken on kfreebsd

2012-02-21 Thread Ludovico Gardenghi
On Tue, Feb 21, 2012 at 15:53:34 +0100, martin f krafft wrote: > > It seems reasonable to me to try to climb up the process tree until we > > meet a process with "sshd" in the command line (or, maybe better (?), > > with "sshd" in the proc//exe symlink). Still not the cleanest of the > > solutions

Bug#548099: broken on kfreebsd

2012-02-21 Thread martin f krafft
also sprach Ludovico Gardenghi [2012.02.19.1754 +0100]: > It seems reasonable to me to try to climb up the process tree until we > meet a process with "sshd" in the command line (or, maybe better (?), > with "sshd" in the proc//exe symlink). Still not the cleanest of the > solutions, but should be

Bug#548099: broken on kfreebsd

2012-02-19 Thread Ludovico Gardenghi
Hello, I was checking this bug during the Paris BSP which is taking place right now. What about throwing in another check like the following one in addition to the tty and SSH_CONNECTION ones? is_child_of_sshd() { pid=$$ ppid=$PPID # Walk up to init. while [ $pid -ne 1

Bug#548099: broken on kfreebsd

2010-09-11 Thread Luca Bruno
It is instead working fine on my kfreebsd-amd64, up-to-date sid: r...@europa:~# uname -sr GNU/kFreeBSD 8.1-1-amd64 r...@europa:~# dpkg -l | grep molly-guard ii molly-guard 0.4.4-2 r...@europa:~# halt W: molly-guard: SSH session detected! Please type in hostname of the machine to halt: ^

Bug#548099: broken on kfreebsd

2010-09-11 Thread Peter Palfrader
On Sat, 11 Sep 2010, martin f krafft wrote: > also sprach Peter Palfrader [2010.09.10.2046 +0200]: > > I applied this patch, but now mollyguard doesn't recognize my tty is > > from ssh. > > Please elaborate, I have no kfreebsd systems to test molly-guard on. > I mean, I can get an SSH shell and

Bug#548099: broken on kfreebsd

2010-09-10 Thread martin f krafft
also sprach Peter Palfrader [2010.09.10.2046 +0200]: > I applied this patch, but now mollyguard doesn't recognize my tty is > from ssh. Please elaborate, I have no kfreebsd systems to test molly-guard on. I mean, I can get an SSH shell and run it in test-mode, but I cannot test whether my changes

Bug#548099: broken on kfreebsd

2010-09-10 Thread Peter Palfrader
martin f krafft wrote: > This is fixed with > http://git.debian.org/?p=collab-maint/molly-guard.git;a=commitdiff;h=c2b07f7d79d67d953d8a66880c6c0dee71aaee04 I applied this patch, but now mollyguard doesn't recognize my tty is from ssh. -- | .''`. ** Debian GNU/Linux

Bug#548099: broken on kfreebsd

2010-01-31 Thread martin f krafft
tags 548099 tags moreinfo help thanks > on debian kfreebsd-*: > > | fano:~# shutdown -h 1 more ram > | W: aborting shutdown due to 30-query-hostname exiting with code 1. > | fano:~# > > At first glance I notice at least one linuxism in 30-query-hostname, > asking for /proc//fd/0. This is fixed

Bug#548099: broken on kfreebsd

2009-09-23 Thread Peter Palfrader
Package: molly-guard Version: 0.4.4-2 Severity: important Hi, on debian kfreebsd-*: | fano:~# shutdown -h 1 more ram | W: aborting shutdown due to 30-query-hostname exiting with code 1. | fano:~# At first glance I notice at least one linuxism in 30-query-hostname, asking for /proc//fd/0. Also