Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 23:39:35 -0700 (PDT)
From:      dburr@borg-cube.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dburr@borg-cube.com
Subject:   ports/26909: a2ps cannot handle long hostnames
Message-ID:  <200104280639.f3S6dZ098934@borg-cube.com>

next in thread | raw e-mail | index | archive | help

>Number:         26909
>Category:       ports
>Synopsis:       a2ps cannot handle long hostnames
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 27 23:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Donald Burr of Borg
>Release:        FreeBSD 4.3-RC i386
>Organization:
The Borg Cube - Resistance is Futile! http://www.borg-cube.com/
>Environment:
System: FreeBSD borg-cube.com 4.3-RC FreeBSD 4.3-RC #0: Tue Apr 17 01:17:06 PDT 2001 dburr@borg-cube.com:/usr/srctrees/RELENG_4/src/sys/compile/BORG-CUBE i386
a2ps port version: a2ps-letter-4.13

	
>Description:

If a2ps is run on a machine with a long hostname, it bombs out with a
"cannot allocate memory" error message.

	
>How-To-Repeat:

[dburr@scout:102 dburr]# hostname
scoutship.collective.borg-cube.com
[dburr@scout:103 dburr]# a2ps foo
a2ps: gethostname: Cannot allocate memory
[dburr@scout:104 dburr]# hostname scout.collective.borg-cube.com
[dburr@scout:105 dburr]# a2ps foo
a2ps: cannot open file `foo': No such file or directory
[foo (unprintable): ignored]
[No output produced]
[dburr@scout:106 dburr]# 

	
>Fix:
use a shorter hostname, put a CNAME in your DNS records so that the old
name still works.

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104280639.f3S6dZ098934>