Skip to Content.
Sympa Menu

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

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Robin Sheat <robin AT kallisti.net.nz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Hostname getting lost
  • Date: Fri, 23 Jan 2004 11:47:37 +1300

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).

--
Robin <robin AT kallisti.net.nz> JabberID: <eythian AT jabber.org>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0x776DB663 Fingerprint=DD10 5C62 1E29 A385 9866 0853 CD38 E07A 776D
B663

Attachment: pgpRpMSVNrjYt.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page