Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Hostname getting lost

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Hostname getting lost
  • Date: Thu, 22 Jan 2004 18:11:44 -0500

The grimoire has two conflicting versions of hostname. One of them is
stupid, the other is good. One is from coreutils, the other is from
net-tools. Try cast -c one, run hostname as a user, see if you get the
error, if so cast -c the other.

On Fri, 2004-01-23 at 06:47, Robin Sheat wrote:
> Hey there, sometimes when doing a system-update, something sets my
> hostname to either -a or -f. (so far, it's happened twice).
> I haven't got any clue what it is. My initial suspect would be dovecot,
> because the last sorcery log I had today was from ant, the problem
> upsets postfix. Dovecot was what was cast immediatly after ant.
>
> Just had a look in the dovecot build:
> robin@kallisti:/var/lib/sorcery/codex/test/mail/dovecot$ grep -r
> hostname *
> BUILD: HOSTNAME=`hostname -a`
> &&
> $ hostname --help
> Usage: hostname [NAME]
> or: hostname OPTION
> Print or set the hostname of the current system.
>
> --help display this help and exit
> --version output version information and exit
>
> Report bugs to <bug-coreutils AT gnu.org>.
> $ hostname -a
> hostname: cannot set hostname to `-a': Operation not permitted
>
> it seems that -a isn't really an option (even though the man page says
> it is).
--
De mortuis nihil nisi bonum.

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page