Subject: molly-guard fails to get hostname
Package: molly-guard
Version: 0.4.4-2
Severity: important

*** Please type your report below this line ***

Hi

When I want execute "reboot" in an ssh session, molly-guard say:

W: molly-guard: SSH session detected!
hostname: Unknown host
W: aborting reboot due to 30-query-hostname exiting with code 1.

My temporary solution: edit the file /etc/molly-guard/run.d/30-query-hostname, line 46,

HOSTNAME="$(hostname --short)"

and replace by

HOSTNAME="$(hostname)"

Regards

   César Emilio Portela - Santa Fe, Argentina
   Jabber ID: [email protected]
   LUNIX S.R.L. Soluciones en GNU/Linux - http://www.lunix.com.ar

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages molly-guard depends on:
ii  procps                        1:3.2.7-11 /proc file system utilities

molly-guard recommends no packages.

molly-guard suggests no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to