Wrong FQDN after disconnected CD Install of precise beta1 - package postfix 2.8.7-1ubuntu2 failed to install/upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcfg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Summary: postfix fails to install due to wrong FQDN set during disconnect CD installation of precise beta1
Hi all,
last night I've reinstalled my laptop using the ubuntu-
-------
Setting up postfix (2.8.7-1ubuntu2) ...
Adding group `postfix' (GID 125) ...
Done.
Adding system user `postfix' (UID 115) ...
Adding new user `postfix' (UID 115) with group `postfix' ...
Not creating home directory `/var/spool/
Creating /etc/postfix/
Adding tcp map entry to /etc/postfix/
Adding group `postdrop' (GID 126) ...
Done.
setting myhostname: think.(null)
setting alias maps
setting alias database
changing /etc/mailname to think.frosty-
setting myorigin
setting destinations: think.frosty-
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:
setting mailbox_size_limit: 0
setting recipient_
setting inet_interfaces: loopback-only
setting default_transport: error
setting relay_transport: error
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.
Running newaliases
newaliases: warning: valid_hostname: invalid character 40(decimal): think.(null)
newaliases: fatal: file /etc/postfix/
dpkg: error processing postfix (--configure):
subprocess installed post-installation script returned error exit status 75
-------
-------
ralf@think:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 think.(null) think
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ralf@think:~$ hostname
think
ralf@think:~$ hostname -f
think.(null)
ralf@think:~$ cat /etc/mailname
think.frosty-
-------
-------
ralf@think:~$ cat /etc/postfix/
# See /usr/share/
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_
smtpd_tls_
smtpd_use_tls=yes
smtpd_tls_
smtp_tls_
# See /usr/share/
# information on enabling SSL in the smtp client.
myhostname = think.(null)
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = think.frosty-
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
default_transport = error
relay_transport = error
-------
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postfix 2.8.7-1ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 1.94.1-0ubuntu1
Architecture: amd64
Date: Fri Mar 9 10:11:50 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 75
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
SourcePackage: postfix
Title: package postfix 2.8.7-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu → postfix (Ubuntu) |
tags: | removed: need-duplicate-check |
affects: | debian-installer (Ubuntu) → netcfg (Ubuntu) |
Postfix failing to configure without a valid hostname is by design and not a bug. The installer is where this needs to be addressed.