Message from discussion
Debian Squeeze AMI hostname.sh
Received: by 10.224.203.133 with SMTP id fi5mr612282qab.8.1331692669532;
Tue, 13 Mar 2012 19:37:49 -0700 (PDT)
X-BeenThere: ec2debian@googlegroups.com
Received: by 10.224.188.82 with SMTP id cz18ls2015009qab.1.gmail; Tue, 13 Mar
2012 19:37:48 -0700 (PDT)
Received: by 10.224.1.131 with SMTP id 3mr634339qaf.2.1331692668023;
Tue, 13 Mar 2012 19:37:48 -0700 (PDT)
Received: by 10.224.180.136 with SMTP id bu8msqab;
Tue, 13 Mar 2012 15:21:06 -0700 (PDT)
Received: by 10.52.71.18 with SMTP id q18mr45863vdu.14.1331677265828;
Tue, 13 Mar 2012 15:21:05 -0700 (PDT)
Date: Tue, 13 Mar 2012 15:21:05 -0700 (PDT)
From: Josh Kraemer <joshkrae...@gmail.com>
To: ec2debian@googlegroups.com
Message-ID: <8841346.447.1331677265363.JavaMail.geo-discussion-forums@vbcv13>
Subject: Debian Squeeze AMI hostname.sh
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_445_23567092.1331677265362"
------=_Part_445_23567092.1331677265362
Content-Type: multipart/alternative;
boundary="----=_Part_446_15614806.1331677265362"
------=_Part_446_15614806.1331677265362
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I'm using a Debian AMI that I built from scratch. Whether I use my own
Debian AMI or an existing published Debian AMI, I always notice the
following errors from the system console log when the instance boots:
hostname: the specified hostname is invalid
startpar: service(s) returned failure: hostname.sh ...
hostname.sh is an init.d script that Debian uses to set the hostname from
/etc/hostname, which doesn't exist and is not used in any Debian AMIs.
How can I disable or remove hostname.sh? I've tried to remove it, but then
I just get errors that hostname.sh could not be found, because it's
symlinked from somewhere else.
The above errors don't affect the operation of the instance, but it's just
annoying to seem them on each boot.
------=_Part_446_15614806.1331677265362
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I'm using a Debian AMI that I built from scratch. Whether I use my own Debian AMI or an existing published Debian AMI, I always notice the following errors from the system console log when the instance boots:<div><br></div>hostname: the specified hostname is invalid<div>startpar: service(s) returned failure: hostname.sh ... </div><div><br></div><div>hostname.sh is an init.d script that Debian uses to set the hostname from /etc/hostname, which doesn't exist and is not used in any Debian AMIs.</div><div><br></div><div>How can I disable or remove hostname.sh? I've tried to remove it, but then I just get errors that hostname.sh could not be found, because it's symlinked from somewhere else.</div><div><br></div><div>The above errors don't affect the operation of the instance, but it's just annoying to seem them on each boot.</div>
------=_Part_446_15614806.1331677265362--
------=_Part_445_23567092.1331677265362--